/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DIBuilder.cpp | 29 : M(m), VMContext(M.getContext()), CUNode(CU), DeclareFn(nullptr), in DIBuilder() 32 if (CUNode) { in DIBuilder() 33 if (const auto &ETs = CUNode->getEnumTypes()) in DIBuilder() 35 if (const auto &RTs = CUNode->getRetainedTypes()) in DIBuilder() 37 if (const auto &GVs = CUNode->getGlobalVariables()) in DIBuilder() 39 if (const auto &IMs = CUNode->getImportedEntities()) in DIBuilder() 41 if (const auto &MNs = CUNode->getMacros()) in DIBuilder() 65 if (!CUNode) { in finalize() 72 CUNode->replaceEnumTypes(MDTuple::get( in finalize() 87 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.cpp | 1191 for (DICompileUnit *CUNode : M->debug_compile_units()) { in beginModule() 1192 if (CUNode->getImportedEntities().empty() && in beginModule() 1193 CUNode->getEnumTypes().empty() && CUNode->getRetainedTypes().empty() && in beginModule() 1194 CUNode->getGlobalVariables().empty() && CUNode->getMacros().empty()) in beginModule() 1197 DwarfCompileUnit &CU = getOrCreateDwarfCompileUnit(CUNode); in beginModule() 1200 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule() 1211 for (auto *GVE : CUNode->getGlobalVariables()) { 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 [all …]
|
H A D | DwarfUnit.h | 40 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 D | DwarfCompileUnit.cpp | 385 DD->addAccelName(*this, CUNode->getNameTableKind(), GV->getName(), in addLocationAttribute() 392 DD->addAccelName(*this, CUNode->getNameTableKind(), GV->getLinkageName(), in addLocationAttribute() 438 if (CUNode->isDebugDirectivesOnly()) in initStmtList() 581 DD->addSubprogramNames(*this, CUNode->getNameTableKind(), SP, *SPDie); in updateSubprogramScopeDIE() 730 DD->addSubprogramNames(*this, CUNode->getNameTableKind(), InlinedSP, in constructInlinedScopeDIE() 1385 DD->addAccelNamespace(*this, CUNode->getNameTableKind(), Name, *IMDie); in constructImportedEntityDIE() 1460 getDwarfDebug().addAccelName(*this, CUNode->getNameTableKind(), Name, *Die); in finishEntityDefinition() 1502 switch (CUNode->getNameTableKind()) { in hasDwarfPubSections() 1513 !CUNode->isDebugDirectivesOnly() && in hasDwarfPubSections()
|
H A D | DwarfUnit.cpp | 86 : DIEUnit(UnitTag), UniqueID(UniqueID), CUNode(Node), Asm(A), DD(DW), in DwarfUnit() 249 if (CUNode->isDebugDirectivesOnly()) in addString() 655 DD->addAccelType(*this, CUNode->getNameTableKind(), Ty->getName(), TyDIE, in updateAcceleratorTables() 1149 DD->addAccelNamespace(*this, CUNode->getNameTableKind(), Name, NDie); in getOrCreateNameSpace() 1277 !CUNode->getDebugInfoForProfiling(); in applySubprogramAttributes() 1476 DD->addAccelType(*this, CUNode->getNameTableKind(), Name, *IndexTyDie, in getIndexTyDie()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 117 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/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DIBuilder.h | 49 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler. variable
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 7458 llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu"); in EmitCoverageFile() local 7459 if (!CUNode) in EmitCoverageFile() 7468 for (int i = 0, e = CUNode->getNumOperands(); i != e; ++i) { in EmitCoverageFile() 7469 llvm::MDNode *CU = CUNode->getOperand(i); in EmitCoverageFile()
|