|
LLVM 24.0.0git
|
#include "SPIRVNonSemanticDebugHandler.h"#include "MCTargetDesc/SPIRVMCTargetDesc.h"#include "SPIRVSubtarget.h"#include "SPIRVUtils.h"#include "llvm/ADT/SetVector.h"#include "llvm/ADT/SmallVectorExtras.h"#include "llvm/ADT/Twine.h"#include "llvm/BinaryFormat/Dwarf.h"#include "llvm/CodeGen/AsmPrinter.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/IR/DebugInfo.h"#include "llvm/IR/DebugInfoMetadata.h"#include "llvm/IR/DebugProgramInstruction.h"#include "llvm/IR/GlobalVariable.h"#include "llvm/IR/InstIterator.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Module.h"#include "llvm/MC/MCInst.h"#include "llvm/MC/MCStreamer.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/Path.h"#include <cassert>Go to the source code of this file.
Functions | |
| static void | collectUniqueDebugLocations (const Module &M, SetVector< const DILocation * > &Out) |
| static bool | isMergeInstruction (unsigned Opcode) |
| static bool | isDebugLineTarget (const MachineInstr *MI, SPIRV::ModuleAnalysisInfo &MAI) |
| static const MachineInstr * | findAdjacentEmittedInstruction (const MachineInstr *MI, SPIRV::ModuleAnalysisInfo &MAI, bool Forward) |
|
static |
Definition at line 264 of file SPIRVNonSemanticDebugHandler.cpp.
References DL, F, I, llvm::SetVector< T, Vector, Set, N >::insert(), and instructions.
Referenced by llvm::SPIRVNonSemanticDebugHandler::beginModule().
|
static |
Definition at line 1218 of file SPIRVNonSemanticDebugHandler.cpp.
References llvm::SPIRV::ModuleAnalysisInfo::getSkipEmission(), and MI.
|
static |
Definition at line 1201 of file SPIRVNonSemanticDebugHandler.cpp.
References llvm::SPIRV::ModuleAnalysisInfo::getSkipEmission(), and MI.
Definition at line 1196 of file SPIRVNonSemanticDebugHandler.cpp.