Lines Matching refs:CanonicalIV
1383 PHINode *CanonicalIV = nullptr; in visitAddRecExpr() local
1386 CanonicalIV = PN; in visitAddRecExpr()
1390 if (CanonicalIV && in visitAddRecExpr()
1391 SE.getTypeSizeInBits(CanonicalIV->getType()) > in visitAddRecExpr()
1395 NewOps[i] = SE.getAnyExtendExpr(S->op_begin()[i], CanonicalIV->getType()); in visitAddRecExpr()
1436 if (!CanonicalIV) { in visitAddRecExpr()
1441 CanonicalIV = PHINode::Create(Ty, std::distance(HPB, HPE), "indvar", in visitAddRecExpr()
1443 rememberInstruction(CanonicalIV); in visitAddRecExpr()
1452 CanonicalIV->addIncoming(CanonicalIV->getIncomingValueForBlock(HP), HP); in visitAddRecExpr()
1459 Instruction *Add = BinaryOperator::CreateAdd(CanonicalIV, One, in visitAddRecExpr()
1464 CanonicalIV->addIncoming(Add, HP); in visitAddRecExpr()
1466 CanonicalIV->addIncoming(Constant::getNullValue(Ty), HP); in visitAddRecExpr()
1473 assert(Ty == SE.getEffectiveSCEVType(CanonicalIV->getType()) && in visitAddRecExpr()
1476 return CanonicalIV; in visitAddRecExpr()
1485 SE.getMulExpr(SE.getUnknown(CanonicalIV), in visitAddRecExpr()
1487 CanonicalIV->getType())), in visitAddRecExpr()
1494 const SCEV *IH = SE.getUnknown(CanonicalIV); // Get I as a "symbolic" SCEV. in visitAddRecExpr()
1498 const SCEV *Ext = SE.getNoopOrAnyExtend(S, CanonicalIV->getType()); in visitAddRecExpr()