Searched refs:CanonicalIV (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | ScalarEvolutionExpanderTest.cpp | 534 PHINode *CanonicalIV = Loop->getCanonicalInductionVariable(); in TEST_F() local 536 cast<IntegerType>(CanonicalIV->getType())->getBitWidth(); in TEST_F() 572 PHINode *CanonicalIV = Loop->getCanonicalInductionVariable(); in TEST_F() local 573 EXPECT_EQ(CanonicalIV, &GetInstByName(F, "canonical.iv")); in TEST_F() 579 cast<IntegerType>(CanonicalIV->getType())->getBitWidth(); in TEST_F() 591 if (PN == &I || PN == CanonicalIV) in TEST_F() 652 auto &CanonicalIV = GetInstByName(F, "canonical.iv"); in TEST_F() local 656 EXPECT_EQ(&CanonicalIV, Loop->getCanonicalInductionVariable()); in TEST_F() 658 cast<IntegerType>(CanonicalIV.getType())->getBitWidth(); in TEST_F() 674 if (PN == &I || PN == &CanonicalIV) in TEST_F() [all …]
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 1405 PHINode *CanonicalIV = nullptr; in visitAddRecExpr() local 1408 CanonicalIV = PN; in visitAddRecExpr() 1412 if (CanonicalIV && in visitAddRecExpr() 1413 SE.getTypeSizeInBits(CanonicalIV->getType()) > in visitAddRecExpr() 1417 NewOps[i] = SE.getAnyExtendExpr(S->op_begin()[i], CanonicalIV->getType()); in visitAddRecExpr() 1462 if (!CanonicalIV) { in visitAddRecExpr() 1467 CanonicalIV = PHINode::Create(Ty, std::distance(HPB, HPE), "indvar", in visitAddRecExpr() 1469 rememberInstruction(CanonicalIV); in visitAddRecExpr() 1478 CanonicalIV->addIncoming(CanonicalIV->getIncomingValueForBlock(HP), HP); in visitAddRecExpr() 1485 Instruction *Add = BinaryOperator::CreateAdd(CanonicalIV, One, in visitAddRecExpr() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 1503 PHINode *CanonicalIV = nullptr; in visitAddRecExpr() local 1506 CanonicalIV = PN; in visitAddRecExpr() 1510 if (CanonicalIV && in visitAddRecExpr() 1511 SE.getTypeSizeInBits(CanonicalIV->getType()) > in visitAddRecExpr() 1515 NewOps[i] = SE.getAnyExtendExpr(S->op_begin()[i], CanonicalIV->getType()); in visitAddRecExpr() 1560 if (!CanonicalIV) { in visitAddRecExpr() 1565 CanonicalIV = PHINode::Create(Ty, std::distance(HPB, HPE), "indvar", in visitAddRecExpr() 1567 rememberInstruction(CanonicalIV); in visitAddRecExpr() 1576 CanonicalIV->addIncoming(CanonicalIV->getIncomingValueForBlock(HP), HP); in visitAddRecExpr() 1583 Instruction *Add = BinaryOperator::CreateAdd(CanonicalIV, One, in visitAddRecExpr() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | ScalarEvolutionExpander.cpp | 1535 PHINode *CanonicalIV = nullptr; in visitAddRecExpr() local 1538 CanonicalIV = PN; in visitAddRecExpr() 1542 if (CanonicalIV && in visitAddRecExpr() 1543 SE.getTypeSizeInBits(CanonicalIV->getType()) > in visitAddRecExpr() 1547 NewOps[i] = SE.getAnyExtendExpr(S->op_begin()[i], CanonicalIV->getType()); in visitAddRecExpr() 1592 if (!CanonicalIV) { in visitAddRecExpr() 1597 CanonicalIV = PHINode::Create(Ty, std::distance(HPB, HPE), "indvar", in visitAddRecExpr() 1599 rememberInstruction(CanonicalIV); in visitAddRecExpr() 1608 CanonicalIV->addIncoming(CanonicalIV->getIncomingValueForBlock(HP), HP); in visitAddRecExpr() 1615 Instruction *Add = BinaryOperator::CreateAdd(CanonicalIV, One, in visitAddRecExpr() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | VPlan.cpp | 1004 Value *CanonicalIV = State.CanonicalIV; in execute() local 1005 Type *STy = CanonicalIV->getType(); in execute() 1010 ? CanonicalIV in execute() 1012 CanonicalIV, "broadcast"); in execute()
|
D | VPlan.h | 361 Value *CanonicalIV = nullptr; member
|
D | LoopVectorize.cpp | 7439 State.CanonicalIV = ILV.Induction; in executePlan()
|