Home
last modified time | relevance | path

Searched refs:CUNode (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/IR/
DDIBuilder.cpp28 : M(m), VMContext(M.getContext()), CUNode(nullptr), in DIBuilder()
43 if (!CUNode) { in finalize()
49 CUNode->replaceEnumTypes(MDTuple::get(VMContext, AllEnumTypes)); in finalize()
62 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize()
86 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); in finalize()
89 CUNode->replaceImportedEntities(MDTuple::get( in finalize()
122 assert(!CUNode && "Can only make one compile unit per DIBuilder instance"); in createCompileUnit()
123 CUNode = DICompileUnit::getDistinct( in createCompileUnit()
130 NMD->addOperand(CUNode); in createCompileUnit()
131 trackIfUnresolved(CUNode); in createCompileUnit()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDIBuilder.cpp35 : M(m), VMContext(M.getContext()), CUNode(CU), in DIBuilder()
70 if (!CUNode) { in finalize()
76 CUNode->replaceEnumTypes(MDTuple::get(VMContext, AllEnumTypes)); in finalize()
89 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize()
99 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); in finalize()
102 CUNode->replaceImportedEntities(MDTuple::get( in finalize()
109 CUNode->replaceMacros(MDTuple::get(VMContext, I.second.getArrayRef())); in finalize()
148 assert(!CUNode && "Can only make one compile unit per DIBuilder instance"); in createCompileUnit()
149 CUNode = DICompileUnit::getDistinct( in createCompileUnit()
156 NMD->addOperand(CUNode); in createCompileUnit()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp679 for (DICompileUnit *CUNode : M->debug_compile_units()) { in beginModule()
684 CUNode->getImportedEntities(), [](const DIImportedEntity *IE) { in beginModule()
688 if (!HasNonLocalImportedEntities && CUNode->getEnumTypes().empty() && in beginModule()
689 CUNode->getRetainedTypes().empty() && in beginModule()
690 CUNode->getGlobalVariables().empty() && CUNode->getMacros().empty()) in beginModule()
693 DwarfCompileUnit &CU = getOrCreateDwarfCompileUnit(CUNode); in beginModule()
696 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule()
706 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule()
712 for (auto *Ty : CUNode->getEnumTypes()) { in beginModule()
717 for (auto *Ty : CUNode->getRetainedTypes()) { in beginModule()
[all …]
DDwarfUnit.h71 const DICompileUnit *CUNode;
112 uint16_t getLanguage() const { return CUNode->getSourceLanguage(); } in getLanguage()
113 const DICompileUnit *getCUNode() const { return CUNode; } in getCUNode()
DDwarfUnit.cpp75 CUNode(Node), Asm(A), DD(DW), DU(DWU), IndexTyDie(nullptr) { in DwarfUnit()
1268 !CUNode->getDebugInfoForProfiling(); in applySubprogramAttributes()
DDwarfCompileUnit.cpp881 if (CUNode->getGnuPubnames()) in hasDwarfPubSections()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h71 const DICompileUnit *CUNode;
124 uint16_t getLanguage() const { return CUNode->getSourceLanguage(); } in getLanguage()
125 const DICompileUnit *getCUNode() const { return CUNode; } in getCUNode()
DDwarfDebug.cpp479 for (DICompileUnit *CUNode : M->debug_compile_units()) { in beginModule()
480 DwarfCompileUnit &CU = constructDwarfCompileUnit(CUNode); in beginModule()
481 for (auto *IE : CUNode->getImportedEntities()) in beginModule()
483 for (auto *GV : CUNode->getGlobalVariables()) in beginModule()
485 for (auto *Ty : CUNode->getEnumTypes()) { in beginModule()
490 for (auto *Ty : CUNode->getRetainedTypes()) { in beginModule()
500 for (auto *IE : CUNode->getImportedEntities()) in beginModule()
594 auto *CUNode = cast<DICompileUnit>(P.first); in finalizeModuleInfo() local
596 if (CUNode->getMacros()) in finalizeModuleInfo()
1779 auto *CUNode = cast<DICompileUnit>(P.first); in emitDebugMacinfo() local
[all …]
DDwarfUnit.cpp68 : CUNode(Node), UnitDie(*DIE::get(DIEValueAllocator, UnitTag)), Asm(A), in DwarfUnit()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp623 DICompileUnit CUNode(CU_Nodes->getOperand(i)); in beginModule() local
624 CompileUnit *CU = constructCompileUnit(CUNode); in beginModule()
625 DIArray GVs = CUNode.getGlobalVariables(); in beginModule()
628 DIArray SPs = CUNode.getSubprograms(); in beginModule()
631 DIArray EnumTypes = CUNode.getEnumTypes(); in beginModule()
634 DIArray RetainedTypes = CUNode.getRetainedTypes(); in beginModule()
/external/llvm/include/llvm/IR/
DDIBuilder.h38 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDIBuilder.h46 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
/external/clang/lib/CodeGen/
DCodeGenModule.cpp4157 if (llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu")) { in EmitCoverageFile() local
4162 for (int i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in EmitCoverageFile()
4163 llvm::MDNode *CU = CUNode->getOperand(i); in EmitCoverageFile()