Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDIBuilder.cpp35 : 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()
150 assert(!CUNode && "Can only make one compile unit per DIBuilder instance"); in createCompileUnit()
151 CUNode = DICompileUnit::getDistinct( in createCompileUnit()
159 NMD->addOperand(CUNode); in createCompileUnit()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h40 const DICompileUnit *CUNode;
100 uint16_t getLanguage() const { return CUNode->getSourceLanguage(); } in getLanguage()
101 const DICompileUnit *getCUNode() const { return CUNode; } in getCUNode()
H A DDwarfDebug.cpp1211 for (DICompileUnit *CUNode : M->debug_compile_units()) { in beginModule()
1216 CUNode->getImportedEntities(), [](const DIImportedEntity *IE) { in beginModule()
1220 if (!HasNonLocalImportedEntities && CUNode->getEnumTypes().empty() && in beginModule()
1221 CUNode->getRetainedTypes().empty() && in beginModule()
1222 CUNode->getGlobalVariables().empty() && CUNode->getMacros().empty()) in beginModule()
1225 DwarfCompileUnit &CU = getOrCreateDwarfCompileUnit(CUNode); in beginModule()
1228 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule()
1238 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule()
1244 for (auto *Ty : CUNode->getEnumTypes()) { in beginModule()
1249 for (auto *Ty : CUNode->getRetainedTypes()) { in beginModule()
[all …]
H A DDwarfCompileUnit.cpp322 DD->addAccelName(*CUNode, GV->getName(), *VariableDIE); in addLocationAttribute()
328 DD->addAccelName(*CUNode, GV->getLinkageName(), *VariableDIE); in addLocationAttribute()
371 if (CUNode->isDebugDirectivesOnly()) in initStmtList()
499 DD->addSubprogramNames(*CUNode, SP, *SPDie); in updateSubprogramScopeDIE()
670 DD->addSubprogramNames(*CUNode, InlinedSP, *ScopeDIE); in constructInlinedScopeDIE()
1348 switch (CUNode->getNameTableKind()) { in hasDwarfPubSections()
1357 !CUNode->isDebugDirectivesOnly() && in hasDwarfPubSections()
H A DDwarfUnit.cpp92 : DIEUnit(UnitTag), CUNode(Node), Asm(A), DD(DW), DU(DWU), in DwarfUnit()
255 if (CUNode->isDebugDirectivesOnly()) in addString()
638 DD->addAccelType(*CUNode, Ty->getName(), TyDIE, Flags); in updateAcceleratorTables()
1059 DD->addAccelNamespace(*CUNode, Name, NDie); in getOrCreateNameSpace()
1185 !CUNode->getDebugInfoForProfiling(); in applySubprogramAttributes()
1389 DD->addAccelType(*CUNode, Name, *IndexTyDie, /*Flags*/ 0); in getIndexTyDie()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp123 emitProfileNotes(NamedMDNode *CUNode, bool HasExecOrFork,
613 NamedMDNode *CUNode = M.getNamedMetadata("llvm.dbg.cu"); in runOnModule() local
614 if (!CUNode || (!Options.EmitNotes && !Options.EmitData)) in runOnModule()
621 emitProfileNotes(CUNode, HasExecOrFork, GetBFI, GetBPI, this->GetTLI); in runOnModule()
813 NamedMDNode *CUNode, bool HasExecOrFork, in emitProfileNotes() argument
827 for (unsigned i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in emitProfileNotes()
832 auto *CU = cast<DICompileUnit>(CUNode->getOperand(i)); in emitProfileNotes()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDIBuilder.h45 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp6148 llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu"); in EmitCoverageFile() local
6149 if (!CUNode) in EmitCoverageFile()
6158 for (int i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in EmitCoverageFile()
6159 llvm::MDNode *CU = CUNode->getOperand(i); in EmitCoverageFile()