Lines Matching refs:Rewriter

2152   mutable SCEVExpander Rewriter;  member in __anonc21373340a11::LSRInstance
3456 Rewriter.clearPostInc(); in GenerateIVChain()
3457 Value *IncV = Rewriter.expandCodeFor(Remainder, IntTy, InsertPt); in GenerateIVChain()
3460 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
3471 Rewriter.clearPostInc(); in GenerateIVChain()
3472 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain()
3475 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
3576 if (SE.isLoopInvariant(N, L) && Rewriter.isSafeToExpand(N) && in CollectFixupsAndInitialFormulae()
3656 if (!Rewriter.isSafeToExpand(S)) in InsertInitialFormula()
5676 while (Rewriter.isInsertedInstruction(&*IP) && IP != LowestIP) in AdjustInsertPositionForExpand()
5693 Rewriter.setInsertPoint(&*IP); in Expand()
5697 Rewriter.setPostInc(LF.PostIncLoops); in Expand()
5721 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, nullptr))); in Expand()
5737 SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr))); in Expand()
5744 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, nullptr); in Expand()
5754 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), nullptr); in Expand()
5758 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr)); in Expand()
5770 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), IntTy); in Expand()
5780 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty); in Expand()
5821 Value *FullV = Rewriter.expandCodeFor(FullS, Ty); in Expand()
5824 Rewriter.clearPostInc(); in Expand()
6075 Rewriter.setChainedPhi(PN); in ImplementSolution()
6085 Rewriter.setIVIncInsertPos(L, InsertPos); in ImplementSolution()
6095 for (const WeakVH &IV : Rewriter.getInsertedIVs()) in ImplementSolution()
6101 Rewriter.clear(); in ImplementSolution()
6159 Rewriter(SE, L->getHeader()->getDataLayout(), "lsr", false), in LSRInstance()
6198 Rewriter.setDebugType(DEBUG_TYPE); in LSRInstance()
6200 Rewriter.disableCanonicalMode(); in LSRInstance()
6201 Rewriter.enableLSRMode(); in LSRInstance()
7272 SCEVExpander Rewriter(SE, DL, "lsr", false); in ReduceLoopStrength() local
7274 Rewriter.setDebugType(DEBUG_TYPE); in ReduceLoopStrength()
7276 unsigned numFolded = Rewriter.replaceCongruentIVs(L, &DT, DeadInsts, &TTI); in ReduceLoopStrength()
7277 Rewriter.clear(); in ReduceLoopStrength()
7293 SCEVExpander Rewriter(SE, DL, "lsr", true); in ReduceLoopStrength() local
7294 int Rewrites = rewriteLoopExitValues(L, &LI, &TLI, &SE, &TTI, Rewriter, &DT, in ReduceLoopStrength()
7296 Rewriter.clear(); in ReduceLoopStrength()