Lines Matching refs:IndVar
111 PHINode *IndVar, SCEVExpander &Rewriter);
1826 static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L, in genLoopLimit() argument
1828 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in genLoopLimit()
1836 if (IndVar->getType()->isPointerTy() && !IVCount->getType()->isPointerTy()) { in genLoopLimit()
1852 Value *GEPBase = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in genLoopLimit()
1856 assert(SE->getSizeOfExpr(IntegerType::getInt64Ty(IndVar->getContext()), in genLoopLimit()
1900 IndVar->getType() : IVCount->getType(); in genLoopLimit()
1913 PHINode *IndVar, in linearFunctionTestReplace() argument
1918 Value *CmpIndVar = IndVar; in linearFunctionTestReplace()
1933 CmpIndVar = IndVar->getIncomingValueForBlock(L->getExitingBlock()); in linearFunctionTestReplace()
1936 Value *ExitCnt = genLoopLimit(IndVar, IVCount, L, Rewriter, SE); in linearFunctionTestReplace()
1938 IndVar->getType()->isPointerTy() && in linearFunctionTestReplace()
1963 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in linearFunctionTestReplace()
2151 PHINode *IndVar = FindLoopCounter(L, BackedgeTakenCount, SE, DT); in run() local
2152 if (IndVar) { in run()
2163 (void)linearFunctionTestReplace(L, BackedgeTakenCount, IndVar, in run()