Searched refs:m_Shl (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 39 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()
|
D | InstCombineShifts.cpp | 85 (!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()
|
D | InstCombineCompares.cpp | 1363 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()
|
D | InstCombineAddSub.cpp | 1562 if (match(Op1, m_Shl(m_Value(X), m_Value(Y))) && match(Op0, m_Zero())) in visitSub()
|
D | InstCombineCasts.cpp | 1116 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)), in visitSExt()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 831 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()
|
D | InstructionSimplify.cpp | 1309 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/ |
D | PatternMatch.h | 485 m_Shl(const LHS &L, const RHS &R) { in m_Shl() function
|