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.cpp184 APInt SplatBits = APInt::getZero(SplatBitWidth); in getSplatableConstant() local
189 SplatBits.insertBits(*Bits, I * Bits->getBitWidth()); in getSplatableConstant()
194 return SplatBits; in getSplatableConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6615 APInt SplatBits, SplatUndef; in getVShiftImm() local
6619 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm()
6623 Cnt = SplatBits.getSExtValue(); in getVShiftImm()
6993 static SDValue isVMOVModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isVMOVModifiedImm() argument
7005 if (SplatBits == 0) in isVMOVModifiedImm()
7013 assert((SplatBits & ~0xff) == 0 && "one byte splat value is too big"); in isVMOVModifiedImm()
7015 Imm = SplatBits; in isVMOVModifiedImm()
7022 if ((SplatBits & ~0xff) == 0) { in isVMOVModifiedImm()
7025 Imm = SplatBits; in isVMOVModifiedImm()
7028 if ((SplatBits & ~0xff00) == 0) { in isVMOVModifiedImm()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h812 APInt SplatBits; // Smallest splat value. member
H A DSystemZISelLowering.cpp862 uint64_t SplatBitsZ = SplatBits.getZExtValue(); in isVectorConstantLegal()
887 SplatBits = IntImm; in SystemZVectorConstantInfo()
888 unsigned Width = SplatBits.getBitWidth(); in SystemZVectorConstantInfo()
891 APInt HighValue = SplatBits.lshr(HalfSize).trunc(HalfSize); in SystemZVectorConstantInfo()
892 APInt LowValue = SplatBits.trunc(HalfSize); in SystemZVectorConstantInfo()
898 SplatBits = HighValue; in SystemZVectorConstantInfo()
914 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, 8, in SystemZVectorConstantInfo()
6016 APInt SplatBits, SplatUndef; in lowerShift() local
6021 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift()
6024 SDValue Shift = DAG.getConstant(SplatBits.getZExtValue() & 0xfff, in lowerShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp9595 uint64_t SplatBits = APSplatBits.getZExtValue(); in LowerBUILD_VECTOR() local
9602 if (SplatBits == 0) { in LowerBUILD_VECTOR()
9617 return getCanonicalConstSplat(SplatBits | (SplatBits << 16), SplatSize * 2, in LowerBUILD_VECTOR()
9621 return getCanonicalConstSplat(SplatBits, SplatSize, Op.getValueType(), DAG, in LowerBUILD_VECTOR()
9626 return getCanonicalConstSplat(SplatBits, SplatSize, Op.getValueType(), DAG, in LowerBUILD_VECTOR()
9630 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR()
9663 if (SplatSize == 4 && SplatBits == (0x7FFFFFFF&~SplatUndef)) { in LowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp13393 APInt SplatBits, SplatUndef; in resolveBuildVector() local
13396 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
13402 CnstBits |= SplatBits.zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
13403 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
14786 APInt SplatBits, SplatUndef; in getVShiftImm() local
14789 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
14793 Cnt = SplatBits.getSExtValue(); in getVShiftImm()