/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 588 if (match(Op1, m_Add(m_Value(X), m_ConstantInt(C2)))) in visitSub() 595 if (match(Op1, m_Add(m_Specific(Op0), m_Value(Y))) || in visitSub() 596 match(Op1, m_Add(m_Value(Y), m_Specific(Op0)))) in visitSub()
|
D | InstCombineMulDivRem.cpp | 133 match(Op0, m_Add(m_Value(X), m_ConstantInt(C1)))) { in visitMul() 152 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) in visitMul()
|
D | InstCombineCompares.cpp | 1861 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in visitICmpInst() 2456 match(Op0, m_Add(m_Value(A), m_Value(B))) && in visitICmpInst() 2464 match(Op1, m_Add(m_Value(A), m_Value(B))) && in visitICmpInst() 2561 if (match(Op0, m_Add(m_Value(X), m_ConstantInt(Cst))) && Op1 == X) in visitICmpInst() 2565 if (match(Op1, m_Add(m_Value(X), m_ConstantInt(Cst))) && Op0 == X) in visitICmpInst()
|
D | InstCombineAndOrXor.cpp | 1511 if (match(Val, m_Add(m_Specific(Val2), m_ConstantInt(AddCst)))) in FoldOrOfICmps() 1847 match(A, m_Add(m_Value(V1), m_Value(V2)))) { in visitOr() 1856 match(B, m_Add(m_Value(V1), m_Value(V2)))) { in visitOr()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 987 if (match(RHS, m_Add(m_Value(X), m_One()))) in checkForNegativeOperand() 990 if (match(LHS, m_Add(m_Value(X), m_One()))) { in checkForNegativeOperand() 1523 if (match(Op1, m_Add(m_Value(X), m_Constant(C2)))) in visitSub() 1574 if (match(Op1, m_Add(m_Specific(Op0), m_Value(Y))) || in visitSub() 1575 match(Op1, m_Add(m_Value(Y), m_Specific(Op0)))) in visitSub()
|
D | InstCombineMulDivRem.cpp | 257 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) in visitMul() 283 if (match(Op0, m_OneUse(m_Add(m_Value(X), m_Constant(C1))))) { in visitMul()
|
D | InstCombineCompares.cpp | 3264 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in visitICmpInst() 4077 auto LSubOne = m_Add(m_Specific(Op1), m_AllOnes()); in visitICmpInst() 4286 if (match(Op0, m_Add(m_Value(X), m_ConstantInt(Cst))) && Op1 == X) in visitICmpInst() 4290 if (match(Op1, m_Add(m_Value(X), m_ConstantInt(Cst))) && Op0 == X) in visitICmpInst()
|
D | InstCombineAndOrXor.cpp | 1741 if (match(LAdd, m_Add(m_Value(LAddOpnd), m_ConstantInt(LAddCst))) && in FoldOrOfICmps() 1742 match(RAdd, m_Add(m_Value(RAddOpnd), m_ConstantInt(RAddCst))) && in FoldOrOfICmps() 1844 if (match(Val, m_Add(m_Specific(Val2), m_ConstantInt(AddCst)))) in FoldOrOfICmps()
|
D | InstructionCombining.cpp | 2206 if (match(Cond, m_Add(m_Value(), m_ConstantInt(AddRHS)))) { in visitSwitchInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 386 return (match(A, m_Add(m_Value(B), m_ConstantInt(C))) || in matchesAdd() 387 match(A, m_Add(m_ConstantInt(C), m_Value(B)))); in matchesAdd()
|
D | NaryReassociate.cpp | 501 return match(V, m_Add(m_Value(Op1), m_Value(Op2))); in matchTernaryOp()
|
D | GuardWidening.cpp | 531 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
|
D | SeparateConstOffsetFromGEP.cpp | 1123 if (match(I, m_Add(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS)))) || in reuniteExts()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | AddrModeMatcher.cpp | 102 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { in MatchScaledValue()
|
/external/llvm/lib/Analysis/ |
D | LazyValueInfo.cpp | 978 if (match(SI->getFalseValue(), m_Add(m_Specific(A), in solveBlockValueSelect() 986 if (match(SI->getTrueValue(), m_Add(m_Specific(A), in solveBlockValueSelect() 1186 match(ICI->getOperand(0), m_Add(m_Specific(Val), in getValueFromFromCondition()
|
D | VectorUtils.cpp | 272 if (match(V, m_Add(m_Value(Val), m_Constant(Con)))) in findScalarElement()
|
D | InstructionSimplify.cpp | 689 if (MaxRecurse && match(Op0, m_Add(m_Value(X), m_Value(Y)))) { // (X + Y) - Z in SimplifySubInst() 711 if (MaxRecurse && match(Op1, m_Add(m_Value(Y), m_Value(Z)))) { // X - (Y + Z) in SimplifySubInst() 1521 if (!match(Op0, m_ICmp(Pred0, m_Add(m_Value(V), m_ConstantInt(CI1)), in SimplifyAndOfICmps() 1693 if (!match(Op0, m_ICmp(Pred0, m_Add(m_Value(V), m_ConstantInt(CI1)), in SimplifyOrOfICmps() 1828 match(A, m_Add(m_Value(V1), m_Value(V2)))) { in SimplifyOrInst() 1839 match(B, m_Add(m_Value(V1), m_Value(V2)))) { in SimplifyOrInst()
|
D | ValueTracking.cpp | 897 if (match(I->getOperand(0), m_Add(m_Specific(I->getOperand(1)), in computeKnownBitsFromOperator() 899 match(I->getOperand(1), m_Add(m_Specific(I->getOperand(0)), in computeKnownBitsFromOperator() 1546 if (match(V, m_Add(m_Value(X), m_Value(Y)))) { in isKnownToBeAPowerOfTwo() 1780 else if (match(V, m_Add(m_Value(X), m_Value(Y)))) { in isKnownNonZero()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 434 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L, in m_Add() function 1129 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 292 m_Add(const LHS &L, const RHS &R) { in m_Add() function
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 644 if (MaxRecurse && match(Op0, m_Add(m_Value(X), m_Value(Y)))) { // (X + Y) - Z in SimplifySubInst() 668 if (MaxRecurse && match(Op1, m_Add(m_Value(Y), m_Value(Z)))) { // X - (Y + Z) in SimplifySubInst()
|
D | ValueTracking.cpp | 818 else if (match(V, m_Add(m_Value(X), m_Value(Y)))) { in isKnownNonZero()
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | README.txt | 2220 if (match(Op0, m_Add(m_Value(A), m_Value(B))) && 2221 match(Op1, m_Add(m_Value(C), m_Value(D))) &&
|
/external/llvm/lib/Target/ |
D | README.txt | 2139 if (match(Op0, m_Add(m_Value(A), m_Value(B))) && 2140 match(Op1, m_Add(m_Value(C), m_Value(D))) &&
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 2699 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { in matchScaledValue()
|