Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp39 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(PowerOf2), m_Value(A))), in simplifyValueKnownNonZero()
140 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_Constant(C2)), in visitMul()
266 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) in visitMul()
268 if (match(Op1, m_Shl(m_One(), m_Value(Y)))) in visitMul()
885 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand()
886 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
1017 if (match(Op1, m_Shl(m_Power2(), m_Value()))) { in visitSDiv()
DInstCombineShifts.cpp85 (!isLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { in CanEvaluateShifted()
722 if (match(I.getOperand(0), m_OneUse(m_Shl(m_Constant(C1), m_Value(A)))) && in visitShl()
791 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1)))) { in visitAShr()
DInstCombineCompares.cpp1363 if (match(LHSI, m_Shl(m_One(), m_Value(X)))) { in visitICmpInstWithInstAndIntCst()
2544 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst()
2589 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst()
DInstCombineAddSub.cpp1562 if (match(Op1, m_Shl(m_Value(X), m_Value(Y))) && match(Op0, m_Zero())) in visitSub()
DInstCombineCasts.cpp1116 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)), in visitSExt()
/external/llvm/lib/Analysis/
DValueTracking.cpp831 if (match(V, m_Shl(m_One(), m_Value()))) in isKnownToBeAPowerOfTwo()
845 if (OrZero && (match(V, m_Shl(m_Value(X), m_Value())) || in isKnownToBeAPowerOfTwo()
1016 if (BitWidth && match(V, m_Shl(m_Value(X), m_Value(Y)))) { in isKnownNonZero()
DInstructionSimplify.cpp1309 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1))) && in SimplifyLShrInst()
1345 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1))) && in SimplifyAShrInst()
/external/llvm/include/llvm/IR/
DPatternMatch.h485 m_Shl(const LHS &L, const RHS &R) { in m_Shl() function