Home | History | Annotate | Download | only in Scalar

Lines Matching full:rewriter

1636   void GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter,
1706 SCEVExpander &Rewriter) const;
1711 SCEVExpander &Rewriter,
1715 SCEVExpander &Rewriter,
1720 SCEVExpander &Rewriter,
2796 void LSRInstance::GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter,
2852 Rewriter.clearPostInc();
2853 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt);
2856 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt);
4288 SCEVExpander &Rewriter) const {
4343 while (Rewriter.isInsertedInstruction(IP) && IP != LowestIP) ++IP;
4353 SCEVExpander &Rewriter,
4359 Rewriter);
4361 // Inform the Rewriter if we have a post-increment use, so that it can
4363 Rewriter.setPostInc(LF.PostIncLoops);
4393 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, 0, IP)));
4413 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, 0, IP);
4420 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP);
4424 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, 0, IP));
4435 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP);
4445 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP);
4481 Value *FullV = Rewriter.expandCodeFor(FullS, Ty, IP);
4483 // We're done expanding now, so reset the rewriter.
4484 Rewriter.clearPostInc();
4527 SCEVExpander &Rewriter,
4578 Value *FullV = Expand(LF, F, BB->getTerminator(), Rewriter, DeadInsts);
4600 SCEVExpander &Rewriter,
4606 RewriteForPHI(PN, LF, F, Rewriter, DeadInsts, P);
4608 Value *FullV = Expand(LF, F, LF.UserInst, Rewriter, DeadInsts);
4642 SCEVExpander Rewriter(SE, "lsr");
4644 Rewriter.setDebugType(DEBUG_TYPE);
4646 Rewriter.disableCanonicalMode();
4647 Rewriter.enableLSRMode();
4648 Rewriter.setIVIncInsertPos(L, IVIncInsertPos);
4654 Rewriter.setChainedPhi(PN);
4662 Rewrite(Fixup, *Solution[Fixup.LUIdx], Rewriter, DeadInsts, P);
4669 GenerateIVChain(*ChainI, Rewriter, DeadInsts);
4674 Rewriter.clear();
4907 SCEVExpander Rewriter(getAnalysis<ScalarEvolution>(), "lsr");
4909 Rewriter.setDebugType(DEBUG_TYPE);
4912 Rewriter.replaceCongruentIVs(L, &getAnalysis<DominatorTree>(),