Searched refs:m_LShr (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 94 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/ |
D | InstCombineCompares.cpp | 1467 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()
|
D | InstCombineCasts.cpp | 449 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()
|
D | InstCombineMulDivRem.cpp | 40 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()
|
D | InstCombineShifts.cpp | 84 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || in CanEvaluateShifted()
|
D | InstCombineAddSub.cpp | 1566 if (match(Op1, m_LShr(m_Value(X), m_ConstantInt(CI))) && in visitSub()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 530 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/ |
D | ValueTracking.cpp | 886 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()
|
D | InstructionSimplify.cpp | 2340 } 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()
|
D | ScalarEvolution.cpp | 5660 if (match(V, m_LShr(m_Value(OutLHS), m_ConstantInt(ShiftAmt)))) in computeShiftCompareExitLimit()
|