Home
last modified time | relevance | path

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

123456

/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-project/llvm/lib/Analysis/
DInlineAdvisor.cpp387 DIL->getLine() - DIL->getScope()->getSubprogram()->getLine(); in getCallSiteLocation()
389 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in getCallSiteLocation()
391 Name = DIL->getScope()->getSubprogram()->getName(); in getCallSiteLocation()
413 Offset -= DIL->getScope()->getSubprogram()->getLine(); in addLocationToRemarks()
415 StringRef Name = DIL->getScope()->getSubprogram()->getLinkageName(); in addLocationToRemarks()
417 Name = DIL->getScope()->getSubprogram()->getName(); in addLocationToRemarks()
/external/llvm-project/llvm/unittests/IR/
DMetadataTest.cpp87 DISubprogram *getSubprogram() { in getSubprogram() function in __anon75aa9e6e0111::MetadataTest
860 DISubprogram *N = getSubprogram(); in TEST_F()
885 DISubprogram *N = getSubprogram(); in TEST_F()
952 auto *B = DILocation::get(Context, 2, 7, getSubprogram()); in TEST_F()
963 MDNode *N = getSubprogram(); in TEST_F()
1051 auto L1 = DILocation::get(Context, 1, 2, getSubprogram()); in TEST_F()
1169 DILocalScope *Scope = getSubprogram(); in TEST_F()
1189 DILocalScope *Scope = getSubprogram(); in TEST_F()
1240 DILocalScope *Scope = getSubprogram(); in TEST_F()
1281 DILocalScope *Scope = getSubprogram(); in TEST_F()
[all …]
/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()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DCloningTest.cpp562 EXPECT_NE(NewFunc->getSubprogram(), OldFunc->getSubprogram()); in TEST_F()
591 EXPECT_EQ(OldFunc->getSubprogram(), OldSubprogram); in TEST_F()
592 EXPECT_EQ(NewFunc->getSubprogram(), NewSubprogram); in TEST_F()
631 EXPECT_EQ(OldFunc->getSubprogram(), in TEST_F()
634 EXPECT_EQ(NewFunc->getSubprogram(), in TEST_F()
643 EXPECT_EQ(OldFunc->getSubprogram(), in TEST_F()
646 EXPECT_EQ(NewFunc->getSubprogram(), in TEST_F()
905 DISubprogram *SP = NewF->getSubprogram(); in TEST_F()
935 DISubprogram *SP = NewM->getFunction("f")->getSubprogram(); in TEST_F()
950 DISubprogram *SP = NewM->getFunction("f")->getSubprogram(); in TEST_F()
/external/llvm/unittests/IR/
DMetadataTest.cpp85 DISubprogram *getSubprogram() { in getSubprogram() function in __anon746306400111::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/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()
/external/llvm-project/llvm/lib/Transforms/Utils/
DEntryExitInstrumenter.cpp85 if (auto SP = F.getSubprogram()) in runOnFunction()
106 else if (auto SP = F.getSubprogram()) in runOnFunction()
DAddDiscriminators.cpp172 if (NoDiscriminators || !F.getSubprogram()) in addDiscriminators()
/external/llvm-project/llvm/lib/Transforms/IPO/
DSampleContextTracker.cpp385 StringRef Name = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
387 Name = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
396 StringRef RootName = PrevDIL->getScope()->getSubprogram()->getLinkageName(); in getContextFor()
398 RootName = PrevDIL->getScope()->getSubprogram()->getName(); in getContextFor()
/external/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()
/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()
/external/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()
/external/llvm-project/llvm/lib/IR/
DDIBuilder.cpp792 static DISubprogram *getSubprogram(bool IsDistinct, Ts &&... Args) { in getSubprogram() function
805 auto *Node = getSubprogram( in createFunction()
843 auto *SP = getSubprogram( in createMethod()
968 assert(DL->getScope()->getSubprogram() == in insertDeclare()
969 VarInfo->getScope()->getSubprogram() && in insertDeclare()
991 assert(DL->getScope()->getSubprogram() == in insertDbgValueIntrinsic()
992 VarInfo->getScope()->getSubprogram() && in insertDbgValueIntrinsic()
1013 assert(DL->getScope()->getSubprogram() == in insertLabel()
1014 LabelInfo->getScope()->getSubprogram() && in insertLabel()
/external/llvm-project/llvm/lib/CodeGen/
DPseudoProbeInserter.cpp75 auto *SP = DL->getScope()->getSubprogram(); in getFuncGUID()
DMachineFunctionPass.cpp84 MF.getFunction().getSubprogram(), in runOnFunction()
DLexicalScopes.cpp54 if (Fn.getFunction().getSubprogram()->getUnit()->getEmissionKind() == in initialize()
146 if (Scope->getSubprogram()->getUnit()->getEmissionKind() == in getOrCreateLexicalScope()
/external/llvm-project/llvm/lib/ProfileData/
DSampleProf.cpp175 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset()
188 PrevDIL->getScope()->getSubprogram()->getLinkageName())); in findFunctionSamples()
/external/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()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizer.cpp359 MF.getFunction().getSubprogram(), in runOnMachineFunction()
368 MF.getFunction().getSubprogram(), in runOnMachineFunction()
/external/llvm-project/llvm/lib/Target/X86/
DX86DiscriminateMemOps.cpp92 DISubprogram *FDI = MF.getFunction().getSubprogram(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86DiscriminateMemOps.cpp92 DISubprogram *FDI = MF.getFunction().getSubprogram(); in runOnMachineFunction()

123456