/external/llvm/lib/Target/Hexagon/ |
HexagonGenExtract.cpp | 94 bool Match = match(In, m_And(m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)), 95 m_ConstantInt(CSL)), 96 m_ConstantInt(CM))); 101 Match = match(In, m_And(m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), 102 m_ConstantInt(CSL)), 103 m_ConstantInt(CM))); 109 Match = match(In, m_And(m_Shl(m_Value(BF), m_ConstantInt(CSL)), 110 m_ConstantInt(CM))); 118 Match = match(In, m_And(m_LShr(m_Value(BF), m_ConstantInt(CSR)), 119 m_ConstantInt(CM))) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
StraightLineStrengthReduce.cpp | 397 if (match(RHS, m_Mul(m_Value(S), m_ConstantInt(Idx)))) { 400 } else if (match(RHS, m_Shl(m_Value(S), m_ConstantInt(Idx)))) { 415 return (match(A, m_Add(m_Value(B), m_ConstantInt(C))) || 416 match(A, m_Add(m_ConstantInt(C), m_Value(B)))); 421 return (match(A, m_Or(m_Value(B), m_ConstantInt(C))) || 422 match(A, m_Or(m_ConstantInt(C), m_Value(B)))); 497 if (match(ArrayIdx, m_NSWMul(m_Value(LHS), m_ConstantInt(RHS)))) { 501 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) {
|
InductiveRangeCheckElimination.cpp | 293 if (match(RHS, m_ConstantInt<0>())) { 303 if (match(RHS, m_ConstantInt<-1>())) { [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAndOrXor.cpp | [all...] |
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...] |
InstCombineCompares.cpp | [all...] |
InstCombineCasts.cpp | 450 m_ConstantInt(ShiftVal)))) || 525 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { 551 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst))) && 569 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { [all...] |
InstCombineAddSub.cpp | [all...] |
InstCombineMulDivRem.cpp | 234 if (match(NewCst, m_ConstantInt(V)) && V != Width - 1) 257 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) [all...] |
InstCombineSelect.cpp | 767 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) [all...] |
InstCombineSimplifyDemanded.cpp | 558 if (match(I->getOperand(0), m_Shr(m_Value(VarX), m_ConstantInt(C1)))) { [all...] |
InstructionCombining.cpp | [all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | [all...] |
ValueTracking.cpp | [all...] |
LazyValueInfo.cpp | 914 m_ConstantInt(NegOffset))); [all...] |
ScalarEvolution.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 | 424 m_And(m_Value(RHSVal), m_ConstantInt(RHSC)))) { 455 if(match(I->getOperand(0), m_Add(m_Value(RHSVal), m_ConstantInt(RHSC)))) { [all...] |
/external/llvm/lib/CodeGen/ |
CodeGenPrepare.cpp | [all...] |