/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 115 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { 248 match(LHS, m_And(m_Value(X), m_ConstantInt(C2))) && 576 if (match(Op1, m_LShr(m_Value(X), m_ConstantInt(CI))) && 581 if (match(Op1, m_AShr(m_Value(X), m_ConstantInt(CI))) && 599 if (match(Op1, m_Add(m_Value(X), m_ConstantInt(C2)))) 646 if (match(Op1, m_Mul(m_Specific(Op0), m_ConstantInt(CI)))) { 652 if (match(Op1, m_Shl(m_Specific(Op0), m_ConstantInt(CI)))) { 667 if (match(Op1, m_Mul(m_Value(A), m_ConstantInt(CI))) || 668 match(Op1, m_Mul(m_ConstantInt(CI), m_Value(A)))) {
|
InstCombineAndOrXor.cpp | 763 match(Val, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { 769 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { [all...] |
InstCombineShifts.cpp | 82 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || 83 (!isLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { 434 m_ConstantInt(CC))) && 466 m_ConstantInt(CC))) && V2 == Op1 && [all...] |
InstCombineCasts.cpp | 466 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { 490 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { [all...] |
InstCombineCompares.cpp | [all...] |
InstCombineMulDivRem.cpp | 133 match(Op0, m_Add(m_Value(X), m_ConstantInt(C1)))) { 152 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1))))
|
InstCombineSelect.cpp | 598 !match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) [all...] |
/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))))) { 69 /// m_ConstantInt() - Match an arbitrary ConstantInt and ignore it. 70 inline class_match<ConstantInt> m_ConstantInt() { 140 /// m_ConstantInt<int64_t> - Match a ConstantInt with a specific value. 142 inline constantint_match<Val> m_ConstantInt() { 249 /// m_ConstantInt - Match a ConstantInt, capturing the value if we match. 250 inline bind_ty<ConstantInt> m_ConstantInt(ConstantInt *&CI) { return CI; } 284 /// m_ConstantInt - Match a ConstantInt and bind to its value. This does not 286 inline bind_const_intval_ty m_ConstantInt(uint64_t &V) { return V; [all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | 782 if (match(Op0, m_Mul(m_Specific(Op1), m_ConstantInt<2>())) || [all...] |
LazyValueInfo.cpp | 816 m_ConstantInt(NegOffset))); [all...] |
/external/llvm/lib/Transforms/Utils/ |
AddrModeMatcher.cpp | 102 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) {
|