Home
last modified time | relevance | path

Searched refs:SextVal (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp3985 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR() local
3987 if (SextVal >= -16 && SextVal <= 15) in LowerBUILD_VECTOR()
3988 return BuildSplatI(SextVal, SplatSize, Op.getValueType(), DAG, dl); in LowerBUILD_VECTOR()
3995 if (SextVal >= -32 && SextVal <= 30 && (SextVal & 1) == 0) { in LowerBUILD_VECTOR()
3996 SDValue Res = BuildSplatI(SextVal >> 1, SplatSize, MVT::Other, DAG, dl); in LowerBUILD_VECTOR()
4033 if (SextVal == (i << (int)TypeShiftAmt)) { in LowerBUILD_VECTOR()
4044 if (SextVal == (int)((unsigned)i >> TypeShiftAmt)) { in LowerBUILD_VECTOR()
4055 if (SextVal == (int)((unsigned)i >> TypeShiftAmt)) { in LowerBUILD_VECTOR()
4066 if (SextVal == (int)(((unsigned)i << TypeShiftAmt) | in LowerBUILD_VECTOR()
4078 if (SextVal == ((i << 8) | (i < 0 ? 0xFF : 0))) { in LowerBUILD_VECTOR()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7225 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR() local
7227 if (SextVal >= -16 && SextVal <= 15) in LowerBUILD_VECTOR()
7228 return BuildSplatI(SextVal, SplatSize, Op.getValueType(), DAG, dl); in LowerBUILD_VECTOR()
7239 if (SextVal >= -32 && SextVal <= 31) { in LowerBUILD_VECTOR()
7243 SDValue Elt = DAG.getConstant(SextVal, dl, MVT::i32); in LowerBUILD_VECTOR()
7286 if (SextVal == (int)((unsigned)i << TypeShiftAmt)) { in LowerBUILD_VECTOR()
7297 if (SextVal == (int)((unsigned)i >> TypeShiftAmt)) { in LowerBUILD_VECTOR()
7308 if (SextVal == (int)((unsigned)i >> TypeShiftAmt)) { in LowerBUILD_VECTOR()
7319 if (SextVal == (int)(((unsigned)i << TypeShiftAmt) | in LowerBUILD_VECTOR()
7331 if (SextVal == (int)(((unsigned)i << 8) | (i < 0 ? 0xFF : 0))) { in LowerBUILD_VECTOR()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7946 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR() local
7948 if (SextVal >= -16 && SextVal <= 15) in LowerBUILD_VECTOR()
7949 return BuildSplatI(SextVal, SplatSize, Op.getValueType(), DAG, dl); in LowerBUILD_VECTOR()
7960 if (SextVal >= -32 && SextVal <= 31) { in LowerBUILD_VECTOR()
7964 SDValue Elt = DAG.getConstant(SextVal, dl, MVT::i32); in LowerBUILD_VECTOR()
8007 if (SextVal == (int)((unsigned)i << TypeShiftAmt)) { in LowerBUILD_VECTOR()
8018 if (SextVal == (int)((unsigned)i >> TypeShiftAmt)) { in LowerBUILD_VECTOR()
8029 if (SextVal == (int)((unsigned)i >> TypeShiftAmt)) { in LowerBUILD_VECTOR()
8040 if (SextVal == (int)(((unsigned)i << TypeShiftAmt) | in LowerBUILD_VECTOR()
8052 if (SextVal == (int)(((unsigned)i << 8) | (i < 0 ? 0xFF : 0))) { in LowerBUILD_VECTOR()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2415 int32_t SextVal = ((int32_t) (SplatBits << (32 - SplatBitSize)) >> in LowerBUILD_VECTOR() local
2417 return createSplat(DAG, dl, VT, DAG.getConstant(SextVal, dl, MVT::i32)); in LowerBUILD_VECTOR()