Searched refs:m_Shr (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 82 bool HadTwoRightShifts = match(Sh0, m_Shr(m_Value(), m_Value())) && in reassociateShiftAmtsOfTwoSameDirectionShifts() 83 match(Sh1, m_Shr(m_Value(), m_Value())); in reassociateShiftAmtsOfTwoSameDirectionShifts() 210 auto MaskC = m_Shr(m_AllOnes(), m_Value(MaskShAmt)); in dropRedundantMaskingOfLeftShiftInput() 213 m_Shr(m_Shl(m_AllOnes(), m_Value(MaskShAmt)), m_Deferred(MaskShAmt)); in dropRedundantMaskingOfLeftShiftInput() 249 match(Masked, m_Shr(m_Shl(m_Value(X), m_Value(MaskShAmt)), in dropRedundantMaskingOfLeftShiftInput() 772 match(Op0BO->getOperand(1), m_Shr(m_Value(V1), in FoldShiftByConstant() 792 m_And(m_OneUse(m_Shr(m_Value(V1), m_Specific(Op1))), in FoldShiftByConstant() 807 match(Op0BO->getOperand(0), m_Shr(m_Value(V1), in FoldShiftByConstant() 826 m_And(m_OneUse(m_Shr(m_Value(V1), m_Value(V2))), in FoldShiftByConstant() 960 if (match(Op0, m_Shr(m_Value(X), m_Specific(Op1)))) { in visitShl() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 499 if (match(I->getOperand(0), m_Shr(m_Value(), m_APInt(ShrAmt)))) in SimplifyDemandedUseBits()
|
D | InstCombineCasts.cpp | 827 !match(A, m_Shr(m_Value(), m_Constant()))) { in visitTrunc()
|
D | InstCombineCompares.cpp | 1371 if (match(Val, m_TruncOrSelf(m_Shr(m_Value(X), m_Constant(C))))) { in foldSignBitTest()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 821 } else if (match(Cmp, m_c_ICmp(Pred, m_Shr(m_V, m_ConstantInt(C)), in computeKnownBitsFromAssume() 831 } else if (match(Cmp, m_c_ICmp(Pred, m_Not(m_Shr(m_V, m_ConstantInt(C))), in computeKnownBitsFromAssume() 2238 else if (match(V, m_Shr(m_Value(X), m_Value(Y)))) { in isKnownNonZero()
|
D | InstructionSimplify.cpp | 1326 match(Op0, m_Exact(m_Shr(m_Value(X), m_Specific(Op1))))) in SimplifyShlInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 1089 inline BinOpPred_match<LHS, RHS, is_right_shift_op> m_Shr(const LHS &L, in m_Shr() function
|