Lines Matching refs:APInt
151 APInt find(Value *V, bool SignExtended, bool ZeroExtended, bool NonNegative);
153 APInt findInEitherOperand(BinaryOperator *BO, bool SignExtended,
199 void ComputeKnownBits(Value *V, APInt &KnownOne, APInt &KnownZero) const;
375 APInt ConstantOffsetExtractor::findInEitherOperand(BinaryOperator *BO, in findInEitherOperand()
380 APInt ConstantOffset = find(BO->getOperand(0), SignExtended, ZeroExtended, in findInEitherOperand()
397 APInt ConstantOffsetExtractor::find(Value *V, bool SignExtended, in find()
406 if (U == nullptr) return APInt(BitWidth, 0); in find()
408 APInt ConstantOffset(BitWidth, 0); in find()
562 APInt ConstantOffset = in Extract()
581 void ConstantOffsetExtractor::ComputeKnownBits(Value *V, APInt &KnownOne, in ComputeKnownBits()
582 APInt &KnownZero) const { in ComputeKnownBits()
584 KnownOne = APInt(IT->getBitWidth(), 0); in ComputeKnownBits()
585 KnownZero = APInt(IT->getBitWidth(), 0); in ComputeKnownBits()
592 APInt LHSKnownOne, LHSKnownZero, RHSKnownOne, RHSKnownZero; in NoCommonBits()
642 APInt::getSignedMaxValue(SrcBitWidth).getZExtValue()) { in convertInBoundsZExtToSExt()