Home
last modified time | relevance | path

Searched refs:m_LShr (Results 1 – 10 of 10) 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()
118 Match = match(In, m_And(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
132 Match = match(In, m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1467 match(LShr, m_LShr(m_Specific(X), m_Value(Y)))) { in visitICmpInstWithInstAndIntCst()
2912 match(Op0, m_LShr(m_ConstantInt(CI2), m_Value(A)))) { in visitICmpInst()
3013 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst()
3057 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst()
3751 if ((match(Op0, m_OneUse(m_LShr(m_Value(A), m_ConstantInt(Cst1)))) && in visitICmpInst()
3752 match(Op1, m_OneUse(m_LShr(m_Value(B), m_Specific(Cst1))))) || in visitICmpInst()
3786 match(Op0, m_Trunc(m_OneUse(m_LShr(m_Value(A), in visitICmpInst()
DInstCombineCasts.cpp449 m_LShr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
525 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
551 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst))) && in visitTrunc()
DInstCombineMulDivRem.cpp40 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(One), m_Value(A))), m_Value(B))) && in simplifyValueKnownNonZero()
1059 if (match(Op0, m_LShr(m_Value(X), m_APInt(C1))) && in visitUDiv()
DInstCombineShifts.cpp84 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || in CanEvaluateShifted()
DInstCombineAddSub.cpp1566 if (match(Op1, m_LShr(m_Value(X), m_ConstantInt(CI))) && in visitSub()
/external/llvm/include/llvm/IR/
DPatternMatch.h530 inline BinaryOp_match<LHS, RHS, Instruction::LShr> m_LShr(const LHS &L, in m_LShr() function
1298 auto RHS = m_LShr(m_Neg(m_Value(OpR)), m_SpecificInt(ShiftWidth));
/external/llvm/lib/Analysis/
DValueTracking.cpp886 m_c_ICmp(Pred, m_CombineOr(m_LShr(m_V, m_ConstantInt(C)), in computeKnownBitsFromAssume()
898 m_LShr(m_V, m_ConstantInt(C)), in computeKnownBitsFromAssume()
1738 if (match(V, m_LShr(m_SignBit(), m_Value()))) in isKnownToBeAPowerOfTwo()
1803 if (match(V, m_Exact(m_LShr(m_Value(), m_Value()))) || in isKnownToBeAPowerOfTwo()
DInstructionSimplify.cpp2340 } else if (match(LHS, m_LShr(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
2345 } else if (match(LHS, m_LShr(m_ConstantInt(CI2), m_Value()))) { in SimplifyICmpInst()
DScalarEvolution.cpp5660 if (match(V, m_LShr(m_Value(OutLHS), m_ConstantInt(ShiftAmt)))) in computeShiftCompareExitLimit()