Lines Matching refs:IndVar
171 PHINode *IndVar, SCEVExpander &Rewriter);
977 static Value *genLoopLimit(PHINode *IndVar, BasicBlock *ExitingBB, in genLoopLimit() argument
980 assert(isLoopCounter(IndVar, L, SE)); in genLoopLimit()
981 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in genLoopLimit()
989 if (IndVar->getType()->isPointerTy() && in genLoopLimit()
1008 return Rewriter.expandCodeFor(IVLimit, IndVar->getType(), BI); in genLoopLimit()
1049 IndVar->getType() : ExitCount->getType(); in genLoopLimit()
1063 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace() argument
1065 assert(isLoopCounter(IndVar, L, SE)); in linearFunctionTestReplace()
1067 cast<Instruction>(IndVar->getIncomingValueForBlock(L->getLoopLatch())); in linearFunctionTestReplace()
1070 Value *CmpIndVar = IndVar; in linearFunctionTestReplace()
1082 IndVar->getType()->isIntegerTy() || in linearFunctionTestReplace()
1112 IndVar, ExitingBB, ExitCount, UsePostInc, L, Rewriter, SE); in linearFunctionTestReplace()
1114 IndVar->getType()->isPointerTy() && in linearFunctionTestReplace()
1157 ExitCnt = Builder.CreateZExt(ExitCnt, IndVar->getType(), in linearFunctionTestReplace()
1164 ExitCnt = Builder.CreateSExt(ExitCnt, IndVar->getType(), in linearFunctionTestReplace()
2003 PHINode *IndVar = FindLoopCounter(L, ExitingBB, ExitCount, SE, DT); in run() local
2004 if (!IndVar) in run()
2025 ExitCount, IndVar, in run()