Home
last modified time | relevance | path

Searched refs:RangeCheck (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp303 widenICmpRangeCheckIncrementingLoop(LoopICmp LatchCheck, LoopICmp RangeCheck,
307 widenICmpRangeCheckDecrementingLoop(LoopICmp LatchCheck, LoopICmp RangeCheck,
541 LoopICmp LatchCheck, LoopICmp RangeCheck, SCEVExpander &Expander, in findInsertPt()
543 auto *Ty = RangeCheck.IV->getType(); in isLoopInvariantValue()
550 const SCEV *GuardStart = RangeCheck.IV->getStart(); in isLoopInvariantValue()
551 const SCEV *GuardLimit = RangeCheck.Limit; in isLoopInvariantValue()
583 auto *FirstIterationCheck = expandCheck(Expander, Guard, RangeCheck.Pred, in widenICmpRangeCheckIncrementingLoop()
591 LoopICmp LatchCheck, LoopICmp RangeCheck, SCEVExpander &Expander, in widenICmpRangeCheckIncrementingLoop()
593 auto *Ty = RangeCheck.IV->getType(); in widenICmpRangeCheckIncrementingLoop()
594 const SCEV *GuardStart = RangeCheck in widenICmpRangeCheckIncrementingLoop()
581 widenICmpRangeCheckIncrementingLoop(LoopICmp LatchCheck,LoopICmp RangeCheck,SCEVExpander & Expander,Instruction * Guard) widenICmpRangeCheckIncrementingLoop() argument
631 widenICmpRangeCheckDecrementingLoop(LoopICmp LatchCheck,LoopICmp RangeCheck,SCEVExpander & Expander,Instruction * Guard) widenICmpRangeCheckDecrementingLoop() argument
703 auto RangeCheck = parseLoopICmp(ICI); widenICmpRangeCheck() local
[all...]
H A DGuardWidening.cpp240 class RangeCheck { class in __anonfd3b26bb0111::GuardWideningImpl
247 explicit RangeCheck(const Value *Base, const ConstantInt *Offset, in RangeCheck() function in __anonfd3b26bb0111::GuardWideningImpl::RangeCheck
279 SmallVectorImpl<RangeCheck> &Checks) { in parseRangeChecks()
287 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks);
293 bool combineRangeChecks(SmallVectorImpl<RangeCheck> &Checks,
294 SmallVectorImpl<RangeCheck> &CombinedChecks) const;
767 SmallVector<GuardWideningImpl::RangeCheck, 4> Checks, CombinedChecks; in mergeChecks()
807 Value *CheckCond, SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks) { in parseRangeChecks()
822 GuardWideningImpl::RangeCheck Check( in parseRangeChecks()
868 SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks, in combineRangeChecks()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixBrTableDefaults.cpp128 auto *RangeCheck = MRI.getVRegDef(Cond[1].getReg()); in fixBrTableDefault() local
129 assert(RangeCheck != nullptr); in fixBrTableDefault()
130 if (RangeCheck->getOpcode() != WebAssembly::GT_U_I32) in fixBrTableDefault()