Home
last modified time | relevance | path

Searched refs:DICompileUnit (Results 1 – 25 of 50) sorted by relevance

12

/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h480 void addAccelNameImpl(const DICompileUnit &CU, AccelTable<DataT> &AppleAccel,
597 DwarfCompileUnit &getOrCreateDwarfCompileUnit(const DICompileUnit *DIUnit);
598 void finishUnitAttributes(const DICompileUnit *DIUnit,
788 void addSubprogramNames(const DICompileUnit &CU, const DISubprogram *SP,
793 void addAccelName(const DICompileUnit &CU, StringRef Name, const DIE &Die);
795 void addAccelObjC(const DICompileUnit &CU, StringRef Name, const DIE &Die);
797 void addAccelNamespace(const DICompileUnit &CU, StringRef Name,
800 void addAccelType(const DICompileUnit &CU, StringRef Name, const DIE &Die,
H A DDwarfUnit.h38 const DICompileUnit *CUNode;
71 DwarfUnit(dwarf::Tag, const DICompileUnit *Node, AsmPrinter *A, DwarfDebug *DW,
99 const DICompileUnit *getCUNode() const { return CUNode; } in getCUNode()
H A DDwarfDebug.cpp500 void DwarfDebug::addSubprogramNames(const DICompileUnit &CU, in addSubprogramNames()
503 CU.getNameTableKind() == DICompileUnit::DebugNameTableKind::None) in addSubprogramNames()
1030 void DwarfDebug::finishUnitAttributes(const DICompileUnit *DIUnit, in finishUnitAttributes()
1096 DwarfDebug::getOrCreateDwarfCompileUnit(const DICompileUnit *DIUnit) { in getOrCreateDwarfCompileUnit()
1216 for (DICompileUnit *CUNode : M->debug_compile_units()) { in beginModule()
1388 auto *CUNode = cast<DICompileUnit>(P.first); in finalizeModuleInfo()
2185 if (SP->getUnit()->getEmissionKind() == DICompileUnit::NoDebug) in beginFunctionImpl()
2468 DICompileUnit::DebugNameTableKind::GNU; in emitDebugPubSections()
3278 auto *CUNode = cast<DICompileUnit>(P.first); in emitDebugMacinfoImpl()
3386 const DICompileUnit *DIUnit = CU.getCUNode(); in getDwoLineTable()
[all …]
H A DDwarfCompileUnit.cpp57 DwarfCompileUnit::DwarfCompileUnit(unsigned UID, const DICompileUnit *Node, in DwarfCompileUnit()
1386 case DICompileUnit::DebugNameTableKind::None: in hasDwarfPubSections()
1390 case DICompileUnit::DebugNameTableKind::GNU: in hasDwarfPubSections()
1392 case DICompileUnit::DebugNameTableKind::Default: in hasDwarfPubSections()
1564 return getCUNode()->getEmissionKind() == DICompileUnit::LineTablesOnly || in includeMinimalInlineScopes()
H A DDwarfCompileUnit.h112 DwarfCompileUnit(unsigned UID, const DICompileUnit *Node, AsmPrinter *A,
H A DDebugHandlerBase.cpp244 if (EK == DICompileUnit::NoDebug) in hasDebugInfo()
H A DDwarfUnit.cpp83 DwarfUnit::DwarfUnit(dwarf::Tag UnitTag, const DICompileUnit *Node, in DwarfUnit()
645 if (!Context || isa<DICompileUnit>(Context) || isa<DIFile>(Context) || in updateAcceleratorTables()
667 while (!isa<DICompileUnit>(Context)) { in getParentContextString()
1560 bool IndexEnumerators = !Context || isa<DICompileUnit>(Context) || isa<DIFile>(Context) || in constructEnumTypeDIE()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DDebugInfo.h117 void processCompileUnit(DICompileUnit *CU);
120 bool addCompileUnit(DICompileUnit *CU);
128 SmallVectorImpl<DICompileUnit *>::const_iterator;
162 SmallVector<DICompileUnit *, 8> CUs;
H A DDIBuilder.h46 DICompileUnit *CUNode; ///< The one compile unit created by this DIBuiler.
119 DICompileUnit *CU = nullptr);
157 DICompileUnit *
161 DICompileUnit::DebugEmissionKind Kind =
162 DICompileUnit::DebugEmissionKind::FullDebug,
165 DICompileUnit::DebugNameTableKind NameTableKind =
166 DICompileUnit::DebugNameTableKind::Default,
H A DModule.h735 using value_type = DICompileUnit *;
765 DICompileUnit *operator*() const;
766 DICompileUnit *operator->() const;
H A DMetadata.def96 HANDLE_SPECIALIZED_MDNODE_LEAF(DICompileUnit)
H A DDebugInfoMetadata.h1363 class DICompileUnit : public DIScope {
1404 ~DICompileUnit() = default;
1406 static DICompileUnit *
1427 static DICompileUnit *
1453 DICompileUnit,
1469 DICompileUnit,
1905 DISPFlags SPFlags, DICompileUnit *Unit,
1944 DIFlags Flags, DISPFlags SPFlags, DICompileUnit *Unit,
2058 DICompileUnit *getUnit() const { in getUnit()
2059 return cast_or_null<DICompileUnit>(getRawUnit()); in getUnit()
[all …]
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp303 collectCUsWithScope(const DIScope *Scope, std::set<DICompileUnit *> &LiveCUs, in collectCUsWithScope()
329 std::set<DICompileUnit *> &LiveCUs, in collectCUsForInlinedFuncs()
363 std::set<DICompileUnit *> LiveCUs; in stripDeadDebugInfoImpl()
379 for (DICompileUnit *DIC : F.compile_units()) { in stripDeadDebugInfoImpl()
418 for (DICompileUnit *CU : LiveCUs) in stripDeadDebugInfoImpl()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DModule.cpp400 DICompileUnit *Module::debug_compile_units_iterator::operator*() const { in operator *()
401 return cast<DICompileUnit>(CUs->getOperand(Idx)); in operator *()
403 DICompileUnit *Module::debug_compile_units_iterator::operator->() const { in operator ->()
404 return cast<DICompileUnit>(CUs->getOperand(Idx)); in operator ->()
409 ((*this)->getEmissionKind() == DICompileUnit::NoDebug)) in SkipNoDebugCUs()
H A DDebugInfoMetadata.cpp292 assert((isa<DIFile>(this) || isa<DICompileUnit>(this)) && in getScope()
309 isa<DICompileUnit>(this)) && in getName()
848 DICompileUnit::DICompileUnit(LLVMContext &C, StorageType Storage, in DICompileUnit() function in DICompileUnit
863 DICompileUnit *DICompileUnit::getImpl( in getImpl()
888 return storeImpl(new (std::size(Ops), Storage) DICompileUnit( in getImpl()
896 std::optional<DICompileUnit::DebugEmissionKind>
897 DICompileUnit::getEmissionKind(StringRef Str) { in getEmissionKind()
906 std::optional<DICompileUnit::DebugNameTableKind>
907 DICompileUnit::getNameTableKind(StringRef Str) { in getNameTableKind()
915 const char *DICompileUnit::emissionKindString(DebugEmissionKind EK) { in emissionKindString()
[all …]
H A DDebugInfo.cpp177 void DebugInfoFinder::processCompileUnit(DICompileUnit *CU) { in processCompileUnit()
254 if (auto *CU = dyn_cast<DICompileUnit>(Scope)) { in processScope()
323 bool DebugInfoFinder::addCompileUnit(DICompileUnit *CU) { in addCompileUnit()
572 auto *Unit = cast_or_null<DICompileUnit>(map(MDS->getUnit())); in getReplacementSubprogram()
614 DICompileUnit *getReplacementCU(DICompileUnit *CU) { in getReplacementCU()
624 return DICompileUnit::getDistinct( in getReplacementCU()
627 CU->getSplitDebugFilename(), DICompileUnit::LineTablesOnly, EnumTypes, in getReplacementCU()
669 if (auto *CU = dyn_cast<DICompileUnit>(N)) in remap()
723 !isa<DICompileUnit>(MDN)) in traverse()
984 static_cast<DICompileUnit::DebugEmissionKind>(Kind), DWOId, in LLVMDIBuilderCreateCompileUnit()
[all …]
H A DDIBuilder.cpp31 DIBuilder::DIBuilder(Module &m, bool AllowUnresolvedNodes, DICompileUnit *CU) in DIBuilder()
146 if (!N || isa<DICompileUnit>(N)) in getNonCompileUnitScope()
151 DICompileUnit *DIBuilder::createCompileUnit( in createCompileUnit()
154 DICompileUnit::DebugEmissionKind Kind, uint64_t DWOId, in createCompileUnit()
156 DICompileUnit::DebugNameTableKind NameTableKind, bool RangesBaseAddress, in createCompileUnit()
164 CUNode = DICompileUnit::getDistinct( in createCompileUnit()
454 assert((!Context || isa<DICompileUnit>(Context)) && "Expected compile unit"); in createTemplateTypeParameter()
462 assert((!Context || isa<DICompileUnit>(Context)) && "Expected compile unit"); in createTemplateValueParameterHelper()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DLexicalScopes.cpp55 DICompileUnit::NoDebug) in initialize()
147 DICompileUnit::NoDebug) in getOrCreateLexicalScope()
H A DRemoveRedundantDebugValues.cpp222 DICompileUnit::NoDebug) in runOnMachineFunction()
H A DJMCInstrumenter.cpp106 DICompileUnit *CU = SP.getUnit(); in attachDebugInfo()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp79 for (DICompileUnit *CU : Finder.compile_units()) { in printModuleDebugInfo()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h51 DICompileUnit::NoDebug && in LexicalScope()
/openbsd/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroEarly.cpp109 DICompileUnit *CU = *M.debug_compile_units_begin(); in buildDebugInfoForNoopResumeDestroyFunc()
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp864 for (DICompileUnit *CU : M.debug_compile_units()) { in emitHeader()
866 case DICompileUnit::NoDebug: in emitHeader()
867 case DICompileUnit::DebugDirectivesOnly: in emitHeader()
869 case DICompileUnit::LineTablesOnly: in emitHeader()
870 case DICompileUnit::FullDebug: in emitHeader()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp148 std::string mangleName(const DICompileUnit *CU, GCovFileType FileType);
508 std::string GCOVProfiler::mangleName(const DICompileUnit *CU, in mangleName()
782 auto *CU = cast<DICompileUnit>(CUNode->getOperand(i)); in emitProfileNotes()
1115 auto *CU = cast<DICompileUnit>(CUNodes->getOperand(i)); in insertCounterWriteout()

12