Lines Matching refs:Expander

284   Value *expandCheck(SCEVExpander &Expander, Instruction *Guard,
288 Optional<Value *> widenICmpRangeCheck(ICmpInst *ICI, SCEVExpander &Expander,
292 SCEVExpander &Expander,
296 SCEVExpander &Expander,
299 SCEVExpander &Expander, Instruction *Guard);
300 bool widenGuardConditions(IntrinsicInst *II, SCEVExpander &Expander);
301 bool widenWidenableBranchGuardConditions(BranchInst *Guard, SCEVExpander &Expander);
400 Value *LoopPredication::expandCheck(SCEVExpander &Expander, in expandCheck() argument
416 Value *LHSV = Expander.expandCodeFor(LHS, Ty, findInsertPt(Guard, {LHS})); in expandCheck()
417 Value *RHSV = Expander.expandCodeFor(RHS, Ty, findInsertPt(Guard, {RHS})); in expandCheck()
565 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckIncrementingLoop() argument
605 expandCheck(Expander, Guard, LimitCheckPred, LatchLimit, RHS); in widenICmpRangeCheckIncrementingLoop()
606 auto *FirstIterationCheck = expandCheck(Expander, Guard, RangeCheck.Pred, in widenICmpRangeCheckIncrementingLoop()
614 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckDecrementingLoop() argument
651 auto *FirstIterationCheck = expandCheck(Expander, Guard, in widenICmpRangeCheckDecrementingLoop()
654 auto *LimitCheck = expandCheck(Expander, Guard, LimitCheckPred, LatchLimit, in widenICmpRangeCheckDecrementingLoop()
676 SCEVExpander &Expander, in widenICmpRangeCheck() argument
731 Expander, Guard); in widenICmpRangeCheck()
735 Expander, Guard); in widenICmpRangeCheck()
741 SCEVExpander &Expander, in collectChecks() argument
773 if (auto NewRangeCheck = widenICmpRangeCheck(ICI, Expander, in collectChecks()
794 SCEVExpander &Expander) { in widenGuardConditions() argument
800 unsigned NumWidened = collectChecks(Checks, Guard->getOperand(0), Expander, in widenGuardConditions()
819 BranchInst *BI, SCEVExpander &Expander) { in widenWidenableBranchGuardConditions() argument
827 Expander, BI); in widenWidenableBranchGuardConditions()
1238 SCEVExpander Expander(*SE, *DL, "loop-predication"); in runOnLoop() local
1241 Changed |= widenGuardConditions(Guard, Expander); in runOnLoop()
1243 Changed |= widenWidenableBranchGuardConditions(Guard, Expander); in runOnLoop()
1244 Changed |= predicateLoopExits(L, Expander); in runOnLoop()