/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 942 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { [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)))) { 465 m_ConstantInt(CC))) && V2 == Op1) {
|
InstCombineAndOrXor.cpp | 754 match(Val, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { 758 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { [all...] |
InstCombineCasts.cpp | 475 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { 499 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { [all...] |
InstCombineCompares.cpp | [all...] |
InstCombineMulDivRem.cpp | 164 match(Op0, m_Add(m_Value(X), m_ConstantInt(C1)))) { 183 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) 859 if (match(Op0, m_LShr(m_Value(X), m_ConstantInt(C1)))) { [all...] |
InstCombineSelect.cpp | 673 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) [all...] |
InstCombineSimplifyDemanded.cpp | 599 if (match(I->getOperand(0), m_Shr(m_Value(VarX), m_ConstantInt(C1)))) { [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))))) { 71 /// m_ConstantInt() - Match an arbitrary ConstantInt and ignore it. 72 inline class_match<ConstantInt> m_ConstantInt() { 203 /// m_ConstantInt<int64_t> - Match a ConstantInt with a specific value. 205 inline constantint_match<Val> m_ConstantInt() { 302 /// m_ConstantInt - Match a ConstantInt, capturing the value if we match. 303 inline bind_ty<ConstantInt> m_ConstantInt(ConstantInt *&CI) { return CI; } 365 /// m_ConstantInt - Match a ConstantInt and bind to its value. This does not 367 inline bind_const_intval_ty m_ConstantInt(uint64_t &V) { return V; [all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | 757 if (match(Op0, m_Mul(m_Specific(Op1), m_ConstantInt<2>())) || [all...] |
LazyValueInfo.cpp | 819 m_ConstantInt(NegOffset))); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
CodeGenPrepare.cpp | [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyCFG.cpp | 356 m_And(m_Value(RHSVal), m_ConstantInt(RHSC)))) { 380 match(I->getOperand(0), m_Add(m_Value(RHSVal), m_ConstantInt(RHSC))); [all...] |