/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 115 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { 210 if (match(LHS, m_Mul(m_Value(W), m_Value(X))) && 211 match(RHS, m_Mul(m_Value(Y), m_Value(Z)))) { 232 if (match(LHS, m_Not(m_Value(X)))) // ~X + C --> (C-1) - X 237 match(LHS, m_And(m_Value(X), m_ConstantInt(C2))) && 277 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) 281 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) 558 if (match(Op1, m_Not(m_Value(X))) [all...] |
InstCombineAndOrXor.cpp | 585 if (match(L1, m_And(m_Value(L11), m_Value(L12)))) { 586 if (!match(L2, m_And(m_Value(L21), m_Value(L22)))) 590 if (!match(L2, m_And(m_Value(L11), m_Value(L12)))) 600 if (match(R1, m_And(m_Value(R11), m_Value(R12)))) { 609 if (!ok && match(R2, m_And(m_Value(R11), m_Value(R12)))) [all...] |
InstCombineMulDivRem.cpp | 37 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(PowerOf2), m_Value(A))), 38 m_Value(B))) && 133 match(Op0, m_Add(m_Value(X), m_ConstantInt(C1)))) { 150 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) 152 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) 226 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) 228 if (match(Op1, m_Shl(m_One(), m_Value(Y)))) 412 if (match(Op0, m_Sub(m_Value(X), m_Value(Z)))) { // (X - Z) / Y; Y = Op [all...] |
InstCombineShifts.cpp | 43 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { 81 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || 82 (!isLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { 407 match(Op0BO->getOperand(1), m_Shr(m_Value(V1), 423 m_And(m_Shr(m_Value(V1), m_Specific(Op1)), 440 match(Op0BO->getOperand(0), m_Shr(m_Value(V1), 455 m_And(m_Shr(m_Value(V1), m_Value(V2)), 651 if (match(I.getOperand(0), m_OneUse(m_Shl(m_Constant(C1), m_Value(A)))) && 714 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1)))) [all...] |
InstCombineCompares.cpp | [all...] |
InstCombineCasts.cpp | 467 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { 491 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { [all...] |
InstructionCombining.cpp | [all...] |
InstCombineSelect.cpp | 584 !match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) [all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | 548 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || 549 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) 624 if (MaxRecurse && match(Op0, m_Add(m_Value(X), m_Value(Y)))) { // (X + Y) - Z 648 if (MaxRecurse && match(Op1, m_Add(m_Value(Y), m_Value(Z)))) { // X - (Y + Z) 672 if (MaxRecurse && match(Op1, m_Sub(m_Value(X), m_Value(Y)))) // Z - (X - Y) 739 if ((match(Op0, m_IDiv(m_Value(X), m_Value(Y))) && Y == Op1) || // (X / Y) * [all...] |
ValueTracking.cpp | 722 if (match(V, m_Shl(m_One(), m_Value()))) 727 if (match(V, m_LShr(m_SignBit(), m_Value()))) 744 if (match(V, m_LShr(m_Value(), m_Value())) || 745 match(V, m_UDiv(m_Value(), m_Value()))) { 777 if (match(V, m_Or(m_Value(X), m_Value(Y)))) 786 if (BitWidth && match(V, m_Shl(m_Value(X), m_Value(Y)))) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ToHTMLStream.java | [all...] |
/external/llvm/lib/Transforms/Utils/ |
AddrModeMatcher.cpp | 102 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) {
|
/external/llvm/include/llvm/Support/ |
PatternMatch.h | 19 // if (match(Exp, m_Or(m_And(m_Value(X), m_ConstantInt(C1)), 20 // m_And(m_Value(Y), m_ConstantInt(C2))))) { 66 /// m_Value() - Match an arbitrary value and ignore it. 67 inline class_match<Value> m_Value() { return class_match<Value>(); } 224 /// m_Value - Match a value, capturing it if we match. 225 inline bind_ty<Value> m_Value(Value *&V) { return V; } 512 /// m_SelectCst<-1, 0>(m_Value(V))
|