Home
last modified time | relevance | path

Searched refs:fcPosInf (Results 1 – 21 of 21) sorted by relevance

/llvm-project/llvm/lib/Support/
H A DFloatingPointMode.cpp17 NewMask |= fcPosInf; in fneg()
30 if (Mask & fcPosInf) in fneg()
43 if (Mask & fcPosInf) in inverse_fabs()
74 {fcPosInf, "pinf"},
H A DAPFloat.cpp5458 return isNegative() ? fcNegInf : fcPosInf;
/llvm-project/llvm/include/llvm/ADT/
H A DFloatingPointMode.h251 fcPosInf = 0x0200, enumerator
254 fcInf = fcPosInf | fcNegInf,
261 fcPositive = fcPosFinite | fcPosInf,
267 LLVM_DECLARE_ENUM_AS_BITMASK(FPClassTest, /* LargestValue */ fcPosInf);
/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h299 return isKnownNever(fcPosInf); in isKnownNeverNegInfinity()
353 fcPosSubnormal | fcPosNormal | fcPosInf;
407 KnownFPClasses |= fcPosInf; in fabs()
/llvm-project/llvm/lib/CodeGen/
H A DCodeGenCommonISel.cpp186 case fcPosInf: in invertFPClassTestIfSimpler()
205 case fcPosInf | fcNan: in invertFPClassTestIfSimpler()
/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp4618 return exactClass(Src, fcPosSubnormal | fcPosNormal | fcPosInf); in fcmpImpliesClass()
4620 return exactClass(Src, fcPosSubnormal | fcPosNormal | fcPosInf | fcNan); in fcmpImpliesClass()
4651 // fcmp oeq x, +inf -> is_fpclass x, fcPosInf in computeKnownFPClassFromCond()
4656 // fcmp une x, +inf -> is_fpclass x, ~fcPosInf in computeKnownFPClassFromCond()
4665 Mask = fcPosInf; in computeKnownFPClassFromCond()
4679 // fcmp ueq x, +inf -> is_fpclass x, fcPosInf|fcNan in computeKnownFPClassFromContext()
4688 Mask = ~fcPosInf & ~fcNan; in computeKnownFPClassFromContext()
4727 // fcmp oge x, +inf -> fcPosInf
4729 // fcmp ult x, +inf -> ~fcPosInf
4730 Mask = fcPosInf;
[all...]
H A DConstantFolding.cpp3128 ((Mask & fcPosInf) && Op1V.isPosInfinity()); in ConstantFoldScalarCall3()
/llvm-project/llvm/unittests/Analysis/
H A DValueTrackingTest.cpp1311 expectKnownFPClass(fcPosInf, false); in TEST_F()
1383 expectKnownFPClass(~fcPosInf, std::nullopt); in TEST_F()
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp919 case fcPosSubnormal | fcPosNormal | fcPosInf: in foldIntrinsicIsFPClass()
935 case fcPosNormal | fcPosInf: in foldIntrinsicIsFPClass()
1003 if ((OrderedMask == fcPosInf || OrderedMask == fcNegInf) && in foldIntrinsicIsFPClass()
1005 // is.fpclass(x, fcPosInf) -> fcmp oeq x, +inf in foldIntrinsicIsFPClass()
1007 // is.fpclass(x, fcPosInf|fcNan) -> fcmp ueq x, +inf in foldIntrinsicIsFPClass()
1018 if ((OrderedInvertedMask == fcPosInf || OrderedInvertedMask == fcNegInf) && in foldIntrinsicIsFPClass()
1020 // is.fpclass(x, ~fcPosInf) -> fcmp one x, +inf in foldIntrinsicIsFPClass()
1022 // is.fpclass(x, ~fcPosInf|fcNan) -> fcmp une x, +inf in foldIntrinsicIsFPClass()
1058 // is.fpclass(x, fcPosSubnormal | fcPosNormal | fcPosInf) -> fcmp ogt x, 0.0 in getKnownSignOrZero()
H A DInstCombineSimplifyDemanded.cpp1953 case fcPosInf: in getFPClassConstant()
/llvm-project/llvm/test/Transforms/InstCombine/
H A Dis_fpclass.ll492 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 512) ; fcPosInf
501 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 515) ; fcPosInf|fcNan
510 %val = call <2 x i1> @llvm.is.fpclass.v2f32(<2 x float> %x, i32 512) ; fcPosInf
576 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 512) strictfp ; fcPosInf
603 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 515) strictfp ; fcPosInf|fcNan
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp5309 auto IsZeroOrInf = B.buildIsFPClass(LLT::scalar(1), SqrtX, fcZero | fcPosInf); in legalizeFSQRTF64()
5391 auto IsZeroOrInf = B.buildIsFPClass(LLT::scalar(1), SqrtX, fcZero | fcPosInf); in legalizeRsqClampIntrinsic()
H A DSIISelLowering.cpp11383 DAG.getTargetConstant(fcZero | fcPosInf, DL, MVT::i32)); in performMemSDNodeCombine()
11463 DAG.getTargetConstant(fcZero | fcPosInf, DL, MVT::i32)); in getPermuteMask()
/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.td169 if (Check & fcPosInf)
/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5265 : (IsFabs ? fcInf : fcPosInf); in SimplifySetCC()
8814 if ((OrderedFPTestMask == fcPosInf || OrderedFPTestMask == fcNegInf) && in expandCTPOP()
9001 if (PartialCheck == fcPosInf) in CTTZTableLookup()
/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp2589 return fcPosInf;
/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp9185 if (PartialCheck == fcPosInf)
/llvm-project/llvm/unittests/ADT/
H A DAPFloatTest.cpp2550 EXPECT_EQ(fcPosInf, PosInf.classify()); in TEST()
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp6479 if (Check & fcPosInf) in getTargetNodeName()
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp11590 if (Mask & fcPosInf) in LowerVectorStore()
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp6098 if (Check & fcPosInf) in hasMergeOp()