Home
last modified time | relevance | path

Searched refs:m_SpecificIntAllowUndef (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp774 if (!IsLeftShift && match(C1, m_SpecificIntAllowUndef(TypeBits - 1)) && in FoldShiftByConstant()
1254 match(Op1, m_SpecificIntAllowUndef(BitWidth - 1))) in visitLShr()
1650 if (match(Op1, m_SpecificIntAllowUndef(BitWidth - 1)) && in visitAShr()
1652 m_SpecificIntAllowUndef(BitWidth - 1))))) { in visitAShr()
H A DInstCombineNegator.cpp252 match(SrcOp, m_LShr(m_Value(X), m_SpecificIntAllowUndef(FullShift)))) { in visitImpl()
H A DInstCombineAddSub.cpp897 m_SpecificIntAllowUndef(BitWidth - 1)))) && in foldAddWithConstant()
1657 if (match(LHS, m_AShr(m_Value(A), m_SpecificIntAllowUndef(BitWidth - 1))) && in visitAdd()
H A DInstCombineMulDivRem.cpp488 m_SpecificIntAllowUndef(BitWidth - 1)), in visitMul()
H A DInstCombineCasts.cpp1454 m_SpecificIntAllowUndef(XBitSize - SrcBitSize)))) { in visitSExt()
H A DInstCombineCompares.cpp4617 match(BO, m_Add(m_Specific(Op1), m_SpecificIntAllowUndef(*C)))) { in foldICmpBinOp()
4626 match(BO, m_Add(m_Specific(Op0), m_SpecificIntAllowUndef(*C)))) { in foldICmpBinOp()
7175 m_Shr(m_Value(X), m_SpecificIntAllowUndef( in visitICmpInst()
H A DInstCombineAndOrXor.cpp2780 match(ConstantExpr::getAdd(LC, RC), m_SpecificIntAllowUndef(Width))) in matchFunnelShift()
3122 m_Add(m_Specific(LHS0), m_SpecificIntAllowUndef(-*CInt))) || in foldAndOrOfICmpEqConstantAndICmp()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h870 inline specific_intval<true> m_SpecificIntAllowUndef(APInt V) { in m_SpecificIntAllowUndef() function
874 inline specific_intval<true> m_SpecificIntAllowUndef(uint64_t V) { in m_SpecificIntAllowUndef() function
875 return m_SpecificIntAllowUndef(APInt(64, V)); in m_SpecificIntAllowUndef()