| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 2033 if (match(I->getOperand(1), m_APFloat(C)) && C->isNegative()) { in getNegatibleInsts() 2046 if ((match(I->getOperand(0), m_APFloat(C)) && C->isNegative()) || in getNegatibleInsts() 2047 (match(I->getOperand(1), m_APFloat(C)) && C->isNegative())) { in getNegatibleInsts() 2085 if (match(Negatible->getOperand(0), m_APFloat(C))) { in canonicalizeNegFPConstantsForOp() 2092 if (match(Negatible->getOperand(1), m_APFloat(C))) { in canonicalizeNegFPConstantsForOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2125 if (!match(Base, m_APFloat(BaseF))) in replacePowWithExp() 2250 if (!match(Expo, m_APFloat(ExpoF)) || in replacePowWithSqrt() 2349 if (AllowApprox && match(Expo, m_APFloat(ExpoF)) && in optimizePow() 3081 if (!match(CI->getArgOperand(0), m_APFloat(X)) || in optimizeRemquo() 3082 !match(CI->getArgOperand(1), m_APFloat(Y))) in optimizeRemquo() 3124 if (!match(CI->getArgOperand(0), m_APFloat(X)) || in optimizeFdim() 3125 !match(CI->getArgOperand(1), m_APFloat(Y))) in optimizeFdim()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 1051 if ((match(Src0, m_APFloat(ConstSrc0)) && in instCombineIntrinsic() 1071 } else if ((match(Src1, m_APFloat(ConstSrc1)) && in instCombineIntrinsic() 1091 } else if ((match(Src2, m_APFloat(ConstSrc2)) && in instCombineIntrinsic()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 2249 if (!match(Arg1, m_APFloat(C))) in matchFractPat() 2309 return match(Val, m_APFloat(C)) && C->getExactLog2Abs() == 0; in isOneOrNegOne()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2637 if (M->getIntrinsicID() == IID && match(Arg1, m_APFloat(C1)) && in visitCallInst() 2639 match(M->getArgOperand(1), m_APFloat(C2))) || in visitCallInst() 2641 match(M->getArgOperand(0), m_APFloat(C2))))) { in visitCallInst() 2836 if (match(Mag, m_APFloat(MagC)) && MagC->isNegative()) { in visitCallInst()
|
| H A D | InstCombineAddSub.cpp | 1981 if (match(XY, m_APFloat(C)) && !C->isNormal()) in factorizeFAddFSub() 2057 m_APFloat(StartC), m_Value(X)))) && in visitFAdd() 2058 match(RHS, m_APFloat(C))) { in visitFAdd()
|
| H A D | InstCombineCompares.cpp | 7941 if (!match(RHSC, m_APFloat(RHS))) in foldFCmpIntToFPConst() 8209 if (!match(LHSI->getOperand(0), m_APFloat(C))) in foldFCmpReciprocalAndZero() 8229 if (!match(I.getOperand(1), m_APFloat(C))) in foldFabsWithFcmpZero() 8628 if (match(Op1, m_APFloat(C)) && C->isInfinity()) { in visitFCmpInst() 8746 if (match(Op1, m_APFloat(C))) { in visitFCmpInst() 8794 if (match(Op0, m_OneUse(m_Intrinsic<Intrinsic::copysign>(m_APFloat(C), in visitFCmpInst()
|
| H A D | InstructionCombining.cpp | 4363 if (match(TrueVal, m_APFloat(ConstVal))) { in foldFrexpOfSelect() 4366 } else if (match(FalseVal, m_APFloat(ConstVal))) { in foldFrexpOfSelect()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 4195 if ((match(LHS, m_Intrinsic<Intrinsic::minnum>(m_Value(), m_APFloat(C2))) && in simplifyFCmpInst() 4197 (match(LHS, m_Intrinsic<Intrinsic::maxnum>(m_Value(), m_APFloat(C2))) && in simplifyFCmpInst() 6253 match(Op0, PatternMatch::m_APFloat(C)); in simplifyLdexp() 6731 if (match(Op1, m_APFloat(C)) && in simplifyBinaryIntrinsic()
|
| H A D | ValueTracking.cpp | 4587 if (match(Cond, m_FCmp(Pred, m_Value(LHS), m_APFloat(CRHS)))) { in computeKnownFPClassFromCond() 8205 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp() 8214 if (match(FalseVal, m_OrdOrUnordFMin(m_Specific(CmpLHS), m_APFloat(FC2))) && in matchFastFloatClamp() 8222 if (match(FalseVal, m_OrdOrUnordFMax(m_Specific(CmpLHS), m_APFloat(FC2))) && in matchFastFloatClamp()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 316 inline apfloat_match m_APFloat(const APFloat *&Res) { in m_APFloat() function
|