Lines Matching refs:IndVar
138 PHINode *IndVar, SCEVExpander &Rewriter);
1803 static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L, in genLoopLimit() argument
1805 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in genLoopLimit()
1813 if (IndVar->getType()->isPointerTy() in genLoopLimit()
1831 Value *GEPBase = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in genLoopLimit()
1835 assert(SE->getSizeOfExpr(IntegerType::getInt64Ty(IndVar->getContext()), in genLoopLimit()
1879 IndVar->getType() : IVCount->getType(); in genLoopLimit()
1892 PHINode *IndVar, in linearFunctionTestReplace() argument
1897 Value *CmpIndVar = IndVar; in linearFunctionTestReplace()
1912 CmpIndVar = IndVar->getIncomingValueForBlock(L->getExitingBlock()); in linearFunctionTestReplace()
1915 Value *ExitCnt = genLoopLimit(IndVar, IVCount, L, Rewriter, SE); in linearFunctionTestReplace()
1916 assert(ExitCnt->getType()->isPointerTy() == IndVar->getType()->isPointerTy() in linearFunctionTestReplace()
1941 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in linearFunctionTestReplace()
2141 PHINode *IndVar = FindLoopCounter(L, BackedgeTakenCount, SE, DT); in runOnLoop() local
2142 if (IndVar) { in runOnLoop()
2153 (void)linearFunctionTestReplace(L, BackedgeTakenCount, IndVar, in runOnLoop()