/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 313 (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/ |
D | DIBuilder.cpp | 678 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 …]
|
D | DebugInfo.cpp | 38 return LocalScope->getSubprogram(); in getDISubprogram() 303 if (F.getSubprogram()) { in stripDebugInfo()
|
D | DebugInfoMetadata.cpp | 334 DISubprogram *DILocalScope::getSubprogram() const { in getSubprogram() function in DILocalScope 336 return Block->getScope()->getSubprogram(); in getSubprogram() 366 if (F->getSubprogram() == this) in describes()
|
D | Verifier.cpp | 1847 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()
|
D | Metadata.cpp | 1280 DISubprogram *Function::getSubprogram() const { in getSubprogram() function in Function
|
/external/llvm/unittests/IR/ |
D | MetadataTest.cpp | 85 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/ |
D | SampleProfile.cpp | 458 unsigned HeaderLineno = DIL->getScope()->getSubprogram()->getLine(); in getInstWeight() 548 DISubprogram *SP = DIL->getScope()->getSubprogram(); in findCalleeFunctionSamples() 586 DISubprogram *SP = DIL->getScope()->getSubprogram(); in findFunctionSamples()
|
D | StripSymbols.cpp | 310 if (DISubprogram *SP = F.getSubprogram()) in runOnModule()
|
D | DeadArgumentElimination.cpp | 304 NF->setSubprogram(Fn.getSubprogram()); in DeleteDeadVarargs() 1084 NF->setSubprogram(F->getSubprogram()); in RemoveDeadStuffFromFunction()
|
D | ArgumentPromotion.cpp | 734 NF->setSubprogram(F->getSubprogram()); in DoPromotion()
|
/external/llvm/include/llvm/IR/ |
D | Function.h | 635 DISubprogram *getSubprogram() const;
|
D | DebugInfoMetadata.h | 1096 DISubprogram *getSubprogram() const; 1917 return DL && getScope()->getSubprogram() == DL->getScope()->getSubprogram();
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 1103 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/ |
D | LiveDebugVariables.cpp | 748 if (!mf.getFunction()->getSubprogram()) { in runOnMachineFunction()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 455 if (DISubprogram *SP = F.getSubprogram()) in runOnModule()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 4263 if (!Variable->getScope()->getSubprogram()->describes(MF.getFunction())) in EmitFuncArgumentDbgValue()
|