Home
last modified time | relevance | path

Searched refs:Sh0 (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp23 bool canTryToConstantAddTwoShiftAmounts(Value *Sh0, Value *ShAmt0, Value *Sh1, in canTryToConstantAddTwoShiftAmounts() argument
40 (Sh0->getType()->getScalarSizeInBits() - 1) + in canTryToConstantAddTwoShiftAmounts()
59 BinaryOperator *Sh0, const SimplifyQuery &SQ, in reassociateShiftAmtsOfTwoSameDirectionShifts() argument
64 if (!match(Sh0, in reassociateShiftAmtsOfTwoSameDirectionShifts()
84 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts()
88 bool HadTwoRightShifts = match(Sh0, m_Shr(m_Value(), m_Value())) && in reassociateShiftAmtsOfTwoSameDirectionShifts()
96 Instruction::BinaryOps ShiftOpcode = Sh0->getOpcode(); in reassociateShiftAmtsOfTwoSameDirectionShifts()
97 bool IdenticalShOpcodes = Sh0->getOpcode() == Sh1->getOpcode(); in reassociateShiftAmtsOfTwoSameDirectionShifts()
105 !match(Sh0, m_c_BinOp(m_OneUse(m_Value()), m_Value()))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
111 SQ.getWithInstruction(Sh0))); in reassociateShiftAmtsOfTwoSameDirectionShifts()
[all …]
H A DInstCombineInternal.h121 BinaryOperator *Sh0, const SimplifyQuery &SQ,