Lines Matching defs:IndVar
158 PHINode *IndVar, SCEVExpander &Rewriter);
910 /// Insert an IR expression which computes the value held by the IV IndVar
913 static Value *genLoopLimit(PHINode *IndVar, BasicBlock *ExitingBB,
916 assert(isLoopCounter(IndVar, L, SE));
918 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar));
926 if (IndVar->getType()->isIntegerTy() &&
950 PHINode *IndVar, SCEVExpander &Rewriter) {
952 assert(isLoopCounter(IndVar, L, SE));
954 cast<Instruction>(IndVar->getIncomingValueForBlock(L->getLoopLatch()));
957 Value *CmpIndVar = IndVar;
969 IndVar->getType()->isIntegerTy() ||
999 IndVar, ExitingBB, ExitCount, UsePostInc, L, Rewriter, SE);
1001 IndVar->getType()->isPointerTy() &&
1043 ExitCnt = Builder.CreateZExt(ExitCnt, IndVar->getType(),
1050 ExitCnt = Builder.CreateSExt(ExitCnt, IndVar->getType(),
2003 PHINode *IndVar = FindLoopCounter(L, ExitingBB, ExitCount, SE, DT);
2004 if (!IndVar)
2017 ExitCount, IndVar,