Home
last modified time | relevance | path

Searched refs:ShAmt1 (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp507 Value *ShVal, *ShAmt0, *ShAmt1; in narrowRotate() local
509 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in narrowRotate()
523 m_OneUse(m_Sub(m_SpecificInt(NarrowWidth), m_Specific(ShAmt1))))) { in narrowRotate()
524 ShAmt = ShAmt1; in narrowRotate()
526 } else if (match(ShAmt1, m_OneUse(m_Sub(m_SpecificInt(NarrowWidth), in narrowRotate()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp13487 SDValue ShAmt1 = N1.getOperand(1); in PerformOrCombine() local
13488 if (ShAmt1.getValueType() != MVT::i8) in PerformOrCombine()
13492 if (ShAmt1.getOpcode() == ISD::TRUNCATE) in PerformOrCombine()
13493 ShAmt1 = ShAmt1.getOperand(0); in PerformOrCombine()
13502 std::swap(ShAmt0, ShAmt1); in PerformOrCombine()
13506 if (ShAmt1.getOpcode() == ISD::SUB) { in PerformOrCombine()
13507 SDValue Sum = ShAmt1.getOperand(0); in PerformOrCombine()
13509 SDValue ShAmt1Op1 = ShAmt1.getOperand(1); in PerformOrCombine()
13518 } else if (ConstantSDNode *ShAmt1C = dyn_cast<ConstantSDNode>(ShAmt1)) { in PerformOrCombine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp35149 SDValue ShAmt1 = N1.getOperand(1); in combineOr() local
35150 if (ShAmt1.getValueType() != MVT::i8) in combineOr()
35154 if (ShAmt1.getOpcode() == ISD::TRUNCATE) in combineOr()
35155 ShAmt1 = ShAmt1.getOperand(0); in combineOr()
35165 std::swap(ShAmt0, ShAmt1); in combineOr()
35173 if (ShAmt1.getOpcode() == ISD::SUB) { in combineOr()
35174 SDValue Sum = ShAmt1.getOperand(0); in combineOr()
35176 SDValue ShAmt1Op1 = ShAmt1.getOperand(1); in combineOr()
35185 } else if (ConstantSDNode *ShAmt1C = dyn_cast<ConstantSDNode>(ShAmt1)) { in combineOr()
35192 } else if (ShAmt1.getOpcode() == ISD::XOR) { in combineOr()
[all …]