Lines Matching defs:Sh1
23 bool canTryToConstantAddTwoShiftAmounts(Value *Sh0, Value *ShAmt0, Value *Sh1,
31 // Sh0 (Sh1 X, Q), K
41 (Sh1->getType()->getScalarSizeInBits() - 1);
71 Instruction *Sh1;
74 m_CombineOr(m_CombineAnd(m_Trunc(m_Instruction(Sh1)), m_Value(Trunc)),
75 m_Instruction(Sh1)));
80 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1)))))
84 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1))
89 match(Sh1, m_Shr(m_Value(), m_Value()));
97 bool IdenticalShOpcodes = Sh0->getOpcode() == Sh1->getOpcode();
155 Sh1->hasNoUnsignedWrap());
157 Sh1->hasNoSignedWrap());
159 NewShift->setIsExact(Sh0->isExact() && Sh1->isExact());