Home
last modified time | relevance | path

Searched refs:m_Shr (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp88 bool HadTwoRightShifts = match(Sh0, m_Shr(m_Value(), m_Value())) && in reassociateShiftAmtsOfTwoSameDirectionShifts()
89 match(Sh1, m_Shr(m_Value(), m_Value())); in reassociateShiftAmtsOfTwoSameDirectionShifts()
267 match(Masked, m_Shr(m_Shl(m_Value(X), m_Value(MaskShAmt)), in dropRedundantMaskingOfLeftShiftInput()
1054 if (match(Op0, m_Shr(m_Value(X), m_Specific(Op1)))) { in visitShl()
1060 if (match(Op0, m_Exact(m_Shr(m_Value(X), m_APInt(C1)))) && in visitShl()
1085 if (match(Op0, m_OneUse(m_Shr(m_Value(X), m_APInt(C1)))) && in visitShl()
1118 match(Shr, m_Shr(m_Value(X), m_APInt(C1)))) { in visitShl()
1162 (match(Y, m_Shr(m_Value(), m_Specific(Op1))) || in visitShl()
1163 match(Y, m_And(m_OneUse(m_Shr(m_Value(), m_Specific(Op1))), in visitShl()
1168 if (match(Shr, m_OneUse(m_Shr(m_Value(X), m_Specific(Op1))))) { in visitShl()
[all …]
H A DInstCombineCasts.cpp743 if (match(Src, m_OneUse(m_Shr(m_Shl(m_Power2(C1), m_Value(X)), in visitTrunc()
836 !match(A, m_Shr(m_Value(), m_Constant()))) { in visitTrunc()
H A DInstCombineSimplifyDemanded.cpp635 if (match(I->getOperand(0), m_Shr(m_Value(), m_APInt(ShrAmt)))) in SimplifyDemandedUseBits()
H A DInstructionCombining.cpp2949 m_Shr(m_Value(V), in visitGetElementPtrInst()
2966 match(ExactIns, m_Shr(m_Value(V), m_APInt(C))) && in visitGetElementPtrInst()
H A DInstCombineCompares.cpp1181 if (match(Val, m_TruncOrSelf(m_Shr(m_Value(X), m_Constant(C))))) { in foldSignBitTest()
1483 match(X, m_Shr(m_Value(ShOp), m_APInt(ShAmtC))) && in foldICmpTruncConstant()
7546 m_Shr(m_Value(X), m_SpecificIntAllowPoison( in visitICmpInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp1675 auto m_Shr = [](auto &&V, auto &&S) { in matchFxpMul() local
1680 if (Value * T; match(Exp, m_Shr(m_Value(T), m_APInt(Qn)))) { in matchFxpMul()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1487 inline BinOpPred_match<LHS, RHS, is_right_shift_op> m_Shr(const LHS &L, in m_Shr() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp8267 match(UI, m_Shr(m_Specific(X), m_SpecificInt(CmpC.logBase2())))) { in optimizeBranch()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1461 match(Op0, m_Exact(m_Shr(m_Value(X), m_Specific(Op1))))) in simplifyShlInst()
H A DValueTracking.cpp690 } else if (match(LHS, m_Shr(m_V, m_ConstantInt(ShAmt))) && in computeKnownBitsFromCmp()