Lines Matching refs:APInt

15 #include "llvm/ADT/APInt.h"
370 APInt Count(64, 0);
407 Count = APInt(64, BitWidth - 1);
501 APInt ShiftVal = COp->getValue();
578 APInt MinValue, MaxValue;
584 APInt::getSignedMinValue(DstScalarSizeInBits).sext(SrcScalarSizeInBits);
586 APInt::getSignedMaxValue(DstScalarSizeInBits).sext(SrcScalarSizeInBits);
591 MinValue = APInt::getNullValue(SrcScalarSizeInBits);
592 MaxValue = APInt::getLowBitsSet(SrcScalarSizeInBits, DstScalarSizeInBits);
752 APInt APIndex = CIIndex->getValue().zextOrTrunc(6);
753 APInt APLength = CILength->getValue().zextOrTrunc(6);
786 Constant::getIntegerValue(IntTy32, APInt(32, i + Index)));
789 Constant::getIntegerValue(IntTy32, APInt(32, i + 16)));
802 APInt Elt = CI0->getValue();
827 APInt APLength, APInt APIndex,
865 ShuffleMask.push_back(Constant::getIntegerValue(IntTy32, APInt(32, i)));
868 Constant::getIntegerValue(IntTy32, APInt(32, i + 16)));
870 ShuffleMask.push_back(Constant::getIntegerValue(IntTy32, APInt(32, i)));
892 APInt V00 = CI00->getValue();
893 APInt V10 = CI10->getValue();
894 APInt Mask = APInt::getLowBitsSet(64, Length).shl(Index);
897 APInt Val = V00 | V10;
995 APInt Index = cast<ConstantInt>(COp)->getValue();
1006 Index += APInt(32, (I / NumLaneElts) * NumLaneElts);
1100 APInt DemandedElts = possiblyDemandedEltsInMask(ConstMask);
1101 APInt UndefElts(DemandedElts.getBitWidth(), 0);
1138 APInt DemandedElts = possiblyDemandedEltsInMask(ConstMask);
1139 APInt UndefElts(DemandedElts.getBitWidth(), 0);
1869 APInt UndefElts(VWidth, 0);
1870 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
1883 APInt UndefElts(Width, 0);
1884 APInt DemandedElts = APInt::getLowBitsSet(Width, DemandedWidth);
2010 APInt Op2Demanded = APInt::getLowBitsSet(BitWidth, Log2_32_Ceil(BitWidth));
2027 const APInt *C0, *C1;
2035 APInt NewC =
2104 APInt Min = APSInt::getMinValue(BitWidth, !SI->isSigned());
2109 APInt Max = APSInt::getMaxValue(BitWidth, !SI->isSigned());
2129 const APInt *Val, *Val2;
2130 APInt NewVal;
2961 APInt UndefElts1(VWidth, 0);
2962 APInt DemandedElts1 = APInt::getSplat(VWidth,
2963 APInt(2, (Imm & 0x01) ? 2 : 1));
2970 APInt UndefElts2(VWidth, 0);
2971 APInt DemandedElts2 = APInt::getSplat(VWidth,
2972 APInt(2, (Imm & 0x10) ? 2 : 1));
3076 const APInt &V11 = CI11->getValue();
3077 APInt Len = V11.zextOrTrunc(6);
3078 APInt Idx = V11.lshr(8).zextOrTrunc(6);
3110 APInt Len = CILength->getValue().zextOrTrunc(6);
3111 APInt Idx = CIIndex->getValue().zextOrTrunc(6);
3424 if (SimplifyDemandedBits(II, 0, APInt::getLowBitsSet(32, 16),
3453 if (SimplifyDemandedBits(II, CarryOp, APInt::getOneBitSet(32, 29),
4375 const APInt &N = Op0C->getValue();
4376 APInt Size = N.umul_ov(Op1C->getValue(), Overflow);