Lines Matching refs:CanonicalIV
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()
1490 CanonicalIV->addIncoming(Add, HP); in visitAddRecExpr()
1492 CanonicalIV->addIncoming(Constant::getNullValue(Ty), HP); in visitAddRecExpr()
1499 assert(Ty == SE.getEffectiveSCEVType(CanonicalIV->getType()) && in visitAddRecExpr()
1502 return CanonicalIV; in visitAddRecExpr()
1511 SE.getMulExpr(SE.getUnknown(CanonicalIV), in visitAddRecExpr()
1513 CanonicalIV->getType())), in visitAddRecExpr()
1520 const SCEV *IH = SE.getUnknown(CanonicalIV); // Get I as a "symbolic" SCEV. in visitAddRecExpr()
1524 const SCEV *Ext = SE.getNoopOrAnyExtend(S, CanonicalIV->getType()); in visitAddRecExpr()