Searched refs:m_Shr (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 88 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 D | InstCombineCasts.cpp | 743 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 D | InstCombineSimplifyDemanded.cpp | 635 if (match(I->getOperand(0), m_Shr(m_Value(), m_APInt(ShrAmt)))) in SimplifyDemandedUseBits()
|
H A D | InstructionCombining.cpp | 2949 m_Shr(m_Value(V), in visitGetElementPtrInst() 2966 match(ExactIns, m_Shr(m_Value(V), m_APInt(C))) && in visitGetElementPtrInst()
|
H A D | InstCombineCompares.cpp | 1181 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 D | HexagonVectorCombine.cpp | 1675 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 D | PatternMatch.h | 1487 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 D | CodeGenPrepare.cpp | 8267 match(UI, m_Shr(m_Specific(X), m_SpecificInt(CmpC.logBase2())))) { in optimizeBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 1461 match(Op0, m_Exact(m_Shr(m_Value(X), m_Specific(Op1))))) in simplifyShlInst()
|
H A D | ValueTracking.cpp | 690 } else if (match(LHS, m_Shr(m_V, m_ConstantInt(ShAmt))) && in computeKnownBitsFromCmp()
|