• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/

Lines Matching defs:Lower

450     ConstantInt *Lower =
454 ConstantRange Range(Lower->getValue(), Upper->getValue());
2079 ConstantInt *Lower =
2083 ConstantRange Range(Lower->getValue(), Upper->getValue());
5595 static void setLimitsForBinOp(const BinaryOperator &BO, APInt &Lower,
5597 unsigned Width = Lower.getBitWidth();
5605 Lower = *C;
5609 Lower = APInt::getSignedMinValue(Width);
5613 Lower = APInt::getSignedMinValue(Width) + *C;
5629 Lower = *C;
5635 Lower = APInt::getSignedMinValue(Width).ashr(*C);
5643 Lower = *C;
5647 Lower = C->ashr(ShiftAmount);
5662 Lower = C->lshr(ShiftAmount);
5671 Lower = *C;
5672 Upper = Lower.shl(Lower.countLeadingZeros()) + 1;
5677 Lower = C->shl(ShiftAmount);
5682 Lower = *C;
5696 Lower = IntMin + 1;
5701 Lower = IntMin.sdiv(*C);
5703 if (Lower.sgt(Upper))
5704 std::swap(Lower, Upper);
5706 assert(Upper != Lower && "Upper part of range has wrapped!");
5711 Lower = *C;
5712 Upper = Lower.lshr(1) + 1;
5716 Lower = (-Upper) + 1;
5735 Lower = (-Upper) + 1;
5750 static void setLimitsForIntrinsic(const IntrinsicInst &II, APInt &Lower,
5752 unsigned Width = Lower.getBitWidth();
5759 Lower = *C;
5766 Lower = APInt::getSignedMinValue(Width);
5770 Lower = APInt::getSignedMinValue(Width) + *C;
5787 Lower = APInt::getSignedMinValue(Width);
5791 Lower = *C - APInt::getSignedMaxValue(Width);
5797 Lower = APInt::getSignedMinValue(Width) - *C;
5801 Lower = APInt::getSignedMinValue(Width);
5811 static void setLimitsForSelectPattern(const SelectInst &SI, APInt &Lower,
5824 Lower = APInt::getNullValue(BitWidth);
5835 Lower = APInt::getSignedMinValue(BitWidth);
5849 Lower = *C;
5852 Lower = APInt::getSignedMinValue(BitWidth);
5856 Lower = *C;
5873 APInt Lower = APInt(BitWidth, 0);
5876 setLimitsForBinOp(*BO, Lower, Upper, IIQ);
5878 setLimitsForIntrinsic(*II, Lower, Upper);
5880 setLimitsForSelectPattern(*SI, Lower, Upper, IIQ);
5882 ConstantRange CR = ConstantRange::getNonEmpty(Lower, Upper);