Lines Matching defs:IndVar
161 PHINode *IndVar, SCEVExpander &Rewriter);
913 /// Insert an IR expression which computes the value held by the IV IndVar
916 static Value *genLoopLimit(PHINode *IndVar, BasicBlock *ExitingBB,
919 assert(isLoopCounter(IndVar, L, SE));
921 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar));
929 if (IndVar->getType()->isIntegerTy() &&
953 PHINode *IndVar, SCEVExpander &Rewriter) {
955 assert(isLoopCounter(IndVar, L, SE));
957 cast<Instruction>(IndVar->getIncomingValueForBlock(L->getLoopLatch()));
960 Value *CmpIndVar = IndVar;
972 IndVar->getType()->isIntegerTy() ||
1002 IndVar, ExitingBB, ExitCount, UsePostInc, L, Rewriter, SE);
1004 IndVar->getType()->isPointerTy() &&
1046 ExitCnt = Builder.CreateZExt(ExitCnt, IndVar->getType(),
1053 ExitCnt = Builder.CreateSExt(ExitCnt, IndVar->getType(),
2003 PHINode *IndVar = FindLoopCounter(L, ExitingBB, ExitCount, SE, DT);
2004 if (!IndVar)
2017 ExitCount, IndVar,