Lines Matching refs:TyBits
902 unsigned TyBits = TD ? TD->getTypeSizeInBits(V->getType()->getScalarType()) : in ComputeNumSignBits() local
917 Tmp = TyBits - U->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeNumSignBits()
925 if (Tmp > TyBits) Tmp = TyBits; in ComputeNumSignBits()
931 if (Tmp > TyBits) Tmp = TyBits; in ComputeNumSignBits()
939 if (C->getZExtValue() >= TyBits || // Bad shift. in ComputeNumSignBits()
973 APInt KnownZero(TyBits, 0), KnownOne(TyBits, 0); in ComputeNumSignBits()
974 APInt Mask = APInt::getAllOnesValue(TyBits); in ComputeNumSignBits()
980 if ((KnownZero | APInt(TyBits, 1)) == Mask) in ComputeNumSignBits()
981 return TyBits; in ComputeNumSignBits()
1000 APInt KnownZero(TyBits, 0), KnownOne(TyBits, 0); in ComputeNumSignBits()
1001 APInt Mask = APInt::getAllOnesValue(TyBits); in ComputeNumSignBits()
1006 if ((KnownZero | APInt(TyBits, 1)) == Mask) in ComputeNumSignBits()
1007 return TyBits; in ComputeNumSignBits()
1047 APInt KnownZero(TyBits, 0), KnownOne(TyBits, 0); in ComputeNumSignBits()
1048 APInt Mask = APInt::getAllOnesValue(TyBits); in ComputeNumSignBits()
1063 Mask <<= Mask.getBitWidth()-TyBits; in ComputeNumSignBits()
1066 return std::max(FirstAnswer, std::min(TyBits, Mask.countLeadingZeros())); in ComputeNumSignBits()