Lines Matching defs:canBeHoistedTo
191 bool canBeHoistedTo(const Value *V, BasicBlock::iterator InsertPos) const {
193 return canBeHoistedTo(V, InsertPos, Visited);
196 bool canBeHoistedTo(const Value *V, BasicBlock::iterator InsertPos,
199 bool canBeHoistedTo(const SmallVectorImpl<Value *> &Checks,
202 [&](const Value *V) { return canBeHoistedTo(V, InsertPos); });
205 /// canBeHoistedTo returned true.
477 if (!canBeHoistedTo(ChecksToHoist, WideningPoint))
482 if (!canBeHoistedTo(getCondition(ToWiden), WideningPoint))
563 bool GuardWideningImpl::canBeHoistedTo(
582 [&](Value *Op) { return canBeHoistedTo(Op, Loc, Visited); });
593 "Should've checked with canBeHoistedTo!");
755 assert(canBeHoistedTo(LHS, *InsertPt) && "must be");