Lines Matching refs:Expander
262 Value *expandCheck(SCEVExpander &Expander, IRBuilder<> &Builder,
266 Optional<Value *> widenICmpRangeCheck(ICmpInst *ICI, SCEVExpander &Expander,
270 SCEVExpander &Expander,
274 SCEVExpander &Expander,
276 bool widenGuardConditions(IntrinsicInst *II, SCEVExpander &Expander);
382 Value *LoopPredication::expandCheck(SCEVExpander &Expander, in expandCheck() argument
394 Value *LHSV = Expander.expandCodeFor(LHS, Ty, InsertAt); in expandCheck()
395 Value *RHSV = Expander.expandCodeFor(RHS, Ty, InsertAt); in expandCheck()
437 SCEVExpander &Expander, IRBuilder<> &Builder) { in widenICmpRangeCheckIncrementingLoop() argument
468 expandCheck(Expander, Builder, LimitCheckPred, LatchLimit, RHS, InsertAt); in widenICmpRangeCheckIncrementingLoop()
469 auto *FirstIterationCheck = expandCheck(Expander, Builder, RangeCheck.Pred, in widenICmpRangeCheckIncrementingLoop()
476 SCEVExpander &Expander, IRBuilder<> &Builder) { in widenICmpRangeCheckDecrementingLoop() argument
503 auto *FirstIterationCheck = expandCheck(Expander, Builder, ICmpInst::ICMP_ULT, in widenICmpRangeCheckDecrementingLoop()
505 auto *LimitCheck = expandCheck(Expander, Builder, LimitCheckPred, LatchLimit, in widenICmpRangeCheckDecrementingLoop()
514 SCEVExpander &Expander, in widenICmpRangeCheck() argument
569 Expander, Builder); in widenICmpRangeCheck()
573 Expander, Builder); in widenICmpRangeCheck()
578 SCEVExpander &Expander) { in widenGuardConditions() argument
611 if (auto NewRangeCheck = widenICmpRangeCheck(ICI, Expander, Builder)) { in widenGuardConditions()
830 SCEVExpander Expander(*SE, *DL, "loop-predication"); in runOnLoop() local
834 Changed |= widenGuardConditions(Guard, Expander); in runOnLoop()