Home
last modified time | relevance | path

Searched refs:DISubprogram (Results 1 – 25 of 49) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/docs/
DReactorDebugInfo.md150 rr::DebugInfo::diScope[0].di: ↳ DISubprogram: "main"
151 rr::DebugInfo::diScope[1].di: ↳ DISubprogram: "A"
152 rr::DebugInfo::diScope[2].di: ↳ DISubprogram: "B"
158 rr::DebugInfo::diRootLocation: DILocation(DISubprogram: "ReactorFunction")
159 rr::DebugInfo::diScope[0].location: ↳ DILocation(DISubprogram: "main")
160 rr::DebugInfo::diScope[1].location: ↳ DILocation(DISubprogram: "A")
161 rr::DebugInfo::diScope[2].location: ↳ DILocation(DISubprogram: "B")
170 `llvm::DISubprogram` for each function in the callstack. All local variables
210 rr::DebugInfo::diScope[0].di: ↳ DISubprogram: "main"
211DISubprogram: "A"
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDebugInfo.h31 DISubprogram *getDISubprogram(const MDNode *Scope);
86 void processSubprogram(DISubprogram *SP);
91 bool addSubprogram(DISubprogram *SP);
97 using subprogram_iterator = SmallVectorImpl<DISubprogram *>::const_iterator;
131 SmallVector<DISubprogram *, 8> SPs;
DDIBuilder.h112 void finalizeSubprogram(DISubprogram *SP);
524 static DISubprogram *createArtificialSubprogram(DISubprogram *SP);
663 DISubprogram *
667 DISubprogram::DISPFlags SPFlags = DISubprogram::SPFlagZero,
669 DISubprogram *Decl = nullptr,
674 DISubprogram *createTempFunctionFwdDecl(
678 DISubprogram::DISPFlags SPFlags = DISubprogram::SPFlagZero,
680 DISubprogram *Decl = nullptr, DITypeArray ThrownTypes = nullptr);
701 DISubprogram *
707 DISubprogram::DISPFlags SPFlags = DISubprogram::SPFlagZero,
DFunction.h51 class DISubprogram; variable
828 void setSubprogram(DISubprogram *SP);
834 DISubprogram *getSubprogram() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h110 const DISubprogram *Inlinee = nullptr;
223 const DISubprogram *Inlinee);
225 codeview::TypeIndex getFuncIdForSubprogram(const DISubprogram *SP);
243 SmallSetVector<const DISubprogram *, 4> InlinedSubprograms;
267 const DISubprogram *CurrentSubprogram = nullptr;
285 void setCurrentSubprogram(const DISubprogram *SP) { in setCurrentSubprogram()
342 void collectVariableInfo(const DISubprogram *SP);
386 codeview::TypeIndex getMemberFunctionType(const DISubprogram *SP,
DDwarfCompileUnit.h187 DIE &updateSubprogramScopeDIE(const DISubprogram *SP);
226 DIE &constructSubprogramScopeDIE(const DISubprogram *Sub,
253 DIE &constructCallSiteEntryDIE(DIE &ScopeDIE, const DISubprogram *CalleeSP,
266 void finishSubprogramDefinition(const DISubprogram *SP);
346 void applySubprogramAttributesToDefinition(const DISubprogram *SP,
DDwarfDebug.h322 SetVector<const DISubprogram *, SmallVector<const DISubprogram *, 16>,
323 SmallPtrSet<const DISubprogram *, 16>>
446 void constructCallSiteEntryDIEs(const DISubprogram &SP, DwarfCompileUnit &CU,
579 void collectEntityInfo(DwarfCompileUnit &TheCU, const DISubprogram *SP,
730 void addSubprogramNames(const DICompileUnit &CU, const DISubprogram *SP,
DDwarfUnit.h79 bool applySubprogramDefinitionAttributes(const DISubprogram *SP, DIE &SPDie);
193 void addSourceLine(DIE &Die, const DISubprogram *SP);
228 DIE *getOrCreateSubprogramDIE(const DISubprogram *SP, bool Minimal = false);
230 void applySubprogramAttributes(const DISubprogram *SP, DIE &SPDie,
DDwarfCompileUnit.cpp392 DIE &DwarfCompileUnit::updateSubprogramScopeDIE(const DISubprogram *SP) { in updateSubprogramScopeDIE()
430 assert((Scope->getInlinedAt() || !isa<DISubprogram>(DS)) && in constructScopeDIE()
441 if (Scope->getParent() && isa<DISubprogram>(DS)) { in constructScopeDIE()
827 DIE &DwarfCompileUnit::constructSubprogramScopeDIE(const DISubprogram *Sub, in constructSubprogramScopeDIE()
874 auto *SP = cast<DISubprogram>(Scope->getScopeNode()); in constructAbstractSubprogramScopeDIE()
960 DIE &ScopeDIE, const DISubprogram *CalleeSP, bool IsTail, in constructCallSiteEntryDIE()
1028 else if (auto *SP = dyn_cast<DISubprogram>(Entity)) in constructImportedEntityDIE()
1046 void DwarfCompileUnit::finishSubprogramDefinition(const DISubprogram *SP) { in finishSubprogramDefinition()
1295 const DISubprogram *SP, DIE &SPDie) { in applySubprogramAttributesToDefinition()
DCodeViewDebug.cpp267 const DISubprogram *Inlinee) { in getInlineSite()
306 static const DISubprogram *getQualifiedNameComponents( in getQualifiedNameComponents()
308 const DISubprogram *ClosestSubprogram = nullptr; in getQualifiedNameComponents()
311 ClosestSubprogram = dyn_cast<DISubprogram>(Scope); in getQualifiedNameComponents()
374 TypeIndex CodeViewDebug::getFuncIdForSubprogram(const DISubprogram *SP) { in getFuncIdForSubprogram()
436 TypeIndex CodeViewDebug::getMemberFunctionType(const DISubprogram *SP, in getMemberFunctionType()
479 const DISubprogram *Inlinee = Var.DIVar->getScope()->getSubprogram(); in recordLocalVariable()
863 for (const DISubprogram *SP : InlinedSubprograms) { in emitInlineeLinesSubsection()
1296 void CodeViewDebug::collectVariableInfo(const DISubprogram *SP) { in collectVariableInfo()
1472 const DISubprogram *ClosestSubprogram = in addToUDTs()
[all …]
DDwarfUnit.cpp201 (isa<DISubprogram>(D) && !cast<DISubprogram>(D)->isDefinition())) && in isShareableAcrossCUs()
437 void DwarfUnit::addSourceLine(DIE &Die, const DISubprogram *SP) { in addSourceLine()
626 if (auto *SP = dyn_cast<DISubprogram>(Context)) in getOrCreateContextDIE()
919 if (auto *SP = dyn_cast<DISubprogram>(Element)) in constructTypeDIE()
1132 DIE *DwarfUnit::getOrCreateSubprogramDIE(const DISubprogram *SP, bool Minimal) { in getOrCreateSubprogramDIE()
1164 bool DwarfUnit::applySubprogramDefinitionAttributes(const DISubprogram *SP, in applySubprogramDefinitionAttributes()
1207 void DwarfUnit::applySubprogramAttributes(const DISubprogram *SP, DIE &SPDie, in applySubprogramAttributes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp49 void DIBuilder::finalizeSubprogram(DISubprogram *SP) { in finalizeSubprogram()
95 if (auto *SP = dyn_cast<DISubprogram>(N)) in finalize()
539 DISubprogram *DIBuilder::createArtificialSubprogram(DISubprogram *SP) { in createArtificialSubprogram()
567 assert((isa<DIType>(T) || (isa<DISubprogram>(T) && in retainType()
568 cast<DISubprogram>(T)->isDefinition() == false)) && in retainType()
691 DISubprogram *Fn = getDISubprogram(Scope); in createLocalVariable()
730 DISubprogram *Fn = getDISubprogram(Scope); in createLabel()
748 static DISubprogram *getSubprogram(bool IsDistinct, Ts &&... Args) { in getSubprogram()
750 return DISubprogram::getDistinct(std::forward<Ts>(Args)...); in getSubprogram()
751 return DISubprogram::get(std::forward<Ts>(Args)...); in getSubprogram()
[all …]
DDebugInfo.cpp43 DISubprogram *llvm::getDISubprogram(const MDNode *Scope) { in getDISubprogram()
66 if (auto *SP = cast_or_null<DISubprogram>(F.getSubprogram())) in processModule()
92 processSubprogram(cast<DISubprogram>(RT)); in processCompileUnit()
97 else if (auto *SP = dyn_cast<DISubprogram>(Entity)) in processCompileUnit()
138 else if (auto *SP = dyn_cast<DISubprogram>(D)) in processType()
159 if (auto *SP = dyn_cast<DISubprogram>(Scope)) { in processScope()
174 void DebugInfoFinder::processSubprogram(DISubprogram *SP) { in processSubprogram()
257 bool DebugInfoFinder::addSubprogram(DISubprogram *SP) { in addSubprogram()
395 DenseMap<DISubprogram *, StringRef> NewToLinkageName;
426 DISubprogram *getReplacementSubprogram(DISubprogram *MDS) { in getReplacementSubprogram()
[all …]
DDebugInfoMetadata.cpp219 if (auto *SP = dyn_cast<DISubprogram>(this)) in getScope()
242 if (auto *SP = dyn_cast<DISubprogram>(this)) in getName()
583 DISubprogram *DILocalScope::getSubprogram() const { in getSubprogram()
586 return const_cast<DISubprogram *>(cast<DISubprogram>(this)); in getSubprogram()
595 DISubprogram::DISPFlags DISubprogram::getFlag(StringRef Flag) { in getFlag()
602 StringRef DISubprogram::getFlagString(DISPFlags Flag) { in getFlagString()
615 DISubprogram::DISPFlags
616 DISubprogram::splitFlags(DISPFlags Flags, in splitFlags()
630 DISubprogram *DISubprogram::getImpl( in getImpl()
639 DEFINE_GETIMPL_LOOKUP(DISubprogram, in getImpl()
[all …]
DLLVMContextImpl.h608 template <> struct MDNodeKeyImpl<DISubprogram> {
640 MDNodeKeyImpl(const DISubprogram *N)
653 bool isKeyOf(const DISubprogram *RHS) const {
669 bool isDefinition() const { return SPFlags & DISubprogram::SPFlagDefinition; }
688 template <> struct MDNodeSubsetEqualImpl<DISubprogram> {
689 using KeyTy = MDNodeKeyImpl<DISubprogram>;
691 static bool isSubsetEqual(const KeyTy &LHS, const DISubprogram *RHS) {
696 static bool isSubsetEqual(const DISubprogram *LHS, const DISubprogram *RHS) {
707 const DISubprogram *RHS) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.h25 class DISubprogram; variable
68 DISubprogram *lookupSubprogramForFunction(Function *F);
DMetadataLoader.cpp459 SmallDenseMap<Function *, DISubprogram *, 16> FunctionsWithSPs;
488 if (auto *SP = dyn_cast_or_null<DISubprogram>(Op)) in upgradeCUSubprograms()
664 DISubprogram *lookupSubprogramForFunction(Function *F) { in lookupSubprogramForFunction()
1493 DISubprogram::DISPFlags SPFlags; in parseOneMetadata()
1498 SPFlags = static_cast<DISubprogram::DISPFlags>(Record[9]); in parseOneMetadata()
1512 SPFlags |= DISubprogram::SPFlagMainSubprogram; in parseOneMetadata()
1514 SPFlags = DISubprogram::toSPFlags( in parseOneMetadata()
1520 IsDistinct = (Record[0] & 1) || (SPFlags & DISubprogram::SPFlagDefinition); in parseOneMetadata()
1548 DISubprogram *SP = GET_OR_DISTINCT( in parseOneMetadata()
1549 DISubprogram, in parseOneMetadata()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DDebugify.cpp91 DISubprogram::DISPFlags SPFlags = in applyDebugifyMetadata()
92 DISubprogram::SPFlagDefinition | DISubprogram::SPFlagOptimized; in applyDebugifyMetadata()
94 SPFlags |= DISubprogram::SPFlagLocalToUnit; in applyDebugifyMetadata()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactorDebugInfo.hpp38 class DISubprogram;
163 llvm::DISubprogram *diSubprogram;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOutliner.cpp911 DISubprogram *getSubprogramOrNull(const OutlinedFunction &OF) { in getSubprogramOrNull()
914 if (DISubprogram *SP = MF->getFunction().getSubprogram()) in getSubprogramOrNull()
1161 if (DISubprogram *SP = getSubprogramOrNull(OF)) { in createOutlinedFunction()
1172 DISubprogram *OutlinedSP = DB.createFunction( in createOutlinedFunction()
1180 DISubprogram::SPFlagDefinition | DISubprogram::SPFlagOptimized); in createOutlinedFunction()
DLexicalScopes.cpp177 assert(cast<DISubprogram>(Scope)->describes(&MF->getFunction())); in getOrCreateRegularScope()
227 if (isa<DISubprogram>(Scope)) in getOrCreateAbstractScope()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DFunction.h46 class DISubprogram; variable
662 void setSubprogram(DISubprogram *SP);
668 DISubprogram *getSubprogram() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp180 static StringRef getFunctionName(const DISubprogram *SP) { in getFunctionName()
191 static SmallString<128> getFilename(const DISubprogram *SP) { in getFilename()
343 GCOVFunction(const DISubprogram *SP, Function *F, raw_ostream *os, in GCOVFunction()
444 const DISubprogram *SP;
693 DISubprogram *SP = F.getSubprogram(); in emitProfileNotes()
782 DISubprogram *SP = F.getSubprogram(); in emitProfileArcs()
1009 auto *SP = cast_or_null<DISubprogram>(CountersBySP[j].second); in insertCounterWriteout()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DModuleDebugInfoPrinter.cpp85 for (DISubprogram *S : Finder.subprograms()) { in print()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTFDebug.h289 std::string populateFileContent(const DISubprogram *SP);
292 void constructLineInfo(const DISubprogram *SP, MCSymbol *Label, uint32_t Line,

12