Home
last modified time | relevance | path

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

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp313 (Sub1 == OldFunc->getSubprogram() && Sub2 == NewFunc->getSubprogram()) || in TEST_F()
314 (Sub1 == NewFunc->getSubprogram() && Sub2 == OldFunc->getSubprogram())); in TEST_F()
358 EXPECT_EQ(OldFunc->getSubprogram(), OldSubprogram); in TEST_F()
359 EXPECT_EQ(NewFunc->getSubprogram(), NewSubprogram); in TEST_F()
393 EXPECT_EQ(OldFunc->getSubprogram(), in TEST_F()
396 EXPECT_EQ(NewFunc->getSubprogram(), in TEST_F()
403 EXPECT_EQ(OldFunc->getSubprogram(), in TEST_F()
406 EXPECT_EQ(NewFunc->getSubprogram(), in TEST_F()
/external/llvm/lib/IR/
DDIBuilder.cpp678 static DISubprogram *getSubprogram(bool IsDistinct, Ts &&... Args) { in getSubprogram() function
690 getSubprogram(/* IsDistinct = */ isDefinition, VMContext, in createFunction()
725 auto *SP = getSubprogram( in createMethod()
780 assert(DL->getScope()->getSubprogram() == in insertDeclare()
781 VarInfo->getScope()->getSubprogram() && in insertDeclare()
799 assert(DL->getScope()->getSubprogram() == in insertDeclare()
800 VarInfo->getScope()->getSubprogram() && in insertDeclare()
826 assert(DL->getScope()->getSubprogram() == in insertDbgValueIntrinsic()
827 VarInfo->getScope()->getSubprogram() && in insertDbgValueIntrinsic()
849 assert(DL->getScope()->getSubprogram() == in insertDbgValueIntrinsic()
[all …]
DDebugInfo.cpp38 return LocalScope->getSubprogram(); in getDISubprogram()
303 if (F.getSubprogram()) { in stripDebugInfo()
DDebugInfoMetadata.cpp334 DISubprogram *DILocalScope::getSubprogram() const { in getSubprogram() function in DILocalScope
336 return Block->getScope()->getSubprogram(); in getSubprogram()
366 if (F->getSubprogram() == this) in describes()
DVerifier.cpp1847 auto *N = F.getSubprogram(); in visitFunction()
1872 DISubprogram *SP = Scope ? Scope->getSubprogram() : nullptr; in visitFunction()
3764 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() function
3772 return getSubprogram(LB->getRawScope()); in getSubprogram()
3806 DISubprogram *VarSP = getSubprogram(Var->getRawScope()); in visitDbgIntrinsic()
3807 DISubprogram *LocSP = getSubprogram(Loc->getRawScope()); in visitDbgIntrinsic()
3813 &DII, BB, F, Var, Var->getScope()->getSubprogram(), Loc, in visitDbgIntrinsic()
3814 Loc->getScope()->getSubprogram()); in visitDbgIntrinsic()
DMetadata.cpp1280 DISubprogram *Function::getSubprogram() const { in getSubprogram() function in Function
/external/llvm/unittests/IR/
DMetadataTest.cpp85 DISubprogram *getSubprogram() { in getSubprogram() function in __anonf9fc4dde0111::MetadataTest
90 DIScopeRef getSubprogramRef() { return getSubprogram()->getRef(); } in getSubprogramRef()
776 DISubprogram *N = getSubprogram(); in TEST_F()
801 MDNode *N = getSubprogram(); in TEST_F()
1421 DISubprogram *Declaration = getSubprogram(); in TEST_F()
1532 getSubprogram(), Variables)); in TEST_F()
1546 DILocalScope *Scope = getSubprogram(); in TEST_F()
1561 DILexicalBlock::get(Context, getSubprogram(), File, Line, Column)); in TEST_F()
1571 DISubprogram *SP = getSubprogram(); in TEST_F()
1599 DILocalScope *Scope = getSubprogram(); in TEST_F()
[all …]
/external/llvm/lib/Transforms/IPO/
DSampleProfile.cpp458 unsigned HeaderLineno = DIL->getScope()->getSubprogram()->getLine(); in getInstWeight()
548 DISubprogram *SP = DIL->getScope()->getSubprogram(); in findCalleeFunctionSamples()
586 DISubprogram *SP = DIL->getScope()->getSubprogram(); in findFunctionSamples()
DStripSymbols.cpp310 if (DISubprogram *SP = F.getSubprogram()) in runOnModule()
DDeadArgumentElimination.cpp304 NF->setSubprogram(Fn.getSubprogram()); in DeleteDeadVarargs()
1084 NF->setSubprogram(F->getSubprogram()); in RemoveDeadStuffFromFunction()
DArgumentPromotion.cpp734 NF->setSubprogram(F->getSubprogram()); in DoPromotion()
/external/llvm/include/llvm/IR/
DFunction.h635 DISubprogram *getSubprogram() const;
DDebugInfoMetadata.h1096 DISubprogram *getSubprogram() const;
1917 return DL && getScope()->getSubprogram() == DL->getScope()->getSubprogram();
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1103 auto DI = MF->getFunction()->getSubprogram(); in beginFunction()
1184 auto *SP = L->getInlinedAtScope()->getSubprogram(); in beginFunction()
1195 !MF->getFunction()->getSubprogram()) { in endFunction()
/external/llvm/lib/CodeGen/
DLiveDebugVariables.cpp748 if (!mf.getFunction()->getSubprogram()) { in runOnMachineFunction()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp455 if (DISubprogram *SP = F.getSubprogram()) in runOnModule()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp4263 if (!Variable->getScope()->getSubprogram()->describes(MF.getFunction())) in EmitFuncArgumentDbgValue()