Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/
DHexagonGenExtract.cpp94 bool Match = match(In, m_And(m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
101 Match = match(In, m_And(m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
109 Match = match(In, m_And(m_Shl(m_Value(BF), m_ConstantInt(CSL)), in INITIALIZE_PASS_DEPENDENCY()
132 Match = match(In, m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
139 Match = match(In, m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp40 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(One), m_Value(A))), m_Value(B))) && in simplifyValueKnownNonZero()
201 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_Constant(C2)), in visitMul()
353 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) { in visitMul()
356 } else if (match(Op1, m_Shl(m_One(), m_Value(Y)))) { in visitMul()
1021 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand()
1022 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
DInstCombineShifts.cpp85 (!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()
DInstCombineCompares.cpp1602 if (match(LHSI, m_Shl(m_One(), m_Value(X)))) { in visitICmpInstWithInstAndIntCst()
2917 if (match(Op0, m_Shl(m_ConstantInt(CI2), m_Value(A)))) { in visitICmpInst()
2996 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst()
3040 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst()
3768 if (match(Op0, m_OneUse(m_Shl(m_Value(A), m_ConstantInt(Cst1)))) && in visitICmpInst()
3769 match(Op1, m_OneUse(m_Shl(m_Value(B), m_Specific(Cst1))))) { in visitICmpInst()
DInstCombineAddSub.cpp1644 if (match(Op1, m_Shl(m_Value(X), m_Value(Y))) && match(Op0, m_Zero())) in visitSub()
DInstCombineCasts.cpp1201 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)), in visitSExt()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp400 } else if (match(RHS, m_Shl(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd()
/external/llvm/lib/Analysis/
DValueTracking.cpp865 } else if (match(Arg, m_c_ICmp(Pred, m_Shl(m_V, m_ConstantInt(C)), in computeKnownBitsFromAssume()
875 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_Shl(m_V, m_ConstantInt(C))), in computeKnownBitsFromAssume()
1733 if (match(V, m_Shl(m_One(), m_Value()))) in isKnownToBeAPowerOfTwo()
1747 if (OrZero && (match(V, m_Shl(m_Value(X), m_Value())) || in isKnownToBeAPowerOfTwo()
1947 if (BitWidth && match(V, m_Shl(m_Value(X), m_Value(Y)))) { in isKnownNonZero()
DInstructionSimplify.cpp2787 if (LBO && match(LBO, m_Shl(m_APInt(CI2Val), m_Value())) && in SimplifyICmpInst()
DScalarEvolution.cpp5664 else if (match(V, m_Shl(m_Value(OutLHS), m_ConstantInt(ShiftAmt)))) in computeShiftCompareExitLimit()
/external/llvm/include/llvm/IR/
DPatternMatch.h524 inline BinaryOp_match<LHS, RHS, Instruction::Shl> m_Shl(const LHS &L, in m_Shl() function