Searched refs:m_AnyZeroFP (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInstCombineIntrinsic.cpp | 1184 if (match(Op0, PatternMatch::m_AnyZeroFP()) || in instCombineIntrinsic() 1185 match(Op1, PatternMatch::m_AnyZeroFP())) in instCombineIntrinsic() 1205 if (match(Op0, PatternMatch::m_AnyZeroFP()) || in instCombineIntrinsic() 1206 match(Op1, PatternMatch::m_AnyZeroFP())) { in instCombineIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 4248 if (match(RHS, m_AnyZeroFP())) { in simplifyFCmpInst() 5694 if (match(Op0, m_FSub(m_AnyZeroFP(), m_Specific(Op1))) || in simplifyFAddInst() 5695 match(Op1, m_FSub(m_AnyZeroFP(), m_Specific(Op0)))) in simplifyFAddInst() 5751 if (FMF.noSignedZeros() && match(Op0, m_AnyZeroFP()) && in simplifyFSubInst() 5752 (match(Op1, m_FSub(m_AnyZeroFP(), m_Value(X))) || in simplifyFSubInst() 5794 if (match(Op0, m_FPOne()) || match(Op0, m_AnyZeroFP())) in simplifyFMAFMul() 5801 if (match(Op1, m_AnyZeroFP())) { in simplifyFMAFMul() 5898 if (FMF.noNaNs() && FMF.noSignedZeros() && match(Op0, m_AnyZeroFP())) in simplifyFDivInst() 5920 if (FMF.noInfs() && match(Op1, m_AnyZeroFP())) in simplifyFDivInst()
|
H A D | ValueTracking.cpp | 8413 if (match(TrueVal, m_AnyZeroFP()) && !match(FalseVal, m_AnyZeroFP()) && in matchSelectPattern() 8416 else if (match(FalseVal, m_AnyZeroFP()) && !match(TrueVal, m_AnyZeroFP()) && in matchSelectPattern() 8421 if (match(CmpLHS, m_AnyZeroFP()) && CmpLHS != OutputZeroVal) { in matchSelectPattern() 8425 if (match(CmpRHS, m_AnyZeroFP()) && CmpRHS != OutputZeroVal) { in matchSelectPattern()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 1347 return P == FCmpInst::FCMP_ORD && match(RHS, m_AnyZeroFP()); in matchIsNotNaN() 1620 if (match(Op1, m_FCmp(Pred, m_Value(), m_AnyZeroFP()))) in reassociateFCmps() 1627 if (!match(Op0, m_FCmp(Pred, m_Value(X), m_AnyZeroFP())) || Pred != NanPred || in reassociateFCmps() 1633 if (!match(BO10, m_FCmp(Pred, m_Value(Y), m_AnyZeroFP())) || in reassociateFCmps() 1637 if (!match(BO10, m_FCmp(Pred, m_Value(Y), m_AnyZeroFP())) || in reassociateFCmps()
|
H A D | InstCombineCompares.cpp | 7862 if (!match(RHSC, m_AnyZeroFP())) in foldFCmpReciprocalAndZero() 8038 if (match(RHSC, m_AnyZeroFP()) && in foldFCmpFSubIntoFCmp() 8140 if (match(Op1, m_AnyZeroFP()) && !match(Op1, m_PosZeroFP())) in visitFCmpInst() 8214 if (FCmpInst::isEquality(Pred) && match(RHSC, m_AnyZeroFP()) && in visitFCmpInst() 8262 if (match(Op0, m_FAdd(m_Value(X), m_AnyZeroFP()))) in visitFCmpInst() 8266 if (match(Op1, m_FAdd(m_Value(Y), m_AnyZeroFP()))) in visitFCmpInst() 8325 match(Op1, m_AnyZeroFP()) && !C->isZero() && !C->isNaN()) { in visitFCmpInst()
|
H A D | InstCombineSelect.cpp | 87 if (!match(IdC, m_AnyZeroFP()) || !match(C, m_AnyZeroFP())) in foldSelectBinOpIdentity() 2838 if (!match(CondVal, m_FCmp(Pred, m_Specific(X), m_AnyZeroFP()))) in foldSelectWithFCmpToFabs()
|
H A D | InstCombineMulDivRem.cpp | 1739 (I.hasNoSignedZeros() && match(I.getOperand(1), m_AnyZeroFP())))) { in foldFDivConstantDivisor()
|
H A D | InstCombineAddSub.cpp | 1947 m_AnyZeroFP(), m_Value(X))), in visitFAdd()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 764 inline cstfp_pred_ty<is_any_zero_fp> m_AnyZeroFP() { in m_AnyZeroFP() function 1154 return m_FSub(m_AnyZeroFP(), X); in m_FNegNSZ()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 2320 if (match(Expo, m_AnyZeroFP())) in optimizePow()
|