/external/llvm/lib/Transforms/Scalar/ |
NaryReassociate.cpp | 214 if (LHS->hasOneUse() && match(LHS, m_Add(m_Value(A), m_Value(B)))) {
|
StraightLineStrengthReduce.cpp | 411 if (match(LHS, m_Add(m_Value(B), m_ConstantInt(Idx)))) {
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 1007 if (match(RHS, m_Add(m_Value(X), m_One()))) 1010 if (match(LHS, m_Add(m_Value(X), m_One()))) { [all...] |
InstCombineMulDivRem.cpp | 246 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) 272 if (match(Op0, m_OneUse(m_Add(m_Value(X), m_Constant(C1))))) { [all...] |
InstCombineCompares.cpp | [all...] |
InstCombineVectorOps.cpp | 104 if (match(V, m_Add(m_Value(Val), m_Constant(Con)))) { [all...] |
InstCombineAndOrXor.cpp | [all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | 691 if (MaxRecurse && match(Op0, m_Add(m_Value(X), m_Value(Y)))) { // (X + Y) - Z 713 if (MaxRecurse && match(Op1, m_Add(m_Value(Y), m_Value(Z)))) { // X - (Y + Z) [all...] |
LazyValueInfo.cpp | 852 match(ICI->getOperand(0), m_Add(m_Specific(Val), [all...] |
ValueTracking.cpp | [all...] |
/external/llvm/include/llvm/IR/ |
PatternMatch.h | 434 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L, [all...] |
/external/llvm/lib/CodeGen/ |
CodeGenPrepare.cpp | [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyCFG.cpp | 430 if(match(I->getOperand(0), m_Add(m_Value(RHSVal), m_ConstantInt(RHSC)))) { [all...] |