Searched refs:m_SRem (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 500 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Constant(C))) && in commonShiftTransforms() 1484 if (match(Op0, m_OneUse(m_SRem(m_Value(X), m_SpecificInt(2))))) { in visitLShr()
|
| H A D | InstCombineMulDivRem.cpp | 1436 if ((IsSigned && match(Z, m_SRem(m_Specific(X), m_Specific(Op1)))) || in commonIDivTransforms() 2500 if (match(&I, m_SRem(m_OneUse(m_NSWNeg(m_Value(X))), m_Value(Y)))) in visitSRem()
|
| H A D | InstCombineSelect.cpp | 2805 match(RemRes, m_SRem(m_Value(Op), m_Specific(Remainder))) && in foldSelectWithSRem() 2815 match(RemRes, m_SRem(m_Value(Op), m_SpecificInt(2))) && in foldSelectWithSRem()
|
| H A D | InstCombineAddSub.cpp | 1103 if (match(E, m_SRem(m_Value(Op), m_APInt(AI)))) { in MatchRem()
|
| H A D | InstCombineCalls.cpp | 1876 if (match(IIOperand, m_SRem(m_Value(X), m_APInt(C))) && *C == 2) in visitCallInst()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SDPatternMatch.h | 863 inline BinaryOpc_match<LHS, RHS> m_SRem(const LHS &L, const RHS &R) {
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 1243 inline BinaryOp_match<LHS, RHS, Instruction::SRem> m_SRem(const LHS &L, in m_SRem() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 985 if (match(X, m_SRem(m_Value(), m_Specific(Y)))) in isDivZero()
|
| H A D | ValueTracking.cpp | 7252 if (match(RHS, m_SRem(m_Specific(LHS), m_Value())) || in computeOverflowForSignedSub()
|