Lines Matching refs:SE

73   ScalarEvolution *SE;  member in __anon259313270111::LoopIdiomRecognize
204 SE = &getAnalysis<ScalarEvolutionWrapperPass>().getSE(); in runOnLoop()
210 if (SE->hasLoopInvariantBackedgeTakenCount(L)) in runOnLoop()
217 const SCEV *BECount = SE->getBackedgeTakenCount(CurLoop); in runOnCountableLoop()
317 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in isLegalStore()
392 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStore()
425 const SCEVAddRecExpr *Ev = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Pointer)); in processLoopMemSet()
485 ScalarEvolution *SE) { in getStartForNegStride() argument
486 const SCEV *Index = SE->getTruncateOrZeroExtend(BECount, IntPtr); in getStartForNegStride()
488 Index = SE->getMulExpr(Index, SE->getConstant(IntPtr, StoreSize), in getStartForNegStride()
490 return SE->getMinusSCEV(Start, Index); in getStartForNegStride()
532 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStridedStore()
540 Start = getStartForNegStride(Start, BECount, IntPtr, StoreSize, SE); in processLoopStridedStore()
561 BECount = SE->getTruncateOrZeroExtend(BECount, IntPtr); in processLoopStridedStore()
564 SE->getAddExpr(BECount, SE->getOne(IntPtr), SCEV::FlagNUW); in processLoopStridedStore()
566 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in processLoopStridedStore()
627 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(LI->getPointerOperand())); in processLoopStoreOfLoopLoad()
640 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStoreOfLoopLoad()
648 StrStart = getStartForNegStride(StrStart, BECount, IntPtrTy, StoreSize, SE); in processLoopStoreOfLoopLoad()
672 LdStart = getStartForNegStride(LdStart, BECount, IntPtrTy, StoreSize, SE); in processLoopStoreOfLoopLoad()
692 BECount = SE->getTruncateOrZeroExtend(BECount, IntPtrTy); in processLoopStoreOfLoopLoad()
695 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processLoopStoreOfLoopLoad()
697 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtrTy, StoreSize), in processLoopStoreOfLoopLoad()
1053 SE->forgetLoop(CurLoop); in transformLoopToPopcount()