Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp28 : M(m), VMContext(M.getContext()), CUNode(CU), in DIBuilder()
30 if (CUNode) { in DIBuilder()
31 if (const auto &ETs = CUNode->getEnumTypes()) in DIBuilder()
33 if (const auto &RTs = CUNode->getRetainedTypes()) in DIBuilder()
35 if (const auto &GVs = CUNode->getGlobalVariables()) in DIBuilder()
37 if (const auto &IMs = CUNode->getImportedEntities()) in DIBuilder()
39 if (const auto &MNs = CUNode->getMacros()) in DIBuilder()
63 if (!CUNode) { in finalize()
70 CUNode->replaceEnumTypes(MDTuple::get( in finalize()
85 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
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 DDwarfDebug.cpp1198 for (DICompileUnit *CUNode : M->debug_compile_units()) { in beginModule()
1199 if (CUNode->getImportedEntities().empty() && in beginModule()
1200 CUNode->getEnumTypes().empty() && CUNode->getRetainedTypes().empty() && in beginModule()
1201 CUNode->getGlobalVariables().empty() && CUNode->getMacros().empty()) in beginModule()
1204 DwarfCompileUnit &CU = getOrCreateDwarfCompileUnit(CUNode); in beginModule()
1207 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule()
1218 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule()
1224 for (auto *Ty : CUNode->getEnumTypes()) in beginModule()
1227 for (auto *Ty : CUNode->getRetainedTypes()) { in beginModule()
1366 auto *CUNode = cast<DICompileUnit>(P.first); in finalizeModuleInfo() local
[all …]
H A DDwarfCompileUnit.cpp409 DD->addAccelName(*this, CUNode->getNameTableKind(), GV->getName(), in addLocationAttribute()
416 DD->addAccelName(*this, CUNode->getNameTableKind(), GV->getLinkageName(), in addLocationAttribute()
462 if (CUNode->isDebugDirectivesOnly()) in initStmtList()
612 DD->addSubprogramNames(*this, CUNode->getNameTableKind(), SP, *SPDie); in updateSubprogramScopeDIE()
761 DD->addSubprogramNames(*this, CUNode->getNameTableKind(), InlinedSP, in constructInlinedScopeDIE()
1418 DD->addAccelNamespace(*this, CUNode->getNameTableKind(), Name, *IMDie); in constructImportedEntityDIE()
1493 getDwarfDebug().addAccelName(*this, CUNode->getNameTableKind(), Name, *Die); in finishEntityDefinition()
1548 switch (CUNode->getNameTableKind()) { in hasDwarfPubSections()
1559 !CUNode->isDebugDirectivesOnly() && in hasDwarfPubSections()
H A DDwarfUnit.cpp86 : DIEUnit(UnitTag), UniqueID(UniqueID), CUNode(Node), Asm(A), DD(DW), in DwarfUnit()
285 if (CUNode->isDebugDirectivesOnly()) in addString()
682 DD->addAccelType(*this, CUNode->getNameTableKind(), Ty->getName(), TyDIE, in updateAcceleratorTables()
688 DD->addAccelType(*this, CUNode->getNameTableKind(), CT->getIdentifier(), in updateAcceleratorTables()
1300 DD->addAccelNamespace(*this, CUNode->getNameTableKind(), Name, NDie); in getOrCreateNameSpace()
1428 !CUNode->getDebugInfoForProfiling(); in applySubprogramAttributes()
1702 DD->addAccelType(*this, CUNode->getNameTableKind(), Name, *IndexTyDie, in getIndexTyDie()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp117 emitProfileNotes(NamedMDNode *CUNode, bool HasExecOrFork,
542 NamedMDNode *CUNode = M.getNamedMetadata("llvm.dbg.cu"); in runOnModule() local
543 if (!CUNode || (!Options.EmitNotes && !Options.EmitData)) in runOnModule()
550 emitProfileNotes(CUNode, HasExecOrFork, GetBFI, GetBPI, this->GetTLI); in runOnModule()
741 NamedMDNode *CUNode, bool HasExecOrFork, in emitProfileNotes() argument
759 for (unsigned i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in emitProfileNotes()
764 auto *CU = cast<DICompileUnit>(CUNode->getOperand(i)); in emitProfileNotes()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h50 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp7791 llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu"); in EmitCoverageFile() local
7792 if (!CUNode) in EmitCoverageFile()
7801 for (int i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in EmitCoverageFile()
7802 llvm::MDNode *CU = CUNode->getOperand(i); in EmitCoverageFile()