| /llvm-project/llvm/lib/Support/ |
| H A D | FloatingPointMode.cpp | 16 if (Mask & fcNegInf) in fneg() 31 NewMask |= fcNegInf; in fneg() 73 {fcNegInf, "ninf"},
|
| H A D | APFloat.cpp | 5458 return isNegative() ? fcNegInf : fcPosInf;
|
| /llvm-project/llvm/include/llvm/ADT/ |
| H A D | FloatingPointMode.h | 244 fcNegInf = 0x0004, enumerator 254 fcInf = fcPosInf | fcNegInf, 262 fcNegative = fcNegFinite | fcNegInf,
|
| /llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 304 return isKnownNever(fcNegInf); in isKnownNeverSubnormal() 351 fcNegSubnormal | fcNegNormal | fcNegInf; 406 if (KnownFPClasses & fcNegInf) in fabs()
|
| /llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenCommonISel.cpp | 187 case fcNegInf: in invertFPClassTestIfSimpler() 206 case fcNegInf | fcNan: in invertFPClassTestIfSimpler()
|
| /llvm-project/llvm/unittests/Analysis/ |
| H A D | ValueTrackingTest.cpp | 1320 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 D | ValueTracking.cpp | 4626 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 D | ConstantFolding.cpp | 3121 ((Mask & fcNegInf) && Op1V.isNegInfinity()) || in ConstantFoldScalarCall3()
|
| /llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 931 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 D | InstCombineSimplifyDemanded.cpp | 1955 case fcNegInf: in getFPClassConstant()
|
| /llvm-project/llvm/test/Transforms/InstCombine/ |
| H A D | is_fpclass.ll | 519 %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 D | LoongArchInstrInfo.td | 171 if (Check & fcNegInf)
|
| /llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 2587 return fcNegInf; in keywordToFPClassTest()
|
| /llvm-project/llvm/unittests/ADT/ |
| H A D | APFloatTest.cpp | 2555 EXPECT_EQ(fcNegInf, NegInf.classify()); in TEST()
|
| /llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 6481 if (Check & fcNegInf) in getTargetNodeName()
|
| /llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 5264 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 D | PPCISelLowering.cpp | 11588 if (Mask & fcNegInf) in LowerVectorStore()
|
| /llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 6100 if (Check & fcNegInf) in hasMergeOp()
|