Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
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 …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h40 const DICompileUnit *CUNode;
100 uint16_t getLanguage() const { return CUNode->getSourceLanguage(); } in getLanguage()
101 const DICompileUnit *getCUNode() const { return CUNode; } in getCUNode()
DDwarfDebug.cpp1198 for (DICompileUnit *CUNode : M->debug_compile_units()) { in beginModule()
1203 CUNode->getImportedEntities(), [](const DIImportedEntity *IE) { in beginModule()
1207 if (!HasNonLocalImportedEntities && CUNode->getEnumTypes().empty() && in beginModule()
1208 CUNode->getRetainedTypes().empty() && in beginModule()
1209 CUNode->getGlobalVariables().empty() && CUNode->getMacros().empty()) in beginModule()
1212 DwarfCompileUnit &CU = getOrCreateDwarfCompileUnit(CUNode); in beginModule()
1215 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule()
1226 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule()
1232 for (auto *Ty : CUNode->getEnumTypes()) { in beginModule()
1237 for (auto *Ty : CUNode->getRetainedTypes()) { in beginModule()
[all …]
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()
1358 switch (CUNode->getNameTableKind()) { in hasDwarfPubSections()
1367 !CUNode->isDebugDirectivesOnly() && in hasDwarfPubSections()
DDwarfUnit.cpp92 : DIEUnit(UnitTag), CUNode(Node), Asm(A), DD(DW), DU(DWU), in DwarfUnit()
256 if (CUNode->isDebugDirectivesOnly()) in addString()
639 DD->addAccelType(*CUNode, Ty->getName(), TyDIE, Flags); in updateAcceleratorTables()
1063 DD->addAccelNamespace(*CUNode, Name, NDie); in getOrCreateNameSpace()
1191 !CUNode->getDebugInfoForProfiling(); in applySubprogramAttributes()
1395 DD->addAccelType(*CUNode, Name, *IndexTyDie, /*Flags*/ 0); in getIndexTyDie()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
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()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DDIBuilder.h45 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp6182 llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu"); in EmitCoverageFile() local
6183 if (!CUNode) in EmitCoverageFile()
6192 for (int i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in EmitCoverageFile()
6193 llvm::MDNode *CU = CUNode->getOperand(i); in EmitCoverageFile()