Searched refs:m_Shl (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 40 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(One), m_Value(A))), m_Value(B))) && in simplifyValueKnownNonZero() 194 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_Constant(C2)), in visitMul() 342 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) { in visitMul() 345 } else if (match(Op1, m_Shl(m_One(), m_Value(Y)))) { in visitMul() 1011 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand() 1012 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
|
D | InstCombineShifts.cpp | 85 (!isLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { in CanEvaluateShifted() 730 if (match(I.getOperand(0), m_OneUse(m_Shl(m_Constant(C1), m_Value(A)))) && in visitShl() 800 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1)))) { in visitAShr()
|
D | InstCombineCompares.cpp | 1496 if (match(LHSI, m_Shl(m_One(), m_Value(X)))) { in visitICmpInstWithInstAndIntCst() 2823 if (match(Op0, m_Shl(m_ConstantInt(CI2), m_Value(A)))) { in visitICmpInst() 2902 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst() 2947 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst() 3633 if (match(Op0, m_OneUse(m_Shl(m_Value(A), m_ConstantInt(Cst1)))) && in visitICmpInst() 3634 match(Op1, m_OneUse(m_Shl(m_Value(B), m_Specific(Cst1))))) { in visitICmpInst()
|
D | InstCombineAddSub.cpp | 1645 if (match(Op1, m_Shl(m_Value(X), m_Value(Y))) && match(Op0, m_Zero())) in visitSub()
|
D | InstCombineCasts.cpp | 1128 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)), in visitSExt()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 812 } else if (match(Arg, m_c_ICmp(Pred, m_Shl(m_V, m_ConstantInt(C)), in computeKnownBitsFromAssume() 822 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_Shl(m_V, m_ConstantInt(C))), in computeKnownBitsFromAssume() 1546 if (match(V, m_Shl(m_One(), m_Value()))) in isKnownToBeAPowerOfTwo() 1560 if (OrZero && (match(V, m_Shl(m_Value(X), m_Value())) || in isKnownToBeAPowerOfTwo() 1760 if (BitWidth && match(V, m_Shl(m_Value(X), m_Value(Y)))) { in isKnownNonZero()
|
D | InstructionSimplify.cpp | 2715 if (LBO && match(LBO, m_Shl(m_APInt(CI2Val), m_Value())) && in SimplifyICmpInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 393 } else if (match(RHS, m_Shl(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 524 inline BinaryOp_match<LHS, RHS, Instruction::Shl> m_Shl(const LHS &L, in m_Shl() function
|