Home
last modified time | relevance | path

Searched refs:ShAmt0 (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
508 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in narrowRotate()
522 if (match(ShAmt0, in narrowRotate()
527 m_Specific(ShAmt0))))) { in narrowRotate()
528 ShAmt = ShAmt0; in narrowRotate()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp13484 SDValue ShAmt0 = N0.getOperand(1); in PerformOrCombine() local
13485 if (ShAmt0.getValueType() != MVT::i8) in PerformOrCombine()
13490 if (ShAmt0.getOpcode() == ISD::TRUNCATE) in PerformOrCombine()
13491 ShAmt0 = ShAmt0.getOperand(0); in PerformOrCombine()
13499 if (ShAmt0.getOpcode() == ISD::SUB) { in PerformOrCombine()
13502 std::swap(ShAmt0, ShAmt1); in PerformOrCombine()
13512 if (SumC->getSExtValue() == Bits && ShAmt1Op1 == ShAmt0) in PerformOrCombine()
13516 MVT::i8, ShAmt0)); in PerformOrCombine()
13519 ConstantSDNode *ShAmt0C = dyn_cast<ConstantSDNode>(ShAmt0); in PerformOrCombine()
13525 MVT::i8, ShAmt0)); in PerformOrCombine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp35146 SDValue ShAmt0 = N0.getOperand(1); in combineOr() local
35147 if (ShAmt0.getValueType() != MVT::i8) in combineOr()
35152 if (ShAmt0.getOpcode() == ISD::TRUNCATE) in combineOr()
35153 ShAmt0 = ShAmt0.getOperand(0); in combineOr()
35161 if (ShAmt0.getOpcode() == ISD::SUB || in combineOr()
35162 ShAmt0.getOpcode() == ISD::XOR) { in combineOr()
35165 std::swap(ShAmt0, ShAmt1); in combineOr()
35179 if (SumC->getSExtValue() == Bits && ShAmt1Op1 == ShAmt0) in combineOr()
35183 MVT::i8, ShAmt0)); in combineOr()
35186 ConstantSDNode *ShAmt0C = dyn_cast<ConstantSDNode>(ShAmt0); in combineOr()
[all …]