/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 308 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/ |
D | DIBuilder.cpp | 622 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 …]
|
D | DebugInfo.cpp | 36 return LocalScope->getSubprogram(); in getDISubprogram() 82 if (auto *SP = cast_or_null<DISubprogram>(F.getSubprogram())) in processModule() 246 if (F.getSubprogram()) { in stripDebugInfo()
|
D | DebugInfoMetadata.cpp | 398 DISubprogram *DILocalScope::getSubprogram() const { in getSubprogram() function in DILocalScope 400 return Block->getScope()->getSubprogram(); in getSubprogram() 436 if (F->getSubprogram() == this) in describes()
|
D | Verifier.cpp | 2046 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()
|
D | Metadata.cpp | 1453 DISubprogram *Function::getSubprogram() const { in getSubprogram() function in Function
|
/external/llvm/unittests/IR/ |
D | MetadataTest.cpp | 85 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/ |
D | SampleProfile.cpp | 470 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()
|
D | StripSymbols.cpp | 320 if (DISubprogram *SP = F.getSubprogram()) in runOnModule()
|
D | DeadArgumentElimination.cpp | 227 NF->setSubprogram(Fn.getSubprogram()); in DeleteDeadVarargs() 1024 NF->setSubprogram(F->getSubprogram()); in RemoveDeadStuffFromFunction()
|
D | ArgumentPromotion.cpp | 759 NF->setSubprogram(F->getSubprogram()); in DoPromotion()
|
/external/llvm/lib/Transforms/Utils/ |
D | AddDiscriminators.cpp | 164 if (NoDiscriminators || !F.getSubprogram() || in addDiscriminators()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.cpp | 291 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()
|
D | DwarfDebug.cpp | 526 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/ |
D | StackProtector.cpp | 451 B.SetCurrentDebugLocation(DebugLoc::get(0, 0, F->getSubprogram())); in CreateFailBB()
|
D | LiveDebugVariables.cpp | 755 if (!mf.getFunction()->getSubprogram()) { in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Function.h | 668 DISubprogram *getSubprogram() const;
|
/external/llvm/include/llvm/IR/ |
D | Function.h | 641 DISubprogram *getSubprogram() const;
|
D | DebugInfoMetadata.h | 1154 DISubprogram *getSubprogram() const; 2005 return DL && getScope()->getSubprogram() == DL->getScope()->getSubprogram();
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 517 DISubprogram *SP = F.getSubprogram(); in emitProfileNotes() 594 DISubprogram *SP = F.getSubprogram(); in emitProfileArcs()
|
D | SanitizerCoverage.cpp | 529 if (auto SP = F.getSubprogram()) in InjectCoverageAtBlock()
|
D | AddressSanitizer.cpp | 2051 if (auto SP = F.getSubprogram()) in poisonStack()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVWriter.cpp | 147 if (auto DIS = F->getSubprogram()) { in transDbgInfo()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 4684 if (!Variable->getScope()->getSubprogram()->describes(MF.getFunction())) in EmitFuncArgumentDbgValue()
|