Home
last modified time | relevance | path

Searched refs:m_SpecificInt (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp81 auto Sub = m_Sub(m_SpecificInt(Width), m_Value(R1)); in foldGuardedRotateToFunnelShift()
288 if ((match(Op0, m_Mul(m_Value(MulOp0), m_SpecificInt(Mask01)))) && in tryToRecognizePopCount()
289 match(Op1, m_SpecificInt(MaskShift))) { in tryToRecognizePopCount()
292 if (match(MulOp0, m_And(m_c_Add(m_LShr(m_Value(ShiftOp0), m_SpecificInt(4)), in tryToRecognizePopCount()
294 m_SpecificInt(Mask0F)))) { in tryToRecognizePopCount()
298 m_c_Add(m_And(m_Value(AndOp0), m_SpecificInt(Mask33)), in tryToRecognizePopCount()
299 m_And(m_LShr(m_Deferred(AndOp0), m_SpecificInt(2)), in tryToRecognizePopCount()
300 m_SpecificInt(Mask33))))) { in tryToRecognizePopCount()
304 match(SubOp1, m_And(m_LShr(m_Specific(Root), m_SpecificInt(1)), in tryToRecognizePopCount()
305 m_SpecificInt(Mask55)))) { in tryToRecognizePopCount()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp715 match(TrueVal, m_Add(m_Specific(B), m_SpecificInt(-*C))))) in canonicalizeSaturatedSubtract()
719 match(TrueVal, m_Add(m_Specific(A), m_SpecificInt(-*C))))) in canonicalizeSaturatedSubtract()
822 m_Xor(m_Deferred(TrueVal), m_SpecificInt(BitWidth - 1)))) in foldSelectCtlzToCttz()
882 if (match(ValueOnZero, m_SpecificInt(SizeOfInBits))) { in foldSelectCttzCtlz()
1784 return match(Min, m_SpecificInt(MinVal)) && in foldOverflowingAddSubSelect()
1785 match(Max, m_SpecificInt(MaxVal)); in foldOverflowingAddSubSelect()
2303 if (match(SA1, m_OneUse(m_Sub(m_SpecificInt(Width), m_Specific(SA0))))) in foldSelectRotate()
2305 else if (match(SA0, m_OneUse(m_Sub(m_SpecificInt(Width), m_Specific(SA1))))) in foldSelectRotate()
DInstCombineAndOrXor.cpp1036 m_SpecificInt(2))) && in foldIsPowerOf2()
1044 m_SpecificInt(1))) && in foldIsPowerOf2()
2059 if (match(L, m_And(m_Value(X), m_SpecificInt(Mask))) && in matchRotate()
2060 match(R, m_And(m_Neg(m_Specific(X)), m_SpecificInt(Mask)))) in matchRotate()
2065 if (match(L, m_ZExt(m_And(m_Value(X), m_SpecificInt(Mask)))) && in matchRotate()
2066 match(R, m_And(m_Neg(m_ZExt(m_And(m_Specific(X), m_SpecificInt(Mask)))), in matchRotate()
2067 m_SpecificInt(Mask)))) in matchRotate()
DInstCombineCasts.cpp529 if (match(R, m_OneUse(m_Sub(m_SpecificInt(Width), m_Specific(L))))) in narrowRotate()
536 if (match(L, m_And(m_Value(X), m_SpecificInt(Mask))) && in narrowRotate()
537 match(R, m_And(m_Neg(m_Specific(X)), m_SpecificInt(Mask)))) in narrowRotate()
541 if (match(L, m_ZExt(m_And(m_Value(X), m_SpecificInt(Mask)))) && in narrowRotate()
542 match(R, m_ZExt(m_And(m_Neg(m_Specific(X)), m_SpecificInt(Mask))))) in narrowRotate()
DInstCombineShifts.cpp1040 match(Op1, m_Sub(m_SpecificInt(BitWidth - 1), m_Value(X)))) in visitShl()
DInstCombineVectorOps.cpp866 if (!match(Scalar, m_ExtractElement(m_Specific(X), m_SpecificInt(IdxC)))) in foldInsEltIntoIdentityShuffle()
DInstCombineCalls.cpp1994 if (Op0 == Op1 && BitWidth == 16 && match(ShAmtC, m_SpecificInt(8))) { in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h689 inline specific_intval m_SpecificInt(APInt V) { in m_SpecificInt() function
693 inline specific_intval m_SpecificInt(uint64_t V) { in m_SpecificInt() function
694 return m_SpecificInt(APInt(64, V)); in m_SpecificInt()
1968 auto LHS = m_AShr(m_Value(OpL), m_SpecificInt(ShiftWidth));
1969 auto RHS = m_LShr(m_Neg(m_Value(OpR)), m_SpecificInt(ShiftWidth));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVETailPredication.cpp287 if (!match(InLoop, m_Add(m_Instruction(LHS), m_SpecificInt(Lanes)))) in isTailPredicate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp4109 m_SpecificInt(TyAllocSize)))) in SimplifyGEPInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6822 m_SpecificInt(HalfValBitSize)))))) in splitMergedValStore()