Home
last modified time | relevance | path

Searched refs:SplatBits (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp191 APInt SplatBits = APInt::getZero(SplatBitWidth); in getSplatableConstant() local
196 SplatBits.insertBits(*Bits, I * Bits->getBitWidth()); in getSplatableConstant()
201 return SplatBits; in getSplatableConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6681 APInt SplatBits, SplatUndef; in getVShiftImm() local
6685 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm()
6689 Cnt = SplatBits.getSExtValue(); in getVShiftImm()
7056 static SDValue isVMOVModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isVMOVModifiedImm() argument
7068 if (SplatBits == 0) in isVMOVModifiedImm()
7076 assert((SplatBits & ~0xff) == 0 && "one byte splat value is too big"); in isVMOVModifiedImm()
7078 Imm = SplatBits; in isVMOVModifiedImm()
7085 if ((SplatBits & ~0xff) == 0) { in isVMOVModifiedImm()
7088 Imm = SplatBits; in isVMOVModifiedImm()
7091 if ((SplatBits & ~0xff00) == 0) { in isVMOVModifiedImm()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h863 APInt SplatBits; // Smallest splat value. member
H A DSystemZISelLowering.cpp928 uint64_t SplatBitsZ = SplatBits.getZExtValue(); in isVectorConstantLegal()
953 SplatBits = IntImm; in SystemZVectorConstantInfo()
954 unsigned Width = SplatBits.getBitWidth(); in SystemZVectorConstantInfo()
957 APInt HighValue = SplatBits.lshr(HalfSize).trunc(HalfSize); in SystemZVectorConstantInfo()
958 APInt LowValue = SplatBits.trunc(HalfSize); in SystemZVectorConstantInfo()
964 SplatBits = HighValue; in SystemZVectorConstantInfo()
980 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, 8, in SystemZVectorConstantInfo()
6664 APInt SplatBits, SplatUndef; in lowerShift() local
6669 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift()
6672 SDValue Shift = DAG.getConstant(SplatBits.getZExtValue() & 0xfff, in lowerShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp9712 uint64_t SplatBits = 0; in LowerBUILD_VECTOR() local
9715 SplatBits = APSplatBits.getZExtValue(); in LowerBUILD_VECTOR()
9717 SextVal = SignExtend32(SplatBits, SplatBitSize); in LowerBUILD_VECTOR()
9719 int64_t Splat64Val = static_cast<int64_t>(SplatBits); in LowerBUILD_VECTOR()
9724 SextVal = static_cast<int32_t>(SplatBits); in LowerBUILD_VECTOR()
9820 if (SplatBits == 0) { in LowerBUILD_VECTOR()
9835 return getCanonicalConstSplat(SplatBits | (SplatBits << 16), SplatSize * 2, in LowerBUILD_VECTOR()
9839 return getCanonicalConstSplat(SplatBits, SplatSize, Op.getValueType(), DAG, in LowerBUILD_VECTOR()
9844 return getCanonicalConstSplat(SplatBits, SplatSize, Op.getValueType(), DAG, in LowerBUILD_VECTOR()
9910 if (SplatSize == 4 && SplatBits == (0x7FFFFFFF&~SplatUndef)) { in LowerBUILD_VECTOR()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp14243 APInt SplatBits, SplatUndef; in resolveBuildVector() local
14246 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
14252 CnstBits |= SplatBits.zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
14253 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
15691 APInt SplatBits, SplatUndef; in getVShiftImm() local
15694 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
15698 Cnt = SplatBits.getSExtValue(); in getVShiftImm()