Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DDebugInfo.cpp39 DIDescriptor::DIDescriptor(const DISubprogram F) : DbgNode(F.DbgNode) { in DIDescriptor()
432 bool DISubprogram::Verify() const { in Verify()
541 return !(DISubprogram(getContext()).describes(CurFn)); in isInlinedFnArgument()
546 bool DISubprogram::describes(const Function *F) { in describes()
558 unsigned DISubprogram::isOptimized() const { in isOptimized()
565 MDNode *DISubprogram::getVariablesNodes() const { in getVariablesNodes()
573 DIArray DISubprogram::getVariables() const { in getVariables()
590 return DISubprogram(DbgNode).getFilename(); in getFilename()
610 return DISubprogram(DbgNode).getDirectory(); in getDirectory()
681 void DISubprogram::anchor() { } in anchor()
[all …]
DDbgInfoPrinter.cpp89 if (DISubprogram(DIG).getFunction() == V) in findDbgSubprogramDeclare()
139 DISubprogram Var(cast<MDNode>(DIF)); in getLocationInfo()
DModuleDebugInfoPrinter.cpp70 DISubprogram(*I).print(O); in print()
DDIBuilder.cpp49 DISubprogram SP(SPs.getElement(i)); in finalize()
793 DISubprogram Fn(getDISubprogram(Scope)); in createLocalVariable()
823 DISubprogram DIBuilder::createFunction(DIDescriptor Context, in createFunction()
866 return DISubprogram(Node); in createFunction()
870 DISubprogram DIBuilder::createMethod(DIDescriptor Context, in createMethod()
913 return DISubprogram(Node); in createMethod()
/external/llvm/include/llvm/Analysis/
DDebugInfo.h41 class DISubprogram; variable
88 explicit DIDescriptor(const DISubprogram F);
479 class DISubprogram : public DIScope {
482 explicit DISubprogram(const MDNode *N = 0) : DIScope(N) {} in DIScope()
591 DISubprogram getFunctionDeclaration() const { in getFunctionDeclaration()
592 return getFieldAs<DISubprogram>(18); in getFunctionDeclaration()
842 DISubprogram getDISubprogram(const MDNode *Scope);
853 NamedMDNode *getOrInsertFnSpecificMDNode(Module &M, DISubprogram SP);
857 NamedMDNode *getFnSpecificMDNode(const Module &M, DISubprogram SP);
883 void processSubprogram(DISubprogram SP);
[all …]
DDIBuilder.h42 class DISubprogram; variable
454 DISubprogram createFunction(DIDescriptor Scope, StringRef Name,
485 DISubprogram createMethod(DIDescriptor Scope, StringRef Name,
/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp381 if (DISubprogram(NMD->getOperand(i)).Verify()) in runOnModule()
391 if (Function *F = DISubprogram(*I).getFunction()) in runOnModule()
401 StringRef FName = DISubprogram(*I).getLinkageName(); in runOnModule()
403 FName = DISubprogram(*I).getName(); in runOnModule()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h213 void addSourceLine(DIE *Die, DISubprogram SP);
273 DIE *getOrCreateSubprogramDIE(DISubprogram SP);
294 void addPubTypes(DISubprogram SP);
DDwarfDebug.cpp240 static void addSubprogramNames(CompileUnit *TheCU, DISubprogram SP, in addSubprogramNames()
273 DISubprogram SP(SPNode); in updateSubprogramScopeDIE()
275 DISubprogram SPDecl = SP.getFunctionDeclaration(); in updateSubprogramScopeDIE()
386 DISubprogram InlinedSP = getDISubprogram(DS); in constructInlinedScopeDIE()
513 TheCU->addPubTypes(DISubprogram(DS)); in constructScopeDIE()
602 DISubprogram SP(N); in constructSubprogramDIE()
625 if (CompileUnit *CU = CUMap.lookup(DISubprogram(N).getCompileUnit())) in collectInfoFromNamedMDNodes()
686 if (CompileUnit *CU = CUMap.lookup(DISubprogram(N).getCompileUnit())) in collectLegacyDebugInfo()
748 DISubprogram SP(Subprograms.getElement(i)); in endModule()
992 DISubprogram(DV.getContext()).describes(MF->getFunction())) in collectVariableInfo()
[all …]
DDwarfCompileUnit.cpp155 void CompileUnit::addSourceLine(DIE *Die, DISubprogram SP) { in addSourceLine()
599 DIE *ContextDIE = getOrCreateSubprogramDIE(DISubprogram(Context)); in addToContextOwner()
687 void CompileUnit::addPubTypes(DISubprogram SP) { in addPubTypes()
826 DISubprogram SP(Element); in constructTypeDIE()
827 ElemDie = getOrCreateSubprogramDIE(DISubprogram(Element)); in constructTypeDIE()
1013 DIE *CompileUnit::getOrCreateSubprogramDIE(DISubprogram SP) { in getOrCreateSubprogramDIE()
1018 DISubprogram SPDecl = SP.getFunctionDeclaration(); in getOrCreateSubprogramDIE()
DDwarfDebug.h521 DIE *createSubprogramDIE(DISubprogram SP);
DAsmPrinter.cpp570 OS << DISubprogram(V.getContext()).getDisplayName() << ":"; in EmitDebugValueComment()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp251 GCOVFunction(DISubprogram SP, raw_ostream *os, in GCOVFunction()
381 DISubprogram SP(SPs.getElement(i)); in emitGCNO()
429 DISubprogram SP(SPs.getElement(i)); in emitProfileArcs()
650 DISubprogram SP(I->second); in insertCounterWriteout()
/external/clang/lib/CodeGen/
DCGDebugInfo.h117 llvm::DISubprogram CreateCXXMemberFunction(const CXXMethodDecl *Method,
289 llvm::DISubprogram getFunctionDeclaration(const Decl *D);
DCGDebugInfo.cpp906 llvm::DISubprogram
964 llvm::DISubprogram SP = in CreateCXXMemberFunction()
1922 llvm::DISubprogram CGDebugInfo::getFunctionDeclaration(const Decl *D) { in getFunctionDeclaration()
1924 if (!FD) return llvm::DISubprogram(); in getFunctionDeclaration()
1932 llvm::DISubprogram SP(dyn_cast_or_null<llvm::MDNode>(&*MI->second)); in getFunctionDeclaration()
1933 if (SP.isSubprogram() && !llvm::DISubprogram(SP).isDefinition()) in getFunctionDeclaration()
1943 llvm::DISubprogram SP(dyn_cast_or_null<llvm::MDNode>(&*MI->second)); in getFunctionDeclaration()
1944 if (SP.isSubprogram() && !llvm::DISubprogram(SP).isDefinition()) in getFunctionDeclaration()
1948 return llvm::DISubprogram(); in getFunctionDeclaration()
2003 if (SP.isSubprogram() && llvm::DISubprogram(SP).isDefinition()) { in EmitFunctionStart()
[all …]
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp118 DISubprogram FunctionDI = getDISubprogram(FirstLocScope); in NotifyFunctionEmitted()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp115 DISubprogram FunctionDI = getDISubprogram(FirstLocScope); in NotifyFunctionEmitted()
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp168 && DISubprogram(Scope).describes(MF->getFunction())) in getOrCreateRegularScope()
/external/llvm/tools/opt/
Dopt.cpp378 DISubprogram SP(NMD->getOperand(i)); in runOnModule()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp714 O << DISubprogram(V.getContext()).getDisplayName() << ":"; in PrintDebugValueComment()