Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/IR/
H A DDIBuilder.cpp35 if (CUNode) { in DIBuilder()
36 if (const auto &ETs = CUNode->getEnumTypes()) in DIBuilder()
38 if (const auto &RTs = CUNode->getRetainedTypes()) in DIBuilder()
40 if (const auto &GVs = CUNode->getGlobalVariables()) in DIBuilder()
44 if (const auto &MNs = CUNode->getMacros()) in DIBuilder()
80 if (!CUNode) { in finalize()
113 CUNode->replaceImportedEntities(MDTuple::get( in finalize()
162 CUNode = DICompileUnit::getDistinct( in createCompileUnit()
170 NMD->addOperand(CUNode); in createCompileUnit()
171 trackIfUnresolved(CUNode); in createCompileUnit()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h38 const DICompileUnit *CUNode;
98 uint16_t getLanguage() const { return CUNode->getSourceLanguage(); } in getLanguage()
99 const DICompileUnit *getCUNode() const { return CUNode; } in getCUNode()
H A DDwarfDebug.cpp1200 CUNode->getRetainedTypes().empty() && in beginModule()
1201 CUNode->getGlobalVariables().empty() && CUNode->getMacros().empty()) in beginModule()
1224 for (auto *Ty : CUNode->getEnumTypes()) in beginModule()
1227 for (auto *Ty : CUNode->getRetainedTypes()) { in beginModule()
1236 for (auto *IE : CUNode->getImportedEntities()) in beginModule()
1362 auto *CUNode = cast<DICompileUnit>(P.first); in finalizeModuleInfo() local
1365 if (CUNode->getMacros()) { in finalizeModuleInfo()
1394 if (CUNode->getDWOId()) in finalizeModuleInfo()
1395 getOrCreateDwarfCompileUnit(CUNode); in finalizeModuleInfo()
3242 auto *CUNode = cast<DICompileUnit>(P.first); in emitDebugMacinfoImpl() local
[all …]
H A DDwarfCompileUnit.cpp352 DD->addAccelName(*CUNode, GV->getName(), *VariableDIE); in addLocationAttribute()
358 DD->addAccelName(*CUNode, GV->getLinkageName(), *VariableDIE); in addLocationAttribute()
403 if (CUNode->isDebugDirectivesOnly()) in initStmtList()
530 DD->addSubprogramNames(*CUNode, SP, *SPDie); in updateSubprogramScopeDIE()
682 DD->addSubprogramNames(*CUNode, InlinedSP, *ScopeDIE); in constructInlinedScopeDIE()
1380 switch (CUNode->getNameTableKind()) { in hasDwarfPubSections()
1389 !CUNode->isDebugDirectivesOnly() && in hasDwarfPubSections()
H A DDwarfUnit.cpp86 : DIEUnit(UnitTag), CUNode(Node), Asm(A), DD(DW), DU(DWU) {} in DwarfUnit()
249 if (CUNode->isDebugDirectivesOnly()) in addString()
644 DD->addAccelType(*CUNode, Ty->getName(), TyDIE, Flags); in updateAcceleratorTables()
1114 DD->addAccelNamespace(*CUNode, Name, NDie); in getOrCreateNameSpace()
1242 !CUNode->getDebugInfoForProfiling(); in applySubprogramAttributes()
1444 DD->addAccelType(*CUNode, Name, *IndexTyDie, /*Flags*/ 0); in getIndexTyDie()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp117 emitProfileNotes(NamedMDNode *CUNode, bool HasExecOrFork,
559 NamedMDNode *CUNode = M.getNamedMetadata("llvm.dbg.cu"); in runOnModule() local
560 if (!CUNode || (!Options.EmitNotes && !Options.EmitData)) in runOnModule()
567 emitProfileNotes(CUNode, HasExecOrFork, GetBFI, GetBPI, this->GetTLI); in runOnModule()
759 NamedMDNode *CUNode, bool HasExecOrFork, in emitProfileNotes() argument
773 for (unsigned i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in emitProfileNotes()
778 auto *CU = cast<DICompileUnit>(CUNode->getOperand(i)); in emitProfileNotes()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDIBuilder.h45 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp6668 llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu"); in EmitCoverageFile() local
6669 if (!CUNode) in EmitCoverageFile()
6678 for (int i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in EmitCoverageFile()
6679 llvm::MDNode *CU = CUNode->getOperand(i); in EmitCoverageFile()