Home | History | Annotate | Download | only in Scalar

Lines Matching defs:SE

70     ScalarEvolution *SE;
135 static void deleteDeadInstruction(Instruction *I, ScalarEvolution &SE) {
140 // Before we touch this instruction, remove it from SE!
146 SE.forgetValue(DeadInst);
167 static void deleteIfDeadInstruction(Value *V, ScalarEvolution &SE) {
170 deleteDeadInstruction(I, SE);
182 SE = &getAnalysis<ScalarEvolution>();
183 if (!SE->hasLoopInvariantBackedgeTakenCount(L))
185 const SCEV *BECount = SE->getBackedgeTakenCount(L);
284 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr));
315 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(LI->getOperand(0)));
341 const SCEVAddRecExpr *Ev = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Pointer));
475 SCEVExpander Expander(*SE, "loop-idiom");
493 deleteIfDeadInstruction(BasePtr, *SE);
502 BECount = SE->getTruncateOrZeroExtend(BECount, IntPtr);
504 const SCEV *NumBytesS = SE->getAddExpr(BECount, SE->getConstant(IntPtr, 1),
507 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize),
541 deleteDeadInstruction(TheStore, *SE);
564 SCEVExpander Expander(*SE, "loop-idiom");
582 deleteIfDeadInstruction(StoreBasePtr, *SE);
597 deleteIfDeadInstruction(LoadBasePtr, *SE);
598 deleteIfDeadInstruction(StoreBasePtr, *SE);
608 BECount = SE->getTruncateOrZeroExtend(BECount, IntPtr);
610 const SCEV *NumBytesS = SE->getAddExpr(BECount, SE->getConstant(IntPtr, 1),
613 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize),
631 deleteDeadInstruction(SI, *SE);