Searched refs:ShAmt0 (Results 1 – 4 of 4) sorted by relevance
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineShifts.cpp | 39 Value *ShAmt0; in reassociateShiftAmtsOfTwoSameDirectionShifts() local 41 m_Shift(m_Instruction(Sh0Op0), m_ZExtOrSelf(m_Value(ShAmt0))))) in reassociateShiftAmtsOfTwoSameDirectionShifts() 61 if (ShAmt0->getType() != ShAmt1->getType()) in reassociateShiftAmtsOfTwoSameDirectionShifts() 77 APInt::getAllOnesValue(ShAmt0->getType()->getScalarSizeInBits()); in reassociateShiftAmtsOfTwoSameDirectionShifts() 104 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
|
| HD | InstCombineCasts.cpp | 514 Value *ShVal, *ShAmt0, *ShAmt1; in narrowRotate() local 515 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in narrowRotate() 548 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowRotate() 551 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowRotate()
|
| HD | InstCombineAndOrXor.cpp | 2042 Value *ShVal, *ShAmt0, *ShAmt1; in matchRotate() local 2043 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in matchRotate() 2073 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width); in matchRotate() 2076 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, Width); in matchRotate()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| HD | X86ISelLowering.cpp | 40681 SDValue ShAmt0 = N0.getOperand(1); in combineOrShiftToFunnelShift() local 40682 if (ShAmt0.getValueType() != ShiftVT) in combineOrShiftToFunnelShift() 40690 if (ShAmt0.getOpcode() == ISD::AND && in combineOrShiftToFunnelShift() 40691 isa<ConstantSDNode>(ShAmt0.getOperand(1)) && in combineOrShiftToFunnelShift() 40692 ShAmt0.getConstantOperandAPInt(1) == (Bits - 1)) { in combineOrShiftToFunnelShift() 40693 ShMsk0 = ShAmt0; in combineOrShiftToFunnelShift() 40694 ShAmt0 = ShAmt0.getOperand(0); in combineOrShiftToFunnelShift() 40704 if (ShAmt0.getOpcode() == ISD::TRUNCATE) in combineOrShiftToFunnelShift() 40705 ShAmt0 = ShAmt0.getOperand(0); in combineOrShiftToFunnelShift() 40713 if (ShAmt0.getOpcode() == ISD::SUB || ShAmt0.getOpcode() == ISD::XOR) { in combineOrShiftToFunnelShift() [all …]
|