Home
last modified time | relevance | path

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

12

/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DDebugInfo.cpp43 DIVariable(DbgNode).Verify() || DISubprogram(DbgNode).Verify() || in Verify()
496 bool DISubprogram::Verify() const { in Verify()
538 if (!DISubprogram(Scope).describes(F)) in Verify()
707 return !DISubprogram(getContext()).describes(CurFn); in isInlinedFnArgument()
710 bool DISubprogram::describes(const Function *F) { in describes()
722 MDNode *DISubprogram::getVariablesNodes() const { in getVariablesNodes()
726 DIArray DISubprogram::getVariables() const { in getVariables()
740 return DIScopeRef(DISubprogram(DbgNode).getContext()); in getContext()
759 return DISubprogram(DbgNode).getName(); in getName()
878 DISubprogram llvm::getDISubprogram(const MDNode *Scope) { in getDISubprogram()
[all …]
H A DDebugLoc.cpp43 DISubprogram SP = getDISubprogram(Scope); in getFnDebugLoc()
H A DDIBuilder.cpp91 DISubprogram SP(SPs.getElement(i)); in finalize()
934 DISubprogram Fn(getDISubprogram(Scope)); in createLocalVariable()
958 DISubprogram DIBuilder::createFunction(DIScopeRef Context, StringRef Name, in createFunction()
973 static DISubprogram createFunctionHelper( in createFunctionHelper()
998 DISubprogram S(CreateFunc(Elts)); in createFunctionHelper()
1005 DISubprogram DIBuilder::createFunction(DIDescriptor Context, StringRef Name, in createFunction()
1026 DISubprogram
1042 DISubprogram DIBuilder::createMethod(DIDescriptor Context, StringRef Name, in createMethod()
1075 DISubprogram S(Node); in createMethod()
/minix3/external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/
H A DCloning.cpp239 DISubprogram Subprogram = DBuilder.createFunction(CU, "f", "f", File, 4, in CreateOldFunctionBodyAndDI()
303 DISubprogram Sub1(*Iter); in TEST_F()
306 DISubprogram Sub2(*Iter); in TEST_F()
350 DISubprogram OldSubprogram(OldDL.getScope(C)); in TEST_F()
351 DISubprogram NewSubprogram(NewDL.getScope(C)); in TEST_F()
387 EXPECT_EQ(OldFunc, DISubprogram(DIVariable(OldIntrin->getVariable()) in TEST_F()
390 EXPECT_EQ(NewFunc, DISubprogram(DIVariable(NewIntrin->getVariable()) in TEST_F()
397 EXPECT_EQ(OldFunc, DISubprogram(DIVariable(OldIntrin->getVariable()) in TEST_F()
400 EXPECT_EQ(NewFunc, DISubprogram(DIVariable(NewIntrin->getVariable()) in TEST_F()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h119 DIE &updateSubprogramScopeDIE(DISubprogram SP);
164 void finishSubprogramDefinition(DISubprogram SP);
166 void collectDeadVariables(DISubprogram SP);
233 void applySubprogramAttributesToDefinition(DISubprogram SP, DIE &SPDie);
H A DDwarfCompileUnit.cpp285 DIE &DwarfCompileUnit::updateSubprogramScopeDIE(DISubprogram SP) { in updateSubprogramScopeDIE()
428 DISubprogram InlinedSP = getDISubprogram(DS); in constructInlinedScopeDIE()
563 DISubprogram Sub(Scope->getScopeNode()); in constructSubprogramScopeDIE()
608 DISubprogram SP(Scope->getScopeNode()); in constructAbstractSubprogramScopeDIE()
618 else if (DISubprogram SPDecl = SP.getFunctionDeclaration()) { in constructAbstractSubprogramScopeDIE()
647 EntityDie = getOrCreateSubprogramDIE(DISubprogram(Entity)); in constructImportedEntityDIE()
666 void DwarfCompileUnit::finishSubprogramDefinition(DISubprogram SP) { in finishSubprogramDefinition()
683 void DwarfCompileUnit::collectDeadVariables(DISubprogram SP) { in collectDeadVariables()
820 void DwarfCompileUnit::applySubprogramAttributesToDefinition(DISubprogram SP, in applySubprogramAttributesToDefinition()
822 DISubprogram SPDecl = SP.getFunctionDeclaration(); in applySubprogramAttributesToDefinition()
H A DDwarfUnit.h130 bool applySubprogramDefinitionAttributes(DISubprogram SP, DIE &SPDie);
238 void addSourceLine(DIE &Die, DISubprogram SP);
288 DIE *getOrCreateSubprogramDIE(DISubprogram SP, bool Minimal = false);
290 void applySubprogramAttributes(DISubprogram SP, DIE &SPDie,
H A DDwarfFile.h31 class DISubprogram; variable
H A DDwarfDebug.h309 DenseMap<const Function *, DISubprogram> FunctionDIs;
464 void collectVariableInfo(DwarfCompileUnit &TheCU, DISubprogram SP,
595 void addSubprogramNames(DISubprogram SP, DIE &Die);
H A DDwarfUnit.cpp148 (D.isSubprogram() && !DISubprogram(D).isDefinition())) && in isShareableAcrossCUs()
383 void DwarfUnit::addSourceLine(DIE &Die, DISubprogram SP) { in addSourceLine()
750 return getOrCreateSubprogramDIE(DISubprogram(Context)); in getOrCreateContextDIE()
1015 getOrCreateSubprogramDIE(DISubprogram(Element)); in constructTypeDIE()
1195 DIE *DwarfUnit::getOrCreateSubprogramDIE(DISubprogram SP, bool Minimal) { in getOrCreateSubprogramDIE()
1205 if (DISubprogram SPDecl = SP.getFunctionDeclaration()) { in getOrCreateSubprogramDIE()
1226 bool DwarfUnit::applySubprogramDefinitionAttributes(DISubprogram SP, in applySubprogramDefinitionAttributes()
1230 if (DISubprogram SPDecl = SP.getFunctionDeclaration()) { in applySubprogramDefinitionAttributes()
1259 void DwarfUnit::applySubprogramAttributes(DISubprogram SP, DIE &SPDie, in applySubprogramAttributes()
H A DDwarfDebug.cpp278 void DwarfDebug::addSubprogramNames(DISubprogram SP, DIE &Die) { in addSubprogramNames()
519 CU.finishSubprogramDefinition(DISubprogram(P.first)); in finishSubprogramDefinitions()
537 DISubprogram SP(Subprograms.getElement(i)); in collectDeadVariables()
937 DwarfDebug::collectVariableInfo(DwarfCompileUnit &TheCU, DISubprogram SP, in collectVariableInfo()
1259 DISubprogram SP(FnScope->getScopeNode()); in endFunction()
1289 DISubprogram SP(AScope->getScopeNode()); in endFunction()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DDebugInfo.h50 class DISubprogram; variable
597 class DISubprogram : public DIScope {
602 explicit DISubprogram(const MDNode *N = nullptr) : DIScope(N) {} in DIScope()
636 DISubprogram getFunctionDeclaration() const { in getFunctionDeclaration()
637 return getFieldAs<DISubprogram>(7); in getFunctionDeclaration()
990 DISubprogram getDISubprogram(const MDNode *Scope);
995 DISubprogram getDISubprogram(const Function *F);
1052 void processSubprogram(DISubprogram SP);
1056 bool addSubprogram(DISubprogram SP);
1062 typedef SmallVectorImpl<DISubprogram>::const_iterator subprogram_iterator;
[all …]
H A DDIBuilder.h51 class DISubprogram; variable
543 DISubprogram createFunction(DIDescriptor Scope, StringRef Name,
557 DISubprogram createTempFunctionFwdDecl(DIDescriptor Scope, StringRef Name,
572 DISubprogram createFunction(DIScopeRef Scope, StringRef Name,
603 DISubprogram createMethod(DIDescriptor Scope, StringRef Name,
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DLiveDebugVariables.h36 DenseMap<const Function*, DISubprogram> FunctionDIs;
/minix3/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp65 for (DISubprogram S : Finder.subprograms()) { in print()
/minix3/external/bsd/llvm/dist/llvm/test/DebugInfo/
H A Dlocation-verifier.ll32 ; CHECK: DISubprogram does not Verify
/minix3/external/bsd/llvm/dist/llvm/tools/opt/
H A DBreakpointPrinter.cpp58 DISubprogram SP(NMD->getOperand(i)); in runOnModule()
/minix3/minix/llvm/passes/include/common/
H A Dpass_common.h260 DISubprogram DIS(SPs.getElement(i)); in findDbgSubprogramDeclare()
277 if (DISubprogram(DIG).getFunction() == V) in findDbgSubprogramDeclare()
309 _directory = ((DISubprogram*)&DID)->getDirectory(); in getDbgLocationInfo()
310 _filename = ((DISubprogram*)&DID)->getFilename(); in getDbgLocationInfo()
312 errs() << "DISubprogram name is: " << ((DISubprogram*)&DID)->getName() << "\n"; in getDbgLocationInfo()
320 _directory = ((DISubprogram*)&DIS)->getDirectory(); in getDbgLocationInfo()
321 _filename = ((DISubprogram*)&DIS)->getFilename(); in getDbgLocationInfo()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp156 static StringRef getFunctionName(DISubprogram SP) { in getFunctionName()
316 GCOVFunction(DISubprogram SP, raw_ostream *os, uint32_t Ident, in GCOVFunction()
418 DISubprogram SP;
501 DISubprogram SP(SPs.getElement(i)); in emitProfileNotes()
585 DISubprogram SP(SPs.getElement(i)); in emitProfileArcs()
870 DISubprogram SP(CountersBySP[j].second); in insertCounterWriteout()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.h163 llvm::DISubprogram CreateCXXMemberFunction(const CXXMethodDecl *Method,
375 llvm::DISubprogram getFunctionDeclaration(const Decl *D);
384 llvm::DISubprogram getFunctionForwardDeclaration(const FunctionDecl *FD);
H A DCGDebugInfo.cpp1071 llvm::DISubprogram
1136 llvm::DISubprogram SP = DBuilder.createMethod( in CreateCXXMemberFunction()
2370 llvm::DISubprogram
2389 llvm::DISubprogram SP = in getFunctionForwardDeclaration()
2450 llvm::DISubprogram CGDebugInfo::getFunctionDeclaration(const Decl *D) { in getFunctionDeclaration()
2452 return llvm::DISubprogram(); in getFunctionDeclaration()
2456 return llvm::DISubprogram(); in getFunctionDeclaration()
2466 llvm::DISubprogram SP = in getFunctionDeclaration()
2472 llvm::DISubprogram SP(dyn_cast_or_null<llvm::MDNode>(MI->second)); in getFunctionDeclaration()
2480 llvm::DISubprogram SP(dyn_cast_or_null<llvm::MDNode>(MI->second)); in getFunctionDeclaration()
[all …]
/minix3/minix/llvm/passes/include/magic/support/
H A DSmartType.h79 …static const SmartType* getSmartTypeFromFunction(Module &M, Function *F, DISubprogram *DIS = NULL);
H A DMagicUtil.h18 …static StringRef getFunctionSourceName(Module &M, Function *F, DISubprogram **DISP=NULL, const std…
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp159 for (DISubprogram Subprogram : Finder.subprograms()) { in FindSubprogram()
189 DISubprogram NewSubprogram(MapMetadata(OldSubprogramMDNode, VMap)); in CloneDebugInfoMetadata()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp315 DISubprogram DISP(SPs.getElement(i)); in runOnModule()

12