Lines Matching refs:CanonicalIV
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()
1620 CanonicalIV->addIncoming(Add, HP); in visitAddRecExpr()
1622 CanonicalIV->addIncoming(Constant::getNullValue(Ty), HP); in visitAddRecExpr()
1629 assert(Ty == SE.getEffectiveSCEVType(CanonicalIV->getType()) && in visitAddRecExpr()
1632 return CanonicalIV; in visitAddRecExpr()
1641 SE.getMulExpr(SE.getUnknown(CanonicalIV), in visitAddRecExpr()
1643 CanonicalIV->getType())), in visitAddRecExpr()
1650 const SCEV *IH = SE.getUnknown(CanonicalIV); // Get I as a "symbolic" SCEV. in visitAddRecExpr()
1654 const SCEV *Ext = SE.getNoopOrAnyExtend(S, CanonicalIV->getType()); in visitAddRecExpr()