Searched refs:m_Shl (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 37 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()
|
D | InstCombineShifts.cpp | 82 (!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()
|
D | InstCombineAddSub.cpp | 627 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()
|
D | InstCombineCompares.cpp | 1967 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()
|
D | InstCombineCasts.cpp | 1126 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)), in visitSExt()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 722 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()
|
D | InstructionSimplify.cpp | 618 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/ |
D | PatternMatch.h | 382 m_Shl(const LHS &L, const RHS &R) { in m_Shl() function
|