Searched refs:Sh1 (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 23 bool canTryToConstantAddTwoShiftAmounts(Value *Sh0, Value *ShAmt0, Value *Sh1, in canTryToConstantAddTwoShiftAmounts() argument 41 (Sh1->getType()->getScalarSizeInBits() - 1); in canTryToConstantAddTwoShiftAmounts() 71 Instruction *Sh1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local 74 m_CombineOr(m_CombineAnd(m_Trunc(m_Instruction(Sh1)), m_Value(Trunc)), in reassociateShiftAmtsOfTwoSameDirectionShifts() 75 m_Instruction(Sh1))); in reassociateShiftAmtsOfTwoSameDirectionShifts() 80 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts() 84 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts() 89 match(Sh1, m_Shr(m_Value(), m_Value())); in reassociateShiftAmtsOfTwoSameDirectionShifts() 97 bool IdenticalShOpcodes = Sh0->getOpcode() == Sh1->getOpcode(); in reassociateShiftAmtsOfTwoSameDirectionShifts() 155 Sh1->hasNoUnsignedWrap()); in reassociateShiftAmtsOfTwoSameDirectionShifts() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 709 Value *X = nullptr, *Sh1 = nullptr; in matchLeftShift() local 712 Sh1 = A; in matchLeftShift() 715 Sh1 = B; in matchLeftShift() 728 else if (C == Sh1) in matchLeftShift()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 3146 SDValue Sh1 = DAG.getNode(Op2, dl, NVT, InL, DAG.getConstant(1, dl, ShTy)); in ExpandShiftWithKnownAmountBit() local 3148 SDValue Sh2 = DAG.getNode(Op2, dl, NVT, Sh1, Amt2); in ExpandShiftWithKnownAmountBit()
|