HomeSort by: relevance | last modified time | path
    Searched refs:m_ConstantInt (Results 1 - 25 of 29) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonGenExtract.cpp 107 bool Match = match(In, m_And(m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)),
108 m_ConstantInt(CSL)),
109 m_ConstantInt(CM)));
114 Match = match(In, m_And(m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)),
115 m_ConstantInt(CSL)),
116 m_ConstantInt(CM)));
122 Match = match(In, m_And(m_Shl(m_Value(BF), m_ConstantInt(CSL)),
123 m_ConstantInt(CM)));
131 Match = match(In, m_And(m_LShr(m_Value(BF), m_ConstantInt(CSR)),
132 m_ConstantInt(CM)))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
ConstraintElimination.cpp 63 if (match(Op0, m_NUWShl(m_Value(Op1), m_ConstantInt(CI))))
67 if (match(Op0, m_NSWAdd(m_Value(Op1), m_ConstantInt(CI))))
74 if (match(GEP->getOperand(GEP->getNumOperands() - 1), m_ConstantInt(CI)) &&
80 m_NUWShl(m_Value(Op0), m_ConstantInt(CI))))
85 m_NSWAdd(m_Value(Op0), m_ConstantInt(CI))))
102 if (match(V, m_NUWAdd(m_Value(Op0), m_ConstantInt(CI))))
107 if (match(V, m_NUWSub(m_Value(Op0), m_ConstantInt(CI))))
StraightLineStrengthReduce.cpp 415 if (match(RHS, m_Mul(m_Value(S), m_ConstantInt(Idx)))) {
418 } else if (match(RHS, m_Shl(m_Value(S), m_ConstantInt(Idx)))) {
433 return (match(A, m_Add(m_Value(B), m_ConstantInt(C))) ||
434 match(A, m_Add(m_ConstantInt(C), m_Value(B))));
439 return (match(A, m_Or(m_Value(B), m_ConstantInt(C))) ||
440 match(A, m_Or(m_ConstantInt(C), m_Value(B))));
515 if (match(ArrayIdx, m_NSWMul(m_Value(LHS), m_ConstantInt(RHS)))) {
519 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) {
GuardWidening.cpp 507 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) &&
508 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) {
630 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) {
636 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) {
LoopDeletion.cpp 125 m_Br(m_ConstantInt(Cond), Taken, NotTaken)))
LoopFlatten.cpp 161 m_c_Add(m_Specific(InductionPHI), m_ConstantInt<1>()))) {
166 m_c_Add(m_Specific(InductionPHI), m_ConstantInt<1>()))) {
InductiveRangeCheckElimination.cpp 315 if (match(RHS, m_ConstantInt<0>())) {
326 if (match(RHS, m_ConstantInt<-1>())) {
DeadStoreElimination.cpp 1182 if (match(I, m_Intrinsic<Intrinsic::lifetime_end>(m_ConstantInt(Len),
JumpThreading.cpp 902 match(CmpLHS, m_Add(m_Value(AddLHS), m_ConstantInt(AddConst)))) {
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
AssumptionCache.cpp 110 } else if (match(V, m_Shift(m_Value(A), m_ConstantInt()))) {
123 match(A, m_Add(m_Value(X), m_ConstantInt())) &&
124 match(B, m_ConstantInt()))
InstructionSimplify.cpp 1076 if (!IsSigned && match(Op0, m_UDiv(m_Value(X), m_ConstantInt(C1))) &&
1077 match(Op1, m_ConstantInt(C2))) {
4310 m_ConstantInt(C))) &&
4701 m_ConstantInt(IndexC)))) {
ValueTracking.cpp 797 } else if (match(Cmp, m_c_ICmp(Pred, m_Shl(m_V, m_ConstantInt(C)),
810 } else if (match(Cmp, m_c_ICmp(Pred, m_Not(m_Shl(m_V, m_ConstantInt(C))),
822 } else if (match(Cmp, m_c_ICmp(Pred, m_Shr(m_V, m_ConstantInt(C)),
832 } else if (match(Cmp, m_c_ICmp(Pred, m_Not(m_Shr(m_V, m_ConstantInt(C))),
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
VectorCombine.cpp 462 if (!match(I0, m_ExtractElt(m_Value(V0), m_ConstantInt(C0))) ||
463 !match(I1, m_ExtractElt(m_Value(V1), m_ConstantInt(C1))) ||
477 m_InsertElt(m_Value(), m_Value(), m_ConstantInt(InsertIndex)));
588 m_ConstantInt(Index0))) &&
592 m_ConstantInt(Index1))) &&
702 if (!match(I0, m_OneUse(m_ExtractElt(m_Value(X), m_ConstantInt(Index0)))) ||
703 !match(I1, m_OneUse(m_ExtractElt(m_Specific(X), m_ConstantInt(Index1)))))
795 m_ConstantInt(Idx))))
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp 67 if (match(V, m_InsertElt(m_Value(), m_Value(), m_ConstantInt())))
180 !match(Ext.getIndexOperand(), m_ConstantInt(ExtIndexC)))
204 m_ConstantInt(InsIndexC))))
1140 if (!match(InsElt.getOperand(2), m_ConstantInt(IdxC)))
1178 if (!match(InsElt.getOperand(2), m_ConstantInt(IdxC)))
1234 match(InsElt1->getOperand(2), m_ConstantInt(IdxC1)) &&
1236 match(InsElt2.getOperand(2), m_ConstantInt(IdxC2)) && IdxC1 != IdxC2) {
1259 !match(InsElt.getOperand(2), m_ConstantInt(InsEltIndex)))
1309 if (!match(InsElt.getOperand(2), m_ConstantInt(InsertIdx[0])) ||
1311 !match(IEI->getOperand(2), m_ConstantInt(InsertIdx[1])) |
    [all...]
InstCombineAndOrXor.cpp 412 if (!match(B, m_ConstantInt(BCst)) || !match(C, m_ConstantInt(CCst)) ||
413 !match(D, m_ConstantInt(DCst)) || !match(E, m_ConstantInt(ECst)))
623 if (!match(B, m_ConstantInt(BCst)) || !match(D, m_ConstantInt(DCst)))
665 if (!match(C, m_ConstantInt(CCst)) || !match(E, m_ConstantInt(ECst)))
1272 if (!match(LHS->getOperand(1), m_ConstantInt(LHSC)) ||
1273 !match(RHS->getOperand(1), m_ConstantInt(RHSC))
    [all...]
InstCombineCompares.cpp 1413 if (Pred == ICmpInst::ICMP_UGT && match(Op1, m_ConstantInt(CI)) &&
1414 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2))))
2691 if (!match(EqualVal, m_ConstantInt(Equal)))
2696 m_ConstantInt(Less), m_ConstantInt(Greater))))
4253 if (match(B, m_ConstantInt(C1)) && match(D, m_ConstantInt(C2)) &&
4312 match(Op1, m_And(m_Value(B), m_ConstantInt(Cst1)))) ||
4313 (Op1->hasOneUse() && match(Op0, m_And(m_Value(B), m_ConstantInt(Cst1))) &&
4323 if ((match(Op0, m_OneUse(m_LShr(m_Value(A), m_ConstantInt(Cst1)))) &
    [all...]
InstCombineSimplifyDemanded.cpp 295 match(I->getOperand(1), m_ConstantInt(XorRHS)) &&
296 match(LHSInst->getOperand(1), m_ConstantInt(AndRHS)) &&
700 if (match(I->getOperand(1), m_ConstantInt(Rem))) {
InstructionCombining.cpp 2167 m_AShr(m_Value(V), m_ConstantInt(C)))) {
2171 m_SDiv(m_Value(V), m_ConstantInt(C)))) {
2944 if (match(Cond, m_Add(m_Value(Op0), m_ConstantInt(AddRHS)))) {
InstCombineCalls.cpp 1747 m_Cmp(Pred, m_And(m_Value(A), m_ConstantInt(AlignMask)),
1752 match(A, m_Add(m_Value(A), m_ConstantInt(Offset)));
InstCombineCasts.cpp 491 m_ConstantInt(ShiftVal)))) ||
914 if (match(Src, m_OneUse(m_ExtractElt(m_Value(VecOp), m_ConstantInt(Cst))))) {
InstCombineSelect.cpp 2022 if (!match(Cond, m_OneUse(m_ExtractElt(m_Value(), m_ConstantInt()))))
  /src/external/apache2/llvm/dist/llvm/examples/IRTransforms/
SimplifyCFG.cpp 232 m_Br(m_ConstantInt(CI), m_BasicBlock(TakenSucc),
  /src/external/apache2/llvm/dist/llvm/lib/IR/
IntrinsicInst.cpp 407 if (match(VLParam, m_c_Mul(m_ConstantInt(VScaleFactor), m_VScale(DL))))
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
PatternMatch.h 18 // if (match(Exp, m_Or(m_And(m_Value(X), m_ConstantInt(C1)),
19 // m_And(m_Value(Y), m_ConstantInt(C2))))) {
145 inline class_match<ConstantInt> m_ConstantInt() {
318 template <int64_t Val> inline constantint_match<Val> m_ConstantInt() {
764 inline bind_ty<ConstantInt> m_ConstantInt(ConstantInt *&CI) { return CI; }
903 inline bind_const_intval_ty m_ConstantInt(uint64_t &V) { return V; }
1482 return m_Select(C, m_ConstantInt<L>(), m_ConstantInt<R>());
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMTargetTransformInfo.cpp 302 PatternMatch::match(RHS, PatternMatch::m_ConstantInt(C)) &&
312 PatternMatch::match(MinRHS, PatternMatch::m_ConstantInt(MinC)) &&

Completed in 113 milliseconds

1 2