Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp3564 static SDValue isNEONModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isNEONModifiedImm() argument
3574 if (SplatBits == 0) in isNEONModifiedImm()
3582 assert((SplatBits & ~0xff) == 0 && "one byte splat value is too big"); in isNEONModifiedImm()
3584 Imm = SplatBits; in isNEONModifiedImm()
3591 if ((SplatBits & ~0xff) == 0) { in isNEONModifiedImm()
3594 Imm = SplatBits; in isNEONModifiedImm()
3597 if ((SplatBits & ~0xff00) == 0) { in isNEONModifiedImm()
3600 Imm = SplatBits >> 8; in isNEONModifiedImm()
3611 if ((SplatBits & ~0xff) == 0) { in isNEONModifiedImm()
3614 Imm = SplatBits; in isNEONModifiedImm()
[all …]
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp5037 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/lib/Target/CellSPU/
DSPUISelLowering.cpp1663 uint64_t SplatBits = APSplatBits.getZExtValue(); in LowerBUILD_VECTOR() local
1671 uint32_t Value32 = uint32_t(SplatBits); in LowerBUILD_VECTOR()
1681 uint64_t f64val = uint64_t(SplatBits); in LowerBUILD_VECTOR()
1692 unsigned short Value16 = SplatBits /* | (SplatBits << 8) */; in LowerBUILD_VECTOR()
1700 unsigned short Value16 = SplatBits; in LowerBUILD_VECTOR()
1708 SDValue T = DAG.getConstant(unsigned(SplatBits), VT.getVectorElementType()); in LowerBUILD_VECTOR()
1712 return SPU::LowerV2I64Splat(VT, DAG, SplatBits, dl); in LowerBUILD_VECTOR()
2329 uint64_t SplatBits = APSplatBits.getZExtValue(); in LowerByteImmed() local
2330 SDValue tc = DAG.getTargetConstant(SplatBits & 0xff, MVT::i8); in LowerByteImmed()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4257 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/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp3967 unsigned SplatBits = APSplatBits.getZExtValue(); in LowerBUILD_VECTOR() local
3974 if (SplatBits == 0) { in LowerBUILD_VECTOR()
3985 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR()
4004 if (SplatSize == 4 && SplatBits == (0x7FFFFFFF&~SplatUndef)) { in LowerBUILD_VECTOR()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5733 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/
DHexagonISelLowering.cpp2414 unsigned SplatBits = APSplatBits.getZExtValue(); in LowerBUILD_VECTOR() local
2415 int32_t SextVal = ((int32_t) (SplatBits << (32 - SplatBitSize)) >> in LowerBUILD_VECTOR()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7208 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()