Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DDebugInfo.cpp39 DIDescriptor::DIDescriptor(const DISubprogram F) : DbgNode(F.DbgNode) { in DIDescriptor()
58 DIVariable(DbgNode).Verify() || DISubprogram(DbgNode).Verify() || in Verify()
478 bool DISubprogram::Verify() const { in Verify()
621 return !DISubprogram(getContext()).describes(CurFn); in isInlinedFnArgument()
626 bool DISubprogram::describes(const Function *F) { in describes()
638 unsigned DISubprogram::isOptimized() const { in isOptimized()
645 MDNode *DISubprogram::getVariablesNodes() const { in getVariablesNodes()
651 DIArray DISubprogram::getVariables() const { in getVariables()
667 return DISubprogram(DbgNode).getFilename(); in getFilename()
685 return DISubprogram(DbgNode).getDirectory(); in getDirectory()
[all …]
DDIBuilder.cpp49 DISubprogram SP(SPs.getElement(i)); in finalize()
875 DISubprogram Fn(getDISubprogram(Scope)); in createLocalVariable()
907 DISubprogram DIBuilder::createFunction(DIDescriptor Context, in createFunction()
947 return DISubprogram(Node); in createFunction()
951 DISubprogram DIBuilder::createMethod(DIDescriptor Context, in createMethod()
992 return DISubprogram(Node); in createMethod()
/external/llvm/include/llvm/
DDebugInfo.h41 class DISubprogram; variable
93 explicit DIDescriptor(const DISubprogram F);
419 class DISubprogram : public DIScope {
423 explicit DISubprogram(const MDNode *N = 0) : DIScope(N) {} in DIScope()
512 DISubprogram getFunctionDeclaration() const { in getFunctionDeclaration()
513 return getFieldAs<DISubprogram>(18); in getFunctionDeclaration()
720 DISubprogram getDISubprogram(const MDNode *Scope);
731 NamedMDNode *getOrInsertFnSpecificMDNode(Module &M, DISubprogram SP);
735 NamedMDNode *getFnSpecificMDNode(const Module &M, DISubprogram SP);
761 void processSubprogram(DISubprogram SP);
[all …]
DDIBuilder.h45 class DISubprogram; variable
489 DISubprogram createFunction(DIDescriptor Scope, StringRef Name,
520 DISubprogram createMethod(DIDescriptor Scope, StringRef Name,
/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp382 if (DISubprogram(NMD->getOperand(i)).Verify()) in runOnModule()
392 if (Function *F = DISubprogram(*I).getFunction()) in runOnModule()
402 StringRef FName = DISubprogram(*I).getLinkageName(); in runOnModule()
404 FName = DISubprogram(*I).getName(); in runOnModule()
DDeadArgumentElimination.cpp133 typedef DenseMap<Function*, DISubprogram> FunctionDIMap;
213 DISubprogram SP(SPs.getElement(SPIndex)); in CollectFunctionDIs()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h255 void addSourceLine(DIE *Die, DISubprogram SP);
317 DIE *getOrCreateSubprogramDIE(DISubprogram SP);
338 void addPubTypes(DISubprogram SP);
DDwarfDebug.cpp318 static void addSubprogramNames(CompileUnit *TheCU, DISubprogram SP, in addSubprogramNames()
350 DISubprogram SP(SPNode); in updateSubprogramScopeDIE()
367 DISubprogram SPDecl = SP.getFunctionDeclaration(); in updateSubprogramScopeDIE()
476 DISubprogram InlinedSP = getDISubprogram(DS); in constructInlinedScopeDIE()
616 TheCU->addPubTypes(DISubprogram(DS)); in constructScopeDIE()
745 DISubprogram SP(N); in constructSubprogramDIE()
833 DISubprogram SP(Subprograms.getElement(i)); in collectDeadVariables()
1139 DISubprogram(DV.getContext()).describes(MF->getFunction())) in collectVariableInfo()
1209 DIArray Variables = DISubprogram(FnScope->getScopeNode()).getVariables(); in collectVariableInfo()
1342 DISubprogram SP = getDISubprogram(Scope); in getFnDebugLoc()
[all …]
DDwarfCompileUnit.cpp270 void CompileUnit::addSourceLine(DIE *Die, DISubprogram SP) { in addSourceLine()
709 return getOrCreateSubprogramDIE(DISubprogram(Context)); in getOrCreateContextDIE()
801 void CompileUnit::addPubTypes(DISubprogram SP) { in addPubTypes()
949 DISubprogram SP(Element); in constructTypeDIE()
950 ElemDie = getOrCreateSubprogramDIE(DISubprogram(Element)); in constructTypeDIE()
1130 DIE *CompileUnit::getOrCreateSubprogramDIE(DISubprogram SP) { in getOrCreateSubprogramDIE()
1140 DISubprogram SPDecl = SP.getFunctionDeclaration(); in getOrCreateSubprogramDIE()
DAsmPrinter.cpp562 OS << DISubprogram(V.getContext()).getDisplayName() << ":"; in emitDebugValueComment()
/external/llvm/lib/Analysis/
DModuleDebugInfoPrinter.cpp70 DISubprogram(*I).print(O); in print()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp118 DISubprogram FunctionDI = getDISubprogram(FirstLocScope); in NotifyFunctionEmitted()
/external/clang/lib/CodeGen/
DCGDebugInfo.h140 llvm::DISubprogram CreateCXXMemberFunction(const CXXMethodDecl *Method,
330 llvm::DISubprogram getFunctionDeclaration(const Decl *D);
DCGDebugInfo.cpp1034 llvm::DISubprogram
1092 llvm::DISubprogram SP = in CreateCXXMemberFunction()
2124 llvm::DISubprogram CGDebugInfo::getFunctionDeclaration(const Decl *D) { in getFunctionDeclaration()
2126 if (!FD) return llvm::DISubprogram(); in getFunctionDeclaration()
2135 llvm::DISubprogram SP(dyn_cast_or_null<llvm::MDNode>(V)); in getFunctionDeclaration()
2136 if (SP.isSubprogram() && !llvm::DISubprogram(SP).isDefinition()) in getFunctionDeclaration()
2147 llvm::DISubprogram SP(dyn_cast_or_null<llvm::MDNode>(V)); in getFunctionDeclaration()
2148 if (SP.isSubprogram() && !llvm::DISubprogram(SP).isDefinition()) in getFunctionDeclaration()
2152 return llvm::DISubprogram(); in getFunctionDeclaration()
2219 if (SP.isSubprogram() && llvm::DISubprogram(SP).isDefinition()) { in EmitFunctionStart()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp280 GCOVFunction(DISubprogram SP, raw_ostream *os, uint32_t Ident, in GCOVFunction()
408 DISubprogram SP(SPs.getElement(i)); in emitProfileNotes()
457 DISubprogram SP(SPs.getElement(i)); in emitProfileArcs()
726 DISubprogram SP(CountersBySP[j].second); in insertCounterWriteout()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp138 DISubprogram FunctionDI = getDISubprogram(FirstLocScope); in NotifyFunctionEmitted()
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp168 && DISubprogram(Scope).describes(MF->getFunction())) in getOrCreateRegularScope()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp730 O << DISubprogram(V.getContext()).getDisplayName() << ":"; in PrintDebugValueComment()
/external/llvm/tools/opt/
Dopt.cpp390 DISubprogram SP(NMD->getOperand(i)); in runOnModule()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp875 DISubprogram SP(*I); in recordAndEmitFilenames()