/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 | 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 | InstCombineCompares.cpp | 1792 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()
|
D | InstCombineMulDivRem.cpp | 40 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()
|
D | InstCombineShifts.cpp | 129 if ((IsLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || in CanEvaluateShifted()
|
D | InstCombineAddSub.cpp | 1546 if (match(Op1, m_LShr(m_Value(X), m_ConstantInt(CI))) && in visitSub()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 686 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()
|
D | InstructionSimplify.cpp | 2366 } 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()
|
D | ScalarEvolution.cpp | 6165 if (match(V, m_LShr(m_Value(OutLHS), m_ConstantInt(ShiftAmt)))) in computeShiftCompareExitLimit()
|
/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/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 37 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(PowerOf2), m_Value(A))), in simplifyValueKnownNonZero()
|
D | InstCombineAddSub.cpp | 565 if (match(Op1, m_LShr(m_Value(X), m_ConstantInt(CI))) && in visitSub()
|
D | InstCombineCasts.cpp | 468 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()
|
D | InstCombineShifts.cpp | 82 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || in CanEvaluateShifted()
|
D | InstCombineCompares.cpp | 1978 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/ |
D | ValueTracking.cpp | 727 if (match(V, m_LShr(m_SignBit(), m_Value()))) in isPowerOfTwo() 744 if (match(V, m_LShr(m_Value(), m_Value())) || in isPowerOfTwo()
|
D | InstructionSimplify.cpp | 1581 } else if (match(LHS, m_LShr(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 388 m_LShr(const LHS &L, const RHS &R) { in m_LShr() function
|