/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-project/llvm/lib/Analysis/ |
D | InlineAdvisor.cpp | 387 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/ |
D | MetadataTest.cpp | 87 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/ |
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()
|
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | CloningTest.cpp | 562 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/ |
D | MetadataTest.cpp | 85 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/ |
D | EntryExitInstrumenter.cpp | 84 if (auto SP = F.getSubprogram()) in runOnFunction() 110 else if (auto SP = F.getSubprogram()) in runOnFunction()
|
D | AddDiscriminators.cpp | 172 if (NoDiscriminators || !F.getSubprogram()) in addDiscriminators()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | EntryExitInstrumenter.cpp | 85 if (auto SP = F.getSubprogram()) in runOnFunction() 106 else if (auto SP = F.getSubprogram()) in runOnFunction()
|
D | AddDiscriminators.cpp | 172 if (NoDiscriminators || !F.getSubprogram()) in addDiscriminators()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | SampleContextTracker.cpp | 385 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/ |
D | SampleProf.cpp | 172 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset() 185 PrevDIL->getScope()->getSubprogram()->getLinkageName())); in findFunctionSamples()
|
/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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DIBuilder.cpp | 748 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/ |
D | DIBuilder.cpp | 792 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/ |
D | PseudoProbeInserter.cpp | 75 auto *SP = DL->getScope()->getSubprogram(); in getFuncGUID()
|
D | MachineFunctionPass.cpp | 84 MF.getFunction().getSubprogram(), in runOnFunction()
|
D | LexicalScopes.cpp | 54 if (Fn.getFunction().getSubprogram()->getUnit()->getEmissionKind() == in initialize() 146 if (Scope->getSubprogram()->getUnit()->getEmissionKind() == in getOrCreateLexicalScope()
|
/external/llvm-project/llvm/lib/ProfileData/ |
D | SampleProf.cpp | 175 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/ |
D | MachineFunctionPass.cpp | 85 MF.getFunction().getSubprogram(), in runOnFunction()
|
D | LexicalScopes.cpp | 53 if (Fn.getFunction().getSubprogram()->getUnit()->getEmissionKind() == in initialize() 145 if (Scope->getSubprogram()->getUnit()->getEmissionKind() == in getOrCreateLexicalScope()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | Legalizer.cpp | 359 MF.getFunction().getSubprogram(), in runOnMachineFunction() 368 MF.getFunction().getSubprogram(), in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86DiscriminateMemOps.cpp | 92 DISubprogram *FDI = MF.getFunction().getSubprogram(); in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86DiscriminateMemOps.cpp | 92 DISubprogram *FDI = MF.getFunction().getSubprogram(); in runOnMachineFunction()
|