Home
last modified time | relevance | path

Searched refs:fcNegInf (Results 1 – 18 of 18) sorted by relevance

/llvm-project/llvm/lib/Support/
H A DFloatingPointMode.cpp16 if (Mask & fcNegInf) in fneg()
31 NewMask |= fcNegInf; in fneg()
73 {fcNegInf, "ninf"},
H A DAPFloat.cpp5458 return isNegative() ? fcNegInf : fcPosInf;
/llvm-project/llvm/include/llvm/ADT/
H A DFloatingPointMode.h244 fcNegInf = 0x0004, enumerator
254 fcInf = fcPosInf | fcNegInf,
262 fcNegative = fcNegFinite | fcNegInf,
/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h304 return isKnownNever(fcNegInf); in isKnownNeverSubnormal()
351 fcNegSubnormal | fcNegNormal | fcNegInf;
406 if (KnownFPClasses & fcNegInf) in fabs()
/llvm-project/llvm/lib/CodeGen/
H A DCodeGenCommonISel.cpp187 case fcNegInf: in invertFPClassTestIfSimpler()
206 case fcNegInf | fcNan: in invertFPClassTestIfSimpler()
/llvm-project/llvm/unittests/Analysis/
H A DValueTrackingTest.cpp1320 expectKnownFPClass(fcNegInf, true); in TEST_F()
1392 expectKnownFPClass(~fcNegInf, std::nullopt); in TEST_F()
1474 expectKnownFPClass((fcNegative & ~fcNegInf) | fcNan, true); in TEST_F()
1840 EXPECT_EQ(~(fcNegInf | fcNan), OgtClass); in TEST_F()
1846 EXPECT_EQ(fcNegInf | fcNan, UleClass); in TEST_F()
/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp4626 return exactClass(Src, fcNegSubnormal | fcNegNormal | fcNegInf); in fcmpImpliesClass()
4628 return exactClass(Src, fcNegSubnormal | fcNegNormal | fcNegInf | fcNan); in fcmpImpliesClass()
4653 // fcmp oeq x, -inf -> is_fpclass x, fcNegInf in computeKnownFPClassFromCond()
4658 // fcmp une x, -inf -> is_fpclass x, ~fcNegInf in computeKnownFPClassFromCond()
4661 Mask = fcNegInf; in computeKnownFPClassFromCond()
4667 Mask |= fcNegInf; in computeKnownFPClassFromCond()
4674 // fcmp one x, -inf -> is_fpclass x, fcNegInf in computeKnownFPClassFromCond()
4675 // fcmp one fabs(x), -inf -> is_fpclass x, ~fcNegInf & ~fcNan in computeKnownFPClassFromCond()
4676 // fcmp one x, +inf -> is_fpclass x, ~fcNegInf & ~fcNan in computeKnownFPClassFromCond()
4681 // fcmp ueq x, -inf -> is_fpclass x, fcNegInf|fcNa in computeKnownFPClassFromContext()
[all...]
H A DConstantFolding.cpp3121 ((Mask & fcNegInf) && Op1V.isNegInfinity()) || in ConstantFoldScalarCall3()
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp931 case fcNegSubnormal | fcNegNormal | fcNegInf: in foldIntrinsicIsFPClass()
939 case fcNegNormal | fcNegInf: in foldIntrinsicIsFPClass()
1003 if ((OrderedMask == fcPosInf || OrderedMask == fcNegInf) && in foldIntrinsicIsFPClass()
1006 // is.fpclass(x, fcNegInf) -> fcmp oeq x, -inf in foldIntrinsicIsFPClass()
1008 // is.fpclass(x, fcNegInf|fcNan) -> fcmp ueq x, -inf in foldIntrinsicIsFPClass()
1010 ConstantFP::getInfinity(Src0->getType(), OrderedMask == fcNegInf); in foldIntrinsicIsFPClass()
1018 if ((OrderedInvertedMask == fcPosInf || OrderedInvertedMask == fcNegInf) && in foldIntrinsicIsFPClass()
1021 // is.fpclass(x, ~fcNegInf) -> fcmp one x, -inf in foldIntrinsicIsFPClass()
1023 // is.fpclass(x, ~fcNegInf|fcNan) -> fcmp une x, -inf in foldIntrinsicIsFPClass()
1025 OrderedInvertedMask == fcNegInf); in foldIntrinsicIsFPClass()
[all...]
H A DInstCombineSimplifyDemanded.cpp1955 case fcNegInf: in getFPClassConstant()
/llvm-project/llvm/test/Transforms/InstCombine/
H A Dis_fpclass.ll519 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 4) ; fcNegInf
528 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 7) ; fcNegInf|fcNan
537 %val = call <2 x i1> @llvm.is.fpclass.v2f32(<2 x float> %x, i32 4) ; fcNegInf
585 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 4) strictfp ; fcNegInf
612 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 7) strictfp ; fcNegInf|fcNan
/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.td171 if (Check & fcNegInf)
/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp2587 return fcNegInf; in keywordToFPClassTest()
/llvm-project/llvm/unittests/ADT/
H A DAPFloatTest.cpp2555 EXPECT_EQ(fcNegInf, NegInf.classify()); in TEST()
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp6481 if (Check & fcNegInf) in getTargetNodeName()
/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5264 FPClassTest Flag = CFP->isNegative() ? (IsFabs ? fcNone : fcNegInf) in SimplifySetCC()
8814 if ((OrderedFPTestMask == fcPosInf || OrderedFPTestMask == fcNegInf) && in expandCTPOP()
8824 APFloat::getInf(Semantics, OrderedFPTestMask == fcNegInf), DL, in expandCTPOP()
9005 else { // ISD::fcNegInf in CTTZTableLookup()
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp11588 if (Mask & fcNegInf) in LowerVectorStore()
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp6100 if (Check & fcNegInf) in hasMergeOp()