Home
last modified time | relevance | path

Searched refs:DIMacroFile (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DMacroPPCallbacks.h19 class DIMacroFile; variable
51 llvm::SmallVector<llvm::DIMacroFile *, 4> Scopes;
55 llvm::DIMacroFile *getCurrentScope();
H A DMacroPPCallbacks.cpp76 llvm::DIMacroFile *MacroPPCallbacks::getCurrentScope() { in getCurrentScope()
H A DCGDebugInfo.h571 llvm::DIMacro *CreateMacro(llvm::DIMacroFile *Parent, unsigned MType,
576 llvm::DIMacroFile *CreateTempMacroFile(llvm::DIMacroFile *Parent,
/llvm-project-15.0.7/llvm/test/DebugInfo/
H A Dmacro_link.ll3 ; This test checks that DIMacro and DIMacroFile comaprison works correctly.
11 ; CHECK: [[MF1]] = !DIMacroFile(
26 !4 = !DIMacroFile(line: 0, file: !1, nodes: !5)
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Ddebug-macro-gnu.ll34 !4 = !DIMacroFile(file: !1, nodes: !5)
36 !6 = !DIMacroFile(line: 1, file: !7, nodes: !8)
40 !10 = !DIMacroFile(line: 2, file: !11, nodes: !12)
H A Ddebug-macro-v5.ll35 !4 = !DIMacroFile(file: !1, nodes: !5)
37 !6 = !DIMacroFile(line: 1, file: !7, nodes: !8)
41 !10 = !DIMacroFile(line: 2, file: !11, nodes: !12)
H A Ddebug-macro-gnu-dwo.ll37 !4 = !DIMacroFile(file: !1, nodes: !5)
39 !6 = !DIMacroFile(line: 1, file: !7, nodes: !8)
43 !10 = !DIMacroFile(line: 2, file: !11, nodes: !12)
H A Ddebug-macro.ll50 !5 = !DIMacroFile(line: 0, file: !1, nodes: !6)
52 !7 = !DIMacroFile(line: 9, file: !8, nodes: !9)
66 !19 = !DIMacroFile(line: 0, file: !17, nodes: !2)
H A Ddebug-macro-dwo.ll46 !4 = !DIMacroFile(file: !1, nodes: !5)
48 !6 = !DIMacroFile(line: 1, file: !7, nodes: !8)
52 !10 = !DIMacroFile(line: 2, file: !11, nodes: !12)
H A Ddebug-macinfo-split-dwarf.ll51 !4 = !DIMacroFile(file: !1, nodes: !5)
53 !6 = !DIMacroFile(line: 1, file: !7, nodes: !8)
57 !10 = !DIMacroFile(line: 2, file: !11, nodes: !12)
H A Ddebug-macro-dwarf64.ll45 !4 = !DIMacroFile(file: !1, nodes: !5)
/llvm-project-15.0.7/llvm/test/Assembler/
H A DDIMacroFile.ll15 ; CHECK: !3 = !DIMacroFile(file: !1, nodes: !4)
16 !3 = !DIMacroFile(line: 0, file: !1, nodes: !4)
H A Ddebug-info.ll76 ; CHECK-NEXT: !30 = !DIMacroFile(line: 9, file: !12, nodes: !29)
77 ; CHECK-NEXT: !31 = !DIMacroFile(line: 11, file: !12)
80 !33 = !DIMacroFile(line: 9, file: !14, nodes: !32)
81 !34 = !DIMacroFile(type: DW_MACINFO_start_file, line: 11, file: !14)
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDIBuilder.h185 DIMacro *createMacro(DIMacroFile *Parent, unsigned Line, unsigned MacroType,
194 DIMacroFile *createTempMacroFile(DIMacroFile *Parent, unsigned Line,
H A DMetadata.def115 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacroFile)
H A DDebugInfoMetadata.h3499 class DIMacroFile : public DIMacroNode {
3505 DIMacroFile(LLVMContext &C, StorageType Storage, unsigned MIType,
3508 ~DIMacroFile() = default;
3510 static DIMacroFile *getImpl(LLVMContext &Context, unsigned MIType,
3518 static DIMacroFile *getImpl(LLVMContext &Context, unsigned MIType,
3528 DEFINE_MDNODE_GET(DIMacroFile,
3532 DEFINE_MDNODE_GET(DIMacroFile,
/llvm-project-15.0.7/llvm/lib/IR/
H A DDIBuilder.cpp124 auto *TMF = cast<DIMacroFile>(I.first); in finalize()
125 auto *MF = DIMacroFile::get(VMContext, dwarf::DW_MACINFO_start_file, in finalize()
235 DIMacro *DIBuilder::createMacro(DIMacroFile *Parent, unsigned LineNumber, in createMacro()
247 DIMacroFile *DIBuilder::createTempMacroFile(DIMacroFile *Parent, in createTempMacroFile()
249 auto *MF = DIMacroFile::getTemporary(VMContext, dwarf::DW_MACINFO_start_file, in createTempMacroFile()
H A DDebugInfoMetadata.cpp1784 DIMacroFile *DIMacroFile::getImpl(LLVMContext &Context, unsigned MIType, in getImpl()
1788 DEFINE_GETIMPL_LOOKUP(DIMacroFile, (MIType, Line, File, Elements)); in getImpl()
1790 DEFINE_GETIMPL_STORE(DIMacroFile, (MIType, Line), Ops); in getImpl()
H A DLLVMContextImpl.h1230 template <> struct MDNodeKeyImpl<DIMacroFile> {
1239 MDNodeKeyImpl(const DIMacroFile *N)
1243 bool isKeyOf(const DIMacroFile *RHS) const {
H A DDebugInfo.cpp1104 unwrap(Builder)->createMacro(unwrapDI<DIMacroFile>(ParentMacroFile), Line, in LLVMDIBuilderCreateMacro()
1114 unwrapDI<DIMacroFile>(ParentMacroFile), Line, unwrapDI<DIFile>(File))); in LLVMDIBuilderCreateTempMacroFile()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h550 void emitMacroFile(DIMacroFile &F, DwarfCompileUnit &U);
551 void emitMacroFileImpl(DIMacroFile &F, DwarfCompileUnit &U,
H A DDwarfDebug.cpp3153 else if (auto *F = dyn_cast<DIMacroFile>(MN)) in handleMacroNodes()
3204 DIMacroFile &MF, DwarfCompileUnit &U, unsigned StartFile, unsigned EndFile, in emitMacroFileImpl()
3224 void DwarfDebug::emitMacroFile(DIMacroFile &F, DwarfCompileUnit &U) { in emitMacroFile()
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Ddebuginfo-cu-import.ll64 !22 = !DIMacroFile(file: !1, nodes: !23)
/llvm-project-15.0.7/llvm/test/Bindings/llvm-c/
H A Ddebug_info.ll51 ; CHECK-NEXT: !24 = !DIMacroFile(file: !1, nodes: !25)
/llvm-project-15.0.7/llvm/unittests/IR/
H A DIRBuilderTest.cpp1085 auto MF2 = DIMacroFile::get(Ctx, dwarf::DW_MACINFO_start_file, 5, File2, in TEST_F()
1092 auto MF1 = DIMacroFile::get(Ctx, dwarf::DW_MACINFO_start_file, 0, File1, in TEST_F()

12