Home
last modified time | relevance | path

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/
DInstCombineShifts.cpp82 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 …]
DInstCombineSimplifyDemanded.cpp499 if (match(I->getOperand(0), m_Shr(m_Value(), m_APInt(ShrAmt)))) in SimplifyDemandedUseBits()
DInstCombineCasts.cpp827 !match(A, m_Shr(m_Value(), m_Constant()))) { in visitTrunc()
DInstCombineCompares.cpp1371 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/
DValueTracking.cpp821 } 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()
DInstructionSimplify.cpp1326 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/
DPatternMatch.h1089 inline BinOpPred_match<LHS, RHS, is_right_shift_op> m_Shr(const LHS &L, in m_Shr() function