Home | History | Annotate | Download | only in Scalar

Lines Matching full:rewriter

1549   void GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter,
1619 SCEVExpander &Rewriter) const;
1624 SCEVExpander &Rewriter,
1628 SCEVExpander &Rewriter,
1633 SCEVExpander &Rewriter,
2701 void LSRInstance::GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter,
2756 Rewriter.clearPostInc();
2757 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt);
2760 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt);
4200 SCEVExpander &Rewriter) const {
4255 while (Rewriter.isInsertedInstruction(IP) && IP != LowestIP) ++IP;
4265 SCEVExpander &Rewriter,
4271 IP = AdjustInsertPositionForExpand(IP, LF, LU, Rewriter);
4273 // Inform the Rewriter if we have a post-increment use, so that it can
4275 Rewriter.setPostInc(LF.PostIncLoops);
4305 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, 0, IP)));
4325 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, 0, IP);
4332 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP);
4336 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, 0, IP));
4347 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP);
4357 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP);
4393 Value *FullV = Rewriter.expandCodeFor(FullS, Ty, IP);
4395 // We're done expanding now, so reset the rewriter.
4396 Rewriter.clearPostInc();
4439 SCEVExpander &Rewriter,
4486 Value *FullV = Expand(LF, F, BB->getTerminator(), Rewriter, DeadInsts);
4508 SCEVExpander &Rewriter,
4514 RewriteForPHI(PN, LF, F, Rewriter, DeadInsts, P);
4516 Value *FullV = Expand(LF, F, LF.UserInst, Rewriter, DeadInsts);
4550 SCEVExpander Rewriter(SE, "lsr");
4552 Rewriter.setDebugType(DEBUG_TYPE);
4554 Rewriter.disableCanonicalMode();
4555 Rewriter.enableLSRMode();
4556 Rewriter.setIVIncInsertPos(L, IVIncInsertPos);
4562 Rewriter.setChainedPhi(PN);
4570 Rewrite(Fixup, *Solution[Fixup.LUIdx], Rewriter, DeadInsts, P);
4577 GenerateIVChain(*ChainI, Rewriter, DeadInsts);
4582 Rewriter.clear();
4820 SCEVExpander Rewriter(getAnalysis<ScalarEvolution>(), "lsr");
4822 Rewriter.setDebugType(DEBUG_TYPE);
4824 unsigned numFolded = Rewriter.