| /external/llvm/lib/Transforms/Scalar/ |
| StraightLineStrengthReduce.cpp | 390 if (match(RHS, m_Mul(m_Value(S), m_ConstantInt(Idx)))) { 393 } else if (match(RHS, m_Shl(m_Value(S), m_ConstantInt(Idx)))) { 411 if (match(LHS, m_Add(m_Value(B), m_ConstantInt(Idx)))) { 473 if (match(ArrayIdx, m_NSWMul(m_Value(LHS), m_ConstantInt(RHS)))) { 477 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) {
|
| InductiveRangeCheckElimination.cpp | 286 if (match(RHS, m_ConstantInt<0>())) { 296 if (match(RHS, m_ConstantInt<-1>())) { [all...] |
| /external/llvm/lib/Analysis/ |
| InstructionSimplify.cpp | [all...] |
| ValueTracking.cpp | [all...] |
| LazyValueInfo.cpp | 853 m_ConstantInt(NegOffset))); [all...] |
| /external/llvm/lib/Transforms/InstCombine/ |
| InstCombineShifts.cpp | 84 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || 85 (!isLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { 448 m_ConstantInt(CC)))) { 483 m_ConstantInt(CC))) && V2 == Op1) { [all...] |
| InstCombineAndOrXor.cpp | [all...] |
| InstCombineCompares.cpp | [all...] |
| InstCombineAddSub.cpp | [all...] |
| InstCombineCasts.cpp | 473 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { 497 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { [all...] |
| InstCombineSelect.cpp | 851 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) [all...] |
| InstCombineSimplifyDemanded.cpp | 642 if (match(I->getOperand(0), m_Shr(m_Value(VarX), m_ConstantInt(C1)))) { [all...] |
| InstCombineMulDivRem.cpp | 246 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) [all...] |
| InstructionCombining.cpp | [all...] |
| /external/llvm/include/llvm/IR/ |
| 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))))) { 75 inline class_match<ConstantInt> m_ConstantInt() { 198 template <int64_t Val> inline constantint_match<Val> m_ConstantInt() { 305 inline bind_ty<ConstantInt> m_ConstantInt(ConstantInt *&CI) { return CI; } 387 inline bind_const_intval_ty m_ConstantInt(uint64_t &V) { return V; } 768 return m_Select(C, m_ConstantInt<L>(), m_ConstantInt<R>()); [all...] |
| /external/llvm/lib/Transforms/Utils/ |
| SimplifyCFG.cpp | 399 m_And(m_Value(RHSVal), m_ConstantInt(RHSC)))) { 430 if(match(I->getOperand(0), m_Add(m_Value(RHSVal), m_ConstantInt(RHSC)))) { [all...] |
| /external/llvm/lib/CodeGen/ |
| CodeGenPrepare.cpp | [all...] |