Lines Matching refs:IndVar

154                                  PHINode *IndVar, SCEVExpander &Rewriter);
2282 static Value *genLoopLimit(PHINode *IndVar, BasicBlock *ExitingBB, in genLoopLimit() argument
2285 assert(isLoopCounter(IndVar, L, SE)); in genLoopLimit()
2286 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in genLoopLimit()
2293 if (IndVar->getType()->isPointerTy() && in genLoopLimit()
2312 Value *GEPBase = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in genLoopLimit()
2316 assert(SE->getSizeOfExpr(IntegerType::getInt64Ty(IndVar->getContext()), in genLoopLimit()
2359 IndVar->getType() : ExitCount->getType(); in genLoopLimit()
2372 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace() argument
2374 assert(isLoopCounter(IndVar, L, SE)); in linearFunctionTestReplace()
2376 cast<Instruction>(IndVar->getIncomingValueForBlock(L->getLoopLatch())); in linearFunctionTestReplace()
2379 Value *CmpIndVar = IndVar; in linearFunctionTestReplace()
2386 bool SafeToPostInc = IndVar->getType()->isIntegerTy(); in linearFunctionTestReplace()
2427 IndVar, ExitingBB, ExitCount, UsePostInc, L, Rewriter, SE); in linearFunctionTestReplace()
2429 IndVar->getType()->isPointerTy() && in linearFunctionTestReplace()
2452 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in linearFunctionTestReplace()
2484 ExitCnt = Builder.CreateZExt(ExitCnt, IndVar->getType(), in linearFunctionTestReplace()
2493 ExitCnt = Builder.CreateSExt(ExitCnt, IndVar->getType(), in linearFunctionTestReplace()
2699 PHINode *IndVar = FindLoopCounter(L, ExitingBB, ExitCount, SE, DT); in run() local
2700 if (!IndVar) in run()
2720 ExitCount, IndVar, in run()