Home
last modified time | relevance | path

Searched refs:getSubprogram (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEntryExitInstrumenter.cpp84 if (auto SP = F.getSubprogram()) in runOnFunction()
110 else if (auto SP = F.getSubprogram()) in runOnFunction()
DAddDiscriminators.cpp172 if (NoDiscriminators || !F.getSubprogram()) in addDiscriminators()
DCloneFunction.cpp128 DISubprogram *SP = OldFunc->getSubprogram(); in CloneFunctionInto()
265 CloneFunctionInto(NewF, F, VMap, F->getSubprogram() != nullptr, Returns, "", in CloneFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProf.cpp172 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset()
185 PrevDIL->getScope()->getSubprogram()->getLinkageName())); in findFunctionSamples()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp748 static DISubprogram *getSubprogram(bool IsDistinct, Ts &&... Args) { in getSubprogram() function
761 auto *Node = getSubprogram( in createFunction()
799 auto *SP = getSubprogram( in createMethod()
927 assert(DL->getScope()->getSubprogram() == in insertDeclare()
928 VarInfo->getScope()->getSubprogram() && in insertDeclare()
949 assert(DL->getScope()->getSubprogram() == in insertDbgValueIntrinsic()
950 VarInfo->getScope()->getSubprogram() && in insertDbgValueIntrinsic()
970 assert(DL->getScope()->getSubprogram() == in insertLabel()
971 LabelInfo->getScope()->getSubprogram() && in insertLabel()
DDiagnosticInfo.cpp166 if (DISubprogram *SP = F->getSubprogram()) in Argument()
257 RemarkName, *Func, Func->getSubprogram(), in OptimizationRemark()
DMetadata.cpp335 return Fn->getSubprogram(); in getLocalFunctionMetadata()
341 return Fn->getSubprogram(); in getLocalFunctionMetadata()
1525 DISubprogram *Function::getSubprogram() const { in getSubprogram() function in Function
1530 if (DISubprogram *SP = getSubprogram()) { in isDebugInfoForProfiling()
DVerifier.cpp2351 auto *N = F.getSubprogram(); in visitFunction()
2379 DISubprogram *SP = Scope ? Scope->getSubprogram() : nullptr; in visitFunction()
3042 if (Call.getFunction()->getSubprogram() && Call.getCalledFunction() && in visitCallBase()
3043 Call.getCalledFunction()->getSubprogram()) in visitCallBase()
4747 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() function
4755 return getSubprogram(LB->getRawScope()); in getSubprogram()
4928 DISubprogram *VarSP = getSubprogram(Var->getRawScope()); in visitDbgIntrinsic()
4929 DISubprogram *LocSP = getSubprogram(Loc->getRawScope()); in visitDbgIntrinsic()
4935 &DII, BB, F, Var, Var->getScope()->getSubprogram(), Loc, in visitDbgIntrinsic()
4936 Loc->getScope()->getSubprogram()); in visitDbgIntrinsic()
[all …]
DDebugInfo.cpp45 return LocalScope->getSubprogram(); in getDISubprogram()
66 if (auto *SP = cast_or_null<DISubprogram>(F.getSubprogram())) in processModule()
632 if (auto *SP = F.getSubprogram()) { in stripNonLineTableDebugInfo()
1421 return wrap(unwrap<Function>(Func)->getSubprogram()); in LLVMGetSubprogram()
DDebugInfoMetadata.cpp583 DISubprogram *DILocalScope::getSubprogram() const { in getSubprogram() function in DILocalScope
585 return Block->getScope()->getSubprogram(); in getSubprogram()
663 if (F->getSubprogram() == this) in describes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineFunctionPass.cpp85 MF.getFunction().getSubprogram(), in runOnFunction()
DLexicalScopes.cpp53 if (Fn.getFunction().getSubprogram()->getUnit()->getEmissionKind() == in initialize()
145 if (Scope->getSubprogram()->getUnit()->getEmissionKind() == in getOrCreateLexicalScope()
DShrinkWrap.cpp481 MF.getFunction().getSubprogram(), &MF.front()); in runOnMachineFunction()
DStackProtector.cpp532 B.SetCurrentDebugLocation(DebugLoc::get(0, 0, F->getSubprogram())); in CreateFailBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86DiscriminateMemOps.cpp92 DISubprogram *FDI = MF.getFunction().getSubprogram(); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLexicalScopes.h50 assert(D->getSubprogram()->getUnit()->getEmissionKind() != in LexicalScope()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DInstructionSelect.cpp218 MF.getFunction().getSubprogram(), in runOnMachineFunction()
DLegalizer.cpp321 MF.getFunction().getSubprogram(), in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSampleProfile.cpp1040 R->getValue()->getSubprogram() && in inlineHotFunctions()
1060 } else if (CalledFunction && CalledFunction->getSubprogram() && in inlineHotFunctions()
1629 if (DISubprogram *S = F.getSubprogram()) in getFunctionLoc()
1745 F.getSubprogram()->getFilename(), getFunctionLoc(F), in emitAnnotations()
1758 F.getSubprogram()->getFilename(), getFunctionLoc(F), in emitAnnotations()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTFDebug.cpp848 auto *SP = MF->getFunction().getSubprogram(); in beginFunctionImpl()
1032 auto *S = MI->getMF()->getFunction().getSubprogram(); in beginInstruction()
1046 auto SP = DL.get()->getScope()->getSubprogram(); in beginInstruction()
1177 const DISubprogram *SP = F->getSubprogram(); in processFuncPrototypes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp274 getInlineSite(OuterIA, InlinedAt->getScope()->getSubprogram()) in getInlineSite()
479 const DISubprogram *Inlinee = Var.DIVar->getScope()->getSubprogram(); in recordLocalVariable()
531 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()).SiteFuncId; in maybeRecordLocation()
537 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()); in maybeRecordLocation()
993 auto *SP = GV->getSubprogram(); in emitDebugInfoForFunction()
1039 OS.EmitIntValue(getFuncIdForSubprogram(GV->getSubprogram()).getIndex(), 4); in emitDebugInfoForFunction()
2835 collectVariableInfo(GV.getSubprogram()); in endFunctionImpl()
2851 if (!CurFn->HaveLineInfo && !GV.getSubprogram()->isThunk()) { in endFunctionImpl()
DDebugHandlerBase.cpp175 auto *SP = MF->getFunction().getSubprogram(); in hasDebugInfo()
DDwarfDebug.cpp750 if (!CalleeDecl || !CalleeDecl->getSubprogram()) in constructCallSiteEntryDIEs()
752 CalleeSP = CalleeDecl->getSubprogram(); in constructCallSiteEntryDIEs()
1681 const auto *SP = MI->getMF()->getFunction().getSubprogram(); in beginInstruction()
1810 MF.getFunction().getSubprogram()->getUnit()); in emitInitialLocDirective()
1813 const DISubprogram *SP = PrologEndLoc->getInlinedAtScope()->getSubprogram(); in emitInitialLocDirective()
1826 auto *SP = MF->getFunction().getSubprogram(); in beginFunctionImpl()
1860 const DISubprogram *SP = MF->getFunction().getSubprogram(); in endFunctionImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp488 SmallString<128> Filename = getFilename(F.getSubprogram()); in isFunctionInstrumented()
693 DISubprogram *SP = F.getSubprogram(); in emitProfileNotes()
782 DISubprogram *SP = F.getSubprogram(); in emitProfileArcs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DFunction.h668 DISubprogram *getSubprogram() const;

12