Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp740 if (!IsLeftShift && match(C1, m_SpecificIntAllowUndef(TypeBits - 1)) && in FoldShiftByConstant()
1168 match(Op1, m_SpecificIntAllowUndef(BitWidth - 1))) in visitLShr()
1568 if (match(Op1, m_SpecificIntAllowUndef(BitWidth - 1)) && in visitAShr()
1570 m_SpecificIntAllowUndef(BitWidth - 1))))) { in visitAShr()
H A DInstCombineNegator.cpp256 match(SrcOp, m_LShr(m_Value(X), m_SpecificIntAllowUndef(FullShift)))) { in visitImpl()
H A DInstCombineAddSub.cpp890 m_SpecificIntAllowUndef(BitWidth - 1)))) && in foldAddWithConstant()
1527 if (match(LHS, m_AShr(m_Value(A), m_SpecificIntAllowUndef(BitWidth - 1))) && in visitAdd()
H A DInstCombineCompares.cpp4082 match(BO, m_Add(m_Specific(Op1), m_SpecificIntAllowUndef(*C)))) { in foldICmpBinOp()
4091 match(BO, m_Add(m_Specific(Op0), m_SpecificIntAllowUndef(*C)))) { in foldICmpBinOp()
4661 if (match(Op0, m_LShr(m_Value(X), m_SpecificIntAllowUndef(OpWidth - 1))) && in foldICmpEquality()
H A DInstCombineMulDivRem.cpp462 m_SpecificIntAllowUndef(BitWidth - 1)), in visitMul()
H A DInstCombineCasts.cpp1556 m_SpecificIntAllowUndef(XBitSize - SrcBitSize)))) { in visitSExt()
H A DInstCombineAndOrXor.cpp2470 match(ConstantExpr::getAdd(LC, RC), m_SpecificIntAllowUndef(Width))) in matchFunnelShift()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DPatternMatch.h862 inline specific_intval<true> m_SpecificIntAllowUndef(APInt V) { in m_SpecificIntAllowUndef() function
866 inline specific_intval<true> m_SpecificIntAllowUndef(uint64_t V) { in m_SpecificIntAllowUndef() function
867 return m_SpecificIntAllowUndef(APInt(64, V)); in m_SpecificIntAllowUndef()