/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 5037 static SDValue isNEONModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isNEONModifiedImm() argument 5048 if (SplatBits == 0) in isNEONModifiedImm() 5056 assert((SplatBits & ~0xff) == 0 && "one byte splat value is too big"); in isNEONModifiedImm() 5058 Imm = SplatBits; in isNEONModifiedImm() 5065 if ((SplatBits & ~0xff) == 0) { in isNEONModifiedImm() 5068 Imm = SplatBits; in isNEONModifiedImm() 5071 if ((SplatBits & ~0xff00) == 0) { in isNEONModifiedImm() 5074 Imm = SplatBits >> 8; in isNEONModifiedImm() 5085 if ((SplatBits & ~0xff) == 0) { in isNEONModifiedImm() 5088 Imm = SplatBits; in isNEONModifiedImm() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6042 APInt SplatBits, SplatUndef; in getVShiftImm() local 6046 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm() 6050 Cnt = SplatBits.getSExtValue(); in getVShiftImm() 6425 static SDValue isVMOVModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isVMOVModifiedImm() argument 6436 if (SplatBits == 0) in isVMOVModifiedImm() 6444 assert((SplatBits & ~0xff) == 0 && "one byte splat value is too big"); in isVMOVModifiedImm() 6446 Imm = SplatBits; in isVMOVModifiedImm() 6453 if ((SplatBits & ~0xff) == 0) { in isVMOVModifiedImm() 6456 Imm = SplatBits; in isVMOVModifiedImm() 6459 if ((SplatBits & ~0xff00) == 0) { in isVMOVModifiedImm() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.h | 687 APInt SplatBits; // Smallest splat value. member
|
D | SystemZISelLowering.cpp | 758 uint64_t SplatBitsZ = SplatBits.getZExtValue(); in isVectorConstantLegal() 779 SplatBits = FPImm.bitcastToAPInt(); in SystemZVectorConstantInfo() 780 unsigned Width = SplatBits.getBitWidth(); in SystemZVectorConstantInfo() 783 APInt HighValue = SplatBits.lshr(HalfSize).trunc(HalfSize); in SystemZVectorConstantInfo() 784 APInt LowValue = SplatBits.trunc(HalfSize); in SystemZVectorConstantInfo() 790 SplatBits = HighValue; in SystemZVectorConstantInfo() 806 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, 8, in SystemZVectorConstantInfo() 5044 APInt SplatBits, SplatUndef; in lowerShift() local 5049 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift() 5052 SDValue Shift = DAG.getConstant(SplatBits.getZExtValue() & 0xfff, in lowerShift()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 4257 APInt SplatBits, SplatUndef; in lowerBUILD_VECTOR() local 4260 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerBUILD_VECTOR() 4267 uint64_t SplatBitsZ = SplatBits.getZExtValue(); in lowerBUILD_VECTOR() 4436 APInt SplatBits, SplatUndef; in lowerShift() local 4441 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift() 4444 SDValue Shift = DAG.getConstant(SplatBits.getZExtValue() & 0xfff, in lowerShift()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 5733 APInt SplatBits, SplatUndef; in resolveBuildVector() local 5736 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector() 5742 CnstBits |= SplatBits.zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector() 5743 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector() 6589 APInt SplatBits, SplatUndef; in getVShiftImm() local 6592 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm() 6596 Cnt = SplatBits.getSExtValue(); in getVShiftImm()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 2414 unsigned SplatBits = APSplatBits.getZExtValue(); in LowerBUILD_VECTOR() local 2415 int32_t SextVal = ((int32_t) (SplatBits << (32 - SplatBitSize)) >> in LowerBUILD_VECTOR()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 7440 APInt SplatBits, SplatUndef; in resolveBuildVector() local 7443 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector() 7449 CnstBits |= SplatBits.zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector() 7450 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector() 8293 APInt SplatBits, SplatUndef; in getVShiftImm() local 8296 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm() 8300 Cnt = SplatBits.getSExtValue(); in getVShiftImm()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 7208 unsigned SplatBits = APSplatBits.getZExtValue(); in LowerBUILD_VECTOR() local 7215 if (SplatBits == 0) { in LowerBUILD_VECTOR() 7225 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR() 7257 if (SplatSize == 4 && SplatBits == (0x7FFFFFFF&~SplatUndef)) { in LowerBUILD_VECTOR()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 8755 unsigned SplatBits = APSplatBits.getZExtValue(); in LowerBUILD_VECTOR() local 8762 if (SplatBits == 0) { in LowerBUILD_VECTOR() 8775 return BuildSplatI(SplatBits, SplatSize, Op.getValueType(), DAG, dl); in LowerBUILD_VECTOR() 8778 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR() 8810 if (SplatSize == 4 && SplatBits == (0x7FFFFFFF&~SplatUndef)) { in LowerBUILD_VECTOR()
|