Home
last modified time | relevance | path

Searched refs:m_Shl (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp37 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(PowerOf2), m_Value(A))), in simplifyValueKnownNonZero()
226 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) in visitMul()
228 if (match(Op1, m_Shl(m_One(), m_Value(Y)))) in visitMul()
467 if (match(Op1, m_Shl(m_Power2(CI), m_Value(N)))) { in visitUDiv()
544 if (match(Op1, m_Shl(m_Power2(), m_Value()))) { in visitSDiv()
631 if (match(Op1, m_Shl(m_Power2(), m_Value()))) { in visitURem()
DInstCombineShifts.cpp82 (!isLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { in CanEvaluateShifted()
651 if (match(I.getOperand(0), m_OneUse(m_Shl(m_Constant(C1), m_Value(A)))) && in visitShl()
714 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1)))) { in visitAShr()
DInstCombineAddSub.cpp627 if (match(Op1, m_Shl(m_Value(X), m_Value(Y))) && match(Op0, m_Zero())) in visitSub()
638 if (match(Op1, m_Shl(m_Specific(Op0), m_ConstantInt(CI)))) { in visitSub()
DInstCombineCompares.cpp1967 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst()
2004 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst()
DInstCombineCasts.cpp1126 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)), in visitSExt()
/external/llvm/lib/Analysis/
DValueTracking.cpp722 if (match(V, m_Shl(m_One(), m_Value()))) in isPowerOfTwo()
786 if (BitWidth && match(V, m_Shl(m_Value(X), m_Value(Y)))) { in isKnownNonZero()
DInstructionSimplify.cpp618 match(Op0, m_Shl(m_Specific(Op1), m_One()))) in SimplifySubInst()
1091 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1))) && in SimplifyLShrInst()
1121 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1))) && in SimplifyAShrInst()
/external/llvm/include/llvm/Support/
DPatternMatch.h382 m_Shl(const LHS &L, const RHS &R) { in m_Shl() function