Lines Matching refs:IndVar
158 PHINode *IndVar, SCEVExpander &Rewriter);
904 static Value *genLoopLimit(PHINode *IndVar, BasicBlock *ExitingBB, in genLoopLimit() argument
907 assert(isLoopCounter(IndVar, L, SE)); in genLoopLimit()
909 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in genLoopLimit()
917 if (IndVar->getType()->isIntegerTy() && in genLoopLimit()
941 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace() argument
943 assert(isLoopCounter(IndVar, L, SE)); in linearFunctionTestReplace()
945 cast<Instruction>(IndVar->getIncomingValueForBlock(L->getLoopLatch())); in linearFunctionTestReplace()
948 Value *CmpIndVar = IndVar; in linearFunctionTestReplace()
960 IndVar->getType()->isIntegerTy() || in linearFunctionTestReplace()
990 IndVar, ExitingBB, ExitCount, UsePostInc, L, Rewriter, SE); in linearFunctionTestReplace()
992 IndVar->getType()->isPointerTy() && in linearFunctionTestReplace()
1034 ExitCnt = Builder.CreateZExt(ExitCnt, IndVar->getType(), in linearFunctionTestReplace()
1041 ExitCnt = Builder.CreateSExt(ExitCnt, IndVar->getType(), in linearFunctionTestReplace()
1990 PHINode *IndVar = FindLoopCounter(L, ExitingBB, ExitCount, SE, DT); in run() local
1991 if (!IndVar) in run()
2004 ExitCount, IndVar, in run()