/external/llvm/lib/IR/ |
D | DIBuilder.cpp | 28 : 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-10.0/llvm/lib/IR/ |
D | DIBuilder.cpp | 35 : 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() 149 assert(!CUNode && "Can only make one compile unit per DIBuilder instance"); in createCompileUnit() 150 CUNode = DICompileUnit::getDistinct( in createCompileUnit() 158 NMD->addOperand(CUNode); in createCompileUnit() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 1006 for (DICompileUnit *CUNode : M->debug_compile_units()) { in beginModule() 1011 CUNode->getImportedEntities(), [](const DIImportedEntity *IE) { in beginModule() 1015 if (!HasNonLocalImportedEntities && CUNode->getEnumTypes().empty() && in beginModule() 1016 CUNode->getRetainedTypes().empty() && in beginModule() 1017 CUNode->getGlobalVariables().empty() && CUNode->getMacros().empty()) in beginModule() 1020 DwarfCompileUnit &CU = getOrCreateDwarfCompileUnit(CUNode); in beginModule() 1023 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule() 1033 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule() 1039 for (auto *Ty : CUNode->getEnumTypes()) { in beginModule() 1044 for (auto *Ty : CUNode->getRetainedTypes()) { in beginModule() [all …]
|
D | DwarfUnit.h | 43 const DICompileUnit *CUNode; 88 uint16_t getLanguage() const { return CUNode->getSourceLanguage(); } in getLanguage() 89 const DICompileUnit *getCUNode() const { return CUNode; } in getCUNode()
|
D | DwarfCompileUnit.cpp | 301 DD->addAccelName(*CUNode, GV->getName(), *VariableDIE); in addLocationAttribute() 307 DD->addAccelName(*CUNode, GV->getLinkageName(), *VariableDIE); in addLocationAttribute() 348 if (CUNode->isDebugDirectivesOnly()) in initStmtList() 417 DD->addSubprogramNames(*CUNode, SP, *SPDie); in updateSubprogramScopeDIE() 559 DD->addSubprogramNames(*CUNode, InlinedSP, *ScopeDIE); in constructInlinedScopeDIE() 1123 switch (CUNode->getNameTableKind()) { in hasDwarfPubSections() 1132 !CUNode->isDebugDirectivesOnly() && in hasDwarfPubSections()
|
D | DwarfUnit.cpp | 94 CUNode(Node), Asm(A), DD(DW), DU(DWU), IndexTyDie(nullptr) { in DwarfUnit() 260 if (CUNode->isDebugDirectivesOnly()) in addString() 717 DD->addAccelType(*CUNode, Ty->getName(), TyDIE, Flags); in updateAcceleratorTables() 1101 DD->addAccelNamespace(*CUNode, Name, NDie); in getOrCreateNameSpace() 1212 !CUNode->getDebugInfoForProfiling(); in applySubprogramAttributes() 1362 DD->addAccelType(*CUNode, Name, *IndexTyDie, /*Flags*/ 0); in getIndexTyDie()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfUnit.h | 71 const DICompileUnit *CUNode; 124 uint16_t getLanguage() const { return CUNode->getSourceLanguage(); } in getLanguage() 125 const DICompileUnit *getCUNode() const { return CUNode; } in getCUNode()
|
D | DwarfDebug.cpp | 479 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 …]
|
D | DwarfUnit.cpp | 68 : CUNode(Node), UnitDie(*DIE::get(DIEValueAllocator, UnitTag)), Asm(A), in DwarfUnit()
|
/external/llvm/include/llvm/IR/ |
D | DIBuilder.h | 38 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DIBuilder.h | 45 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 4157 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()
|