Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDIBuilder.cpp32 : M(m), VMContext(M.getContext()), CUNode(CU), DeclareFn(nullptr), in DIBuilder()
35 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()
42 if (const auto &IMs = CUNode->getImportedEntities()) in DIBuilder()
44 if (const auto &MNs = CUNode->getMacros()) in DIBuilder()
80 if (!CUNode) { in finalize()
87 CUNode->replaceEnumTypes(MDTuple::get( in finalize()
102 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize()
[all …]
/openbsd-src/gnu/llvm/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.cpp1216 for (DICompileUnit *CUNode : M->debug_compile_units()) { in beginModule()
1221 CUNode->getImportedEntities(), [](const DIImportedEntity *IE) { in beginModule()
1225 if (!HasNonLocalImportedEntities && CUNode->getEnumTypes().empty() && in beginModule()
1226 CUNode->getRetainedTypes().empty() && in beginModule()
1227 CUNode->getGlobalVariables().empty() && CUNode->getMacros().empty()) in beginModule()
1230 DwarfCompileUnit &CU = getOrCreateDwarfCompileUnit(CUNode); in beginModule()
1233 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule()
1244 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule()
1250 for (auto *Ty : CUNode->getEnumTypes()) in beginModule()
1253 for (auto *Ty : CUNode->getRetainedTypes()) { in beginModule()
[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()
535 DD->addSubprogramNames(*CUNode, SP, *SPDie); in updateSubprogramScopeDIEImpl()
684 DD->addSubprogramNames(*CUNode, InlinedSP, *ScopeDIE); in constructInlinedScopeDIE()
1385 switch (CUNode->getNameTableKind()) { in hasDwarfPubSections()
1394 !CUNode->isDebugDirectivesOnly() && in hasDwarfPubSections()
H A DDwarfUnit.cpp85 : DIEUnit(UnitTag), CUNode(Node), Asm(A), DD(DW), DU(DWU) {} in DwarfUnit()
248 if (CUNode->isDebugDirectivesOnly()) in addString()
643 DD->addAccelType(*CUNode, Ty->getName(), TyDIE, Flags); in updateAcceleratorTables()
1115 DD->addAccelNamespace(*CUNode, Name, NDie); in getOrCreateNameSpace()
1243 !CUNode->getDebugInfoForProfiling(); in applySubprogramAttributes()
1442 DD->addAccelType(*CUNode, Name, *IndexTyDie, /*Flags*/ 0); in getIndexTyDie()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDIBuilder.h46 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenModule.cpp6876 llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu"); in EmitCoverageFile() local
6877 if (!CUNode) in EmitCoverageFile()
6886 for (int i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in EmitCoverageFile()
6887 llvm::MDNode *CU = CUNode->getOperand(i); in EmitCoverageFile()