Home
last modified time | relevance | path

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

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp308 EXPECT_TRUE(Sub == OldFunc->getSubprogram()); in TEST_F()
309 EXPECT_TRUE(Sub == NewFunc->getSubprogram()); in TEST_F()
338 EXPECT_EQ(OldFunc->getSubprogram(), OldSubprogram); in TEST_F()
339 EXPECT_EQ(NewFunc->getSubprogram(), NewSubprogram); in TEST_F()
373 EXPECT_EQ(OldFunc->getSubprogram(), in TEST_F()
376 EXPECT_EQ(NewFunc->getSubprogram(), in TEST_F()
383 EXPECT_EQ(OldFunc->getSubprogram(), in TEST_F()
386 EXPECT_EQ(NewFunc->getSubprogram(), in TEST_F()
455 DISubprogram *SP = NewF->getSubprogram(); in TEST_F()
/external/llvm/lib/IR/
DDIBuilder.cpp622 static DISubprogram *getSubprogram(bool IsDistinct, Ts &&... Args) { in getSubprogram() function
633 auto *Node = getSubprogram( in createFunction()
670 auto *SP = getSubprogram( in createMethod()
725 assert(DL->getScope()->getSubprogram() == in insertDeclare()
726 VarInfo->getScope()->getSubprogram() && in insertDeclare()
744 assert(DL->getScope()->getSubprogram() == in insertDeclare()
745 VarInfo->getScope()->getSubprogram() && in insertDeclare()
771 assert(DL->getScope()->getSubprogram() == in insertDbgValueIntrinsic()
772 VarInfo->getScope()->getSubprogram() && in insertDbgValueIntrinsic()
794 assert(DL->getScope()->getSubprogram() == in insertDbgValueIntrinsic()
[all …]
DDebugInfo.cpp36 return LocalScope->getSubprogram(); in getDISubprogram()
82 if (auto *SP = cast_or_null<DISubprogram>(F.getSubprogram())) in processModule()
246 if (F.getSubprogram()) { in stripDebugInfo()
DDebugInfoMetadata.cpp398 DISubprogram *DILocalScope::getSubprogram() const { in getSubprogram() function in DILocalScope
400 return Block->getScope()->getSubprogram(); in getSubprogram()
436 if (F->getSubprogram() == this) in describes()
DVerifier.cpp2046 auto *N = F.getSubprogram(); in visitFunction()
2073 DISubprogram *SP = Scope ? Scope->getSubprogram() : nullptr; in visitFunction()
2643 if (I->getFunction()->getSubprogram() && CS.getCalledFunction() && in verifyCallSite()
2644 CS.getCalledFunction()->getSubprogram()) in verifyCallSite()
4137 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() function
4145 return getSubprogram(LB->getRawScope()); in getSubprogram()
4179 DISubprogram *VarSP = getSubprogram(Var->getRawScope()); in visitDbgIntrinsic()
4180 DISubprogram *LocSP = getSubprogram(Loc->getRawScope()); in visitDbgIntrinsic()
4186 &DII, BB, F, Var, Var->getScope()->getSubprogram(), Loc, in visitDbgIntrinsic()
4187 Loc->getScope()->getSubprogram()); in visitDbgIntrinsic()
DMetadata.cpp1453 DISubprogram *Function::getSubprogram() const { in getSubprogram() function in Function
/external/llvm/unittests/IR/
DMetadataTest.cpp85 DISubprogram *getSubprogram() { in getSubprogram() function in __anon00bb5b560111::MetadataTest
778 DISubprogram *N = getSubprogram(); in TEST_F()
803 MDNode *N = getSubprogram(); in TEST_F()
991 DIScope *Scope = getSubprogram(); in TEST_F()
1025 "something", File, 1, getSubprogram(), in TEST_F()
1052 DIScope *Scope = getSubprogram(); in TEST_F()
1071 DIScope *Scope = getSubprogram(); in TEST_F()
1125 Context, Tag, Name, File, Line, getSubprogram(), BaseType, in TEST_F()
1190 DIScope *Scope = getSubprogram(); in TEST_F()
1216 DIScope *Scope = getSubprogram(); in TEST_F()
[all …]
/external/llvm/lib/Transforms/IPO/
DSampleProfile.cpp470 unsigned HeaderLineno = DIL->getScope()->getSubprogram()->getLine(); in getInstWeight()
570 DISubprogram *SP = DIL->getScope()->getSubprogram(); in findCalleeFunctionSamples()
599 DISubprogram *SP = DIL->getScope()->getSubprogram(); in findFunctionSamples()
1067 if (DISubprogram *S = F.getSubprogram()) in getFunctionLoc()
1171 F.getSubprogram()->getFilename(), getFunctionLoc(F), in emitAnnotations()
1184 F.getSubprogram()->getFilename(), getFunctionLoc(F), in emitAnnotations()
DStripSymbols.cpp320 if (DISubprogram *SP = F.getSubprogram()) in runOnModule()
DDeadArgumentElimination.cpp227 NF->setSubprogram(Fn.getSubprogram()); in DeleteDeadVarargs()
1024 NF->setSubprogram(F->getSubprogram()); in RemoveDeadStuffFromFunction()
DArgumentPromotion.cpp759 NF->setSubprogram(F->getSubprogram()); in DoPromotion()
/external/llvm/lib/Transforms/Utils/
DAddDiscriminators.cpp164 if (NoDiscriminators || !F.getSubprogram() || in addDiscriminators()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp291 const DISubprogram *Inlinee = Var.DIVar->getScope()->getSubprogram(); in recordLocalVariable()
343 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()).SiteFuncId; in maybeRecordLocation()
349 getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()); in maybeRecordLocation()
623 auto *SP = GV->getSubprogram(); in emitDebugInfoForFunction()
670 OS.EmitIntValue(getFuncIdForSubprogram(GV->getSubprogram()).getIndex(), 4); in emitDebugInfoForFunction()
1922 collectVariableInfo(GV->getSubprogram()); in endFunction()
DDwarfDebug.cpp526 if (auto *SP = F.getSubprogram()) in finishSubprogramDefinitions()
1045 auto DI = MF->getFunction()->getSubprogram(); in beginFunction()
1085 auto *SP = L->getInlinedAtScope()->getSubprogram(); in beginFunction()
1095 const DISubprogram *SP = MF->getFunction()->getSubprogram(); in endFunction()
/external/llvm/lib/CodeGen/
DStackProtector.cpp451 B.SetCurrentDebugLocation(DebugLoc::get(0, 0, F->getSubprogram())); in CreateFailBB()
DLiveDebugVariables.cpp755 if (!mf.getFunction()->getSubprogram()) { in runOnMachineFunction()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DFunction.h668 DISubprogram *getSubprogram() const;
/external/llvm/include/llvm/IR/
DFunction.h641 DISubprogram *getSubprogram() const;
DDebugInfoMetadata.h1154 DISubprogram *getSubprogram() const;
2005 return DL && getScope()->getSubprogram() == DL->getScope()->getSubprogram();
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp517 DISubprogram *SP = F.getSubprogram(); in emitProfileNotes()
594 DISubprogram *SP = F.getSubprogram(); in emitProfileArcs()
DSanitizerCoverage.cpp529 if (auto SP = F.getSubprogram()) in InjectCoverageAtBlock()
DAddressSanitizer.cpp2051 if (auto SP = F.getSubprogram()) in poisonStack()
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp147 if (auto DIS = F->getSubprogram()) { in transDbgInfo()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp4684 if (!Variable->getScope()->getSubprogram()->describes(MF.getFunction())) in EmitFuncArgumentDbgValue()