Searched refs:getInstructionByName (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | CodeMoverUtilsTest.cpp | 57 static Instruction *getInstructionByName(Function &F, StringRef Name) { in getInstructionByName() function 499 getInstructionByName(F, "arrayidx_A5")->getNextNode(); in TEST() 500 Instruction *SI = getInstructionByName(F, "arrayidx_A")->getNextNode(); in TEST() 501 Instruction *LI1 = getInstructionByName(F, "load1"); in TEST() 502 Instruction *LI2 = getInstructionByName(F, "load2"); in TEST() 504 getInstructionByName(F, "arrayidx_A6")->getNextNode(); in TEST() 580 Instruction *AddInst = getInstructionByName(F, "add"); in TEST() 581 Instruction *SubInst = getInstructionByName(F, "sub"); in TEST() 612 Instruction *IncInst = getInstructionByName(F, "inc"); in TEST() 613 Instruction *CmpInst = getInstructionByName(F, "cmp"); in TEST() [all …]
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | AliasAnalysisTest.cpp | 210 static Instruction *getInstructionByName(Function &F, StringRef Name) { in getInstructionByName() function 238 Instruction *Phi = getInstructionByName(*F, "phi"); in TEST_F() 239 Instruction *A1 = getInstructionByName(*F, "a1"); in TEST_F() 240 Instruction *A2 = getInstructionByName(*F, "a2"); in TEST_F() 241 Instruction *S1 = getInstructionByName(*F, "s1"); in TEST_F() 242 Instruction *S2 = getInstructionByName(*F, "s2"); in TEST_F() 283 Instruction *A = getInstructionByName(*F, "a"); in TEST_F() 284 Instruction *B = getInstructionByName(*F, "b"); in TEST_F() 285 Instruction *ANext = getInstructionByName(*F, "a.next"); in TEST_F() 286 Instruction *BNext = getInstructionByName(*F, "b.next"); in TEST_F()
|
D | ScalarEvolutionTest.cpp | 150 static Instruction *getInstructionByName(Function &F, StringRef Name) { in getInstructionByName() function 232 auto *IV0 = getInstructionByName(F, "iv0"); in TEST_F() 233 auto *IV0Inc = getInstructionByName(F, "iv0.inc"); in TEST_F() 274 CheckCommutativeMulExprs(SE, SE.getSCEV(getInstructionByName(F, "x")), in TEST_F() 275 SE.getSCEV(getInstructionByName(F, "y")), in TEST_F() 276 SE.getSCEV(getInstructionByName(F, "z"))); in TEST_F() 1067 auto *ScevInc = SE.getSCEV(getInstructionByName(F, "inc")); in TEST_F() 1098 auto *ScevV0 = SE.getSCEV(getInstructionByName(F, "v0")); // %pp in TEST_F() 1099 auto *ScevV3 = SE.getSCEV(getInstructionByName(F, "v3")); // (3 + %pp) in TEST_F() 1100 auto *ScevIV = SE.getSCEV(getInstructionByName(F, "iv")); // {0,+,1} in TEST_F() [all …]
|