Home
last modified time | relevance | path

Searched refs:m_CheckedInt (Results 1 – 5 of 5) sorted by relevance

/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp384 (match(Op0, m_Exact(m_UDiv(m_Value(X), m_CheckedInt(UDivCheck)))) || in visitMul()
385 match(Op0, m_Exact(m_SDiv(m_Value(X), m_CheckedInt(SDivCheck)))))) { in visitMul()
H A DInstCombineCompares.cpp7269 if (match(Op0, m_UDiv(m_Specific(Op1), m_CheckedInt(CheckUGT1)))) { in foldICmpCommutative()
7275 match(Op0, m_SDiv(m_Specific(Op1), m_CheckedInt(CheckUGT1)))) { in foldICmpCommutative()
7284 if (match(Op0, m_LShr(m_Specific(Op1), m_CheckedInt(CheckNE0)))) { in foldICmpCommutative()
7290 match(Op0, m_AShr(m_Specific(Op1), m_CheckedInt(CheckNE0)))) { in foldICmpCommutative()
H A DInstCombineCalls.cpp1481 if (!match(I1, m_CheckedInt(LessBitWidth))) in foldMinimumOverTrailingOrLeadingZeroCount()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h481 m_CheckedInt(function_ref<bool(const APInt &)> CheckFn) { in m_CheckedInt() function
486 m_CheckedInt(const Constant *&V, function_ref<bool(const APInt &)> CheckFn) { in m_CheckedInt() function
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1242 m_NSWMul(m_Value(), m_CheckedInt([C0](const APInt &C) { in simplifyRem()
1246 m_NUWMul(m_Value(), m_CheckedInt([C0](const APInt &C) { in simplifyRem()