Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp32 if (CUNode) { in DIBuilder()
33 if (const auto &ETs = CUNode->getEnumTypes()) in DIBuilder()
35 if (const auto &RTs = CUNode->getRetainedTypes()) in DIBuilder()
41 if (const auto &MNs = CUNode->getMacros()) in DIBuilder()
65 if (!CUNode) { in finalize()
72 CUNode->replaceEnumTypes(MDTuple::get( in finalize()
99 CUNode->replaceImportedEntities(MDTuple::get( in finalize()
148 CUNode = DICompileUnit::getDistinct( in createCompileUnit()
156 NMD->addOperand(CUNode); in createCompileUnit()
157 trackIfUnresolved(CUNode); in createCompileUnit()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp1192 if (CUNode->getImportedEntities().empty() && in beginModule()
1193 CUNode->getEnumTypes().empty() && CUNode->getRetainedTypes().empty() && in beginModule()
1194 CUNode->getGlobalVariables().empty() && CUNode->getMacros().empty()) in beginModule()
1217 for (auto *Ty : CUNode->getEnumTypes()) in beginModule()
1220 for (auto *Ty : CUNode->getRetainedTypes()) { in beginModule()
1356 auto *CUNode = cast<DICompileUnit>(P.first); in finalizeModuleInfo() local
1359 if (CUNode->getMacros()) { in finalizeModuleInfo()
1388 if (CUNode->getDWOId()) in finalizeModuleInfo()
1389 getOrCreateDwarfCompileUnit(CUNode); in finalizeModuleInfo()
3322 auto *CUNode = cast<DICompileUnit>(P.first); in emitDebugMacinfoImpl() local
[all …]
H A DDwarfUnit.h40 const DICompileUnit *CUNode; variable
110 uint16_t getLanguage() const { return CUNode->getSourceLanguage(); } in getLanguage()
111 const DICompileUnit *getCUNode() const { return CUNode; } in getCUNode()
H A DDwarfCompileUnit.cpp370 DD->addAccelName(*this, CUNode->getNameTableKind(), GV->getName(), in addLocationAttribute()
377 DD->addAccelName(*this, CUNode->getNameTableKind(), GV->getLinkageName(), in addLocationAttribute()
423 if (CUNode->isDebugDirectivesOnly()) in initStmtList()
566 DD->addSubprogramNames(*this, CUNode->getNameTableKind(), SP, *SPDie); in updateSubprogramScopeDIE()
715 DD->addSubprogramNames(*this, CUNode->getNameTableKind(), InlinedSP, in constructInlinedScopeDIE()
1364 DD->addAccelNamespace(*this, CUNode->getNameTableKind(), Name, *IMDie); in constructImportedEntityDIE()
1439 getDwarfDebug().addAccelName(*this, CUNode->getNameTableKind(), Name, *Die); in finishEntityDefinition()
1481 switch (CUNode->getNameTableKind()) { in hasDwarfPubSections()
1492 !CUNode->isDebugDirectivesOnly() && in hasDwarfPubSections()
H A DDwarfUnit.cpp85 : DIEUnit(UnitTag), UniqueID(UniqueID), CUNode(Node), Asm(A), DD(DW), in DwarfUnit()
248 if (CUNode->isDebugDirectivesOnly()) in addString()
643 DD->addAccelType(*this, CUNode->getNameTableKind(), Ty->getName(), TyDIE, in updateAcceleratorTables()
1116 DD->addAccelNamespace(*this, CUNode->getNameTableKind(), Name, NDie); in getOrCreateNameSpace()
1244 !CUNode->getDebugInfoForProfiling(); in applySubprogramAttributes()
1443 DD->addAccelType(*this, CUNode->getNameTableKind(), Name, *IndexTyDie, in getIndexTyDie()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp117 emitProfileNotes(NamedMDNode *CUNode, bool HasExecOrFork,
560 NamedMDNode *CUNode = M.getNamedMetadata("llvm.dbg.cu"); in runOnModule() local
561 if (!CUNode || (!Options.EmitNotes && !Options.EmitData)) in runOnModule()
568 emitProfileNotes(CUNode, HasExecOrFork, GetBFI, GetBPI, this->GetTLI); in runOnModule()
763 NamedMDNode *CUNode, bool HasExecOrFork, in emitProfileNotes() argument
777 for (unsigned i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in emitProfileNotes()
782 auto *CU = cast<DICompileUnit>(CUNode->getOperand(i)); in emitProfileNotes()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h46 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp7309 llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu"); in EmitCoverageFile() local
7310 if (!CUNode) in EmitCoverageFile()
7319 for (int i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in EmitCoverageFile()
7320 llvm::MDNode *CU = CUNode->getOperand(i); in EmitCoverageFile()