Home
last modified time | relevance | path

Searched refs:m_LShr (Results 1 – 18 of 18) 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/
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()
DInstCombineCompares.cpp1792 match(LShr, m_LShr(m_Specific(X), m_Value(Y)))) { in visitICmpInstWithInstAndIntCst()
3314 match(Op0, m_LShr(m_ConstantInt(CI2), m_Value(A)))) { in visitICmpInst()
3451 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst()
3495 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst()
4210 if ((match(Op0, m_OneUse(m_LShr(m_Value(A), m_ConstantInt(Cst1)))) && in visitICmpInst()
4211 match(Op1, m_OneUse(m_LShr(m_Value(B), m_Specific(Cst1))))) || in visitICmpInst()
4245 match(Op0, m_Trunc(m_OneUse(m_LShr(m_Value(A), in visitICmpInst()
DInstCombineMulDivRem.cpp40 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(One), m_Value(A))), m_Value(B))) && in simplifyValueKnownNonZero()
1073 if (match(Op0, m_LShr(m_Value(X), m_APInt(C1))) && in visitUDiv()
DInstCombineShifts.cpp129 if ((IsLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || in CanEvaluateShifted()
DInstCombineAddSub.cpp1546 if (match(Op1, m_LShr(m_Value(X), m_ConstantInt(CI))) && in visitSub()
/external/llvm/lib/Analysis/
DValueTracking.cpp686 m_c_ICmp(Pred, m_CombineOr(m_LShr(m_V, m_ConstantInt(C)), in computeKnownBitsFromAssume()
699 m_LShr(m_V, m_ConstantInt(C)), in computeKnownBitsFromAssume()
1512 if (match(V, m_LShr(m_SignBit(), m_Value()))) in isKnownToBeAPowerOfTwo()
1523 match(V, m_LShr(m_Value(X), m_Value())))) in isKnownToBeAPowerOfTwo()
1578 if (match(V, m_Exact(m_LShr(m_Value(), m_Value()))) || in isKnownToBeAPowerOfTwo()
DInstructionSimplify.cpp2366 } else if (match(LHS, m_LShr(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
2371 } else if (match(LHS, m_LShr(m_ConstantInt(CI2), m_Value()))) { in SimplifyICmpInst()
2826 if (LBO && (match(LBO, m_LShr(m_Specific(RHS), m_Value())) || in SimplifyICmpInst()
DScalarEvolution.cpp6165 if (match(V, m_LShr(m_Value(OutLHS), m_ConstantInt(ShiftAmt)))) in computeShiftCompareExitLimit()
/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/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp37 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(PowerOf2), m_Value(A))), in simplifyValueKnownNonZero()
DInstCombineAddSub.cpp565 if (match(Op1, m_LShr(m_Value(X), m_ConstantInt(CI))) && in visitSub()
DInstCombineCasts.cpp468 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
1626 if (match(Src, m_Trunc(m_LShr(m_BitCast(m_Value(VecInput)), in OptimizeIntToFloatBitCast()
DInstCombineShifts.cpp82 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || in CanEvaluateShifted()
DInstCombineCompares.cpp1978 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst()
2015 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst()
2536 match(Op0, m_Trunc(m_OneUse(m_LShr(m_Value(A), in visitICmpInst()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp727 if (match(V, m_LShr(m_SignBit(), m_Value()))) in isPowerOfTwo()
744 if (match(V, m_LShr(m_Value(), m_Value())) || in isPowerOfTwo()
DInstructionSimplify.cpp1581 } else if (match(LHS, m_LShr(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h388 m_LShr(const LHS &L, const RHS &R) { in m_LShr() function