| /llvm-project/llvm/unittests/ADT/ |
| H A D | APFloatTest.cpp | 2676 { PZero, PZero, "0x0p+0", APFloat::opOK, APFloat::fcZero }, in TEST() 2677 { PZero, MZero, "0x0p+0", APFloat::opOK, APFloat::fcZero }, in TEST() 2690 { MZero, PZero, "0x0p+0", APFloat::opOK, APFloat::fcZero }, in TEST() 2691 { MZero, MZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero }, in TEST() 2737 { PNormalValue, MNormalValue, "0x0p+0", APFloat::opOK, APFloat::fcZero }, in TEST() 2750 { MNormalValue, PNormalValue, "0x0p+0", APFloat::opOK, APFloat::fcZero }, in TEST() 2767 { PLargestValue, MLargestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero }, in TEST() 2780 { MLargestValue, PLargestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero }, in TEST() 2797 { PSmallestValue, MSmallestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero }, in TEST() 2810 { MSmallestValue, PSmallestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero }, in TEST() [all...] |
| /llvm-project/llvm/lib/Support/ |
| H A D | FloatingPointMode.cpp | 38 NewMask |= fcZero; in inverse_fabs() 50 if (Mask & fcZero) in unknown_sign() 51 NewMask |= fcZero; in unknown_sign() 75 {fcZero, "zero"},
|
| H A D | APFloat.cpp | 1166 if (category==fcZero || category==fcInfinity) in IEEEFloat() 1193 // 'fcNormal') instead of makeZero (where category is 'fcZero'). 1409 // i.e . it belongs to the 'fcZero' category. in divideSignificand() 1507 /* Note that a zero result is NOT normalized to fcZero. */ in compareAbsoluteValue() 1604 signficand). This routine must work for fcZero of both signs, and in normalize() 1610 assert(isFiniteNonZero() || category == fcZero); in normalize() 1624 if (lost_fraction == lfExactlyHalf && category != fcZero) in normalize() 1711 category = fcZero; in normalize() 1764 category = fcZero; in addOrSubtractSpecials() 1774 /* The fcZero cas in addOrSubtractSpecials() [all...] |
| /llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenCommonISel.cpp | 194 case fcZero: in invertFPClassTestIfSimpler() 200 case fcZero | fcNan: in invertFPClassTestIfSimpler() 201 case fcSubnormal | fcZero: in invertFPClassTestIfSimpler() 202 case fcSubnormal | fcZero | fcNan: in invertFPClassTestIfSimpler()
|
| /llvm-project/llvm/test/Transforms/InstCombine/ |
| H A D | is_fpclass.ll | 122 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 96) ; fcZero 131 %val = call <2 x i1> @llvm.is.fpclass.v2f32(<2 x float> %x, i32 96) ; fcZero 140 %val = call <2 x i1> @llvm.is.fpclass.v2f32(<2 x float> %x, i32 96) ; fcZero 149 %val = call <2 x i1> @llvm.is.fpclass.v2f32(<2 x float> %x, i32 96) ; fcZero 158 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 99) ; fcZero|fcNan 167 %val = call <2 x i1> @llvm.is.fpclass.v2f32(<2 x float> %x, i32 99) ; fcZero|fcNan 176 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 99) ; fcZero|fcNan 185 %val = call <2 x i1> @llvm.is.fpclass.v2f32(<2 x float> %x, i32 99) ; fcZero|fcNan 195 %val = call i1 @llvm.is.fpclass.f32(float %x, i32 243) ; fcZero|fcNan|fcSubnormal 204 %val = call <2 x i1> @llvm.is.fpclass.v2f32(<2 x float> %x, i32 243) ; fcZero|fcNa [all...] |
| H A D | create-class-from-logic-fcmp.ll | 1408 ; -> ninf | fcZero | fcSubnormal
|
| /llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 325 return isKnownNever(fcZero); in isKnownNeverPosZero() 438 if (KnownFPClasses & fcZero) in copysign() 439 KnownFPClasses |= fcZero; in copysign()
|
| /llvm-project/llvm/include/llvm/ADT/ |
| H A D | FloatingPointMode.h | 257 fcZero = fcPosZero | fcNegZero, enumerator
|
| H A D | APFloat.h | 332 fcZero 398 static constexpr fltCategory fcZero = APFloatBase::fcZero; 511 bool isZero() const { return category == fltCategory::fcZero; } 533 bool isNonZero() const { return category != fltCategory::fcZero; } 1441 bool isZero() const { return getCategory() == fcZero; } in neg() 276 fcZero global() enumerator
|
| /llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 1303 if (FPClasses & fcZero) in computeKnownBitsFromOperator() 4593 const bool IsZero = (OrigClass & fcZero) == OrigClass; in fcmpImpliesClass() 4596 // Compares with fcNone are only exactly equal to fcZero if input denormals in fcmpImpliesClass() 4604 return exactClass(Src, fcZero); in fcmpImpliesClass() 4606 return exactClass(Src, fcZero | fcNan); in fcmpImpliesClass() 4608 return exactClass(Src, ~fcZero); in fcmpImpliesClass() 4610 return exactClass(Src, ~fcNan & ~fcZero); in fcmpImpliesClass() 4894 // fcmp olt x, smallest_normal -> fcNegInf|fcNegNormal|fcSubnormal|fcZero in computeKnownFPClass() 4895 // fcmp olt fabs(x), smallest_normal -> fcSubnormal|fcZero in computeKnownFPClass() 4897 // fcmp uge fabs(x), smallest_normal -> ~(fcSubnormal|fcZero) in computeKnownFPClass() [all...] |
| /llvm-project/llvm/unittests/Analysis/ |
| H A D | ValueTrackingTest.cpp | 1302 expectKnownFPClass(fcZero, std::nullopt); in TEST_F() 1412 expectKnownFPClass(~fcZero, std::nullopt); in TEST_F() 1433 expectKnownFPClass(~(fcZero | fcInf), std::nullopt); in TEST_F()
|
| /llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 185 case llvm::APFloat::fcZero: in fromFloatSpecialBinOp()
|
| /llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 903 case fcZero: 907 case fcZero | fcSubnormal: in foldIntrinsicIsFPClass() 943 case ~fcZero & ~fcNan: in foldIntrinsicIsFPClass() 947 case ~(fcZero | fcSubnormal) & ~fcNan: in foldIntrinsicIsFPClass() 1053 // is.fpclass(x, fcZero) -> fcmp oeq x, 0.0 in getKnownSign() 1054 // is.fpclass(x, fcZero | fcNan) -> fcmp ueq x, 0.0 in getKnownSign() 1055 // is.fpclass(x, ~fcZero & ~fcNan) -> fcmp one x, 0.0 in getKnownSign() 1056 // is.fpclass(x, ~fcZero) -> fcmp une x, 0.0 in getKnownSign()
|
| H A D | InstCombineCompares.cpp | 3453 if (Mask & (fcInf | fcZero)) { in foldICmpInstWithConstant()
|
| /llvm-project/clang/lib/AST/Interp/ |
| H A D | InterpBuiltin.cpp | |
| /llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 8715 if (OrderedMask == fcZero && in expandIS_FPCLASS() 8718 if (OrderedMask == (fcZero | fcSubnormal) && in expandIS_FPCLASS() 8830 if (OrderedFPTestMask == (fcSubnormal | fcZero) && !IsOrdered) { in expandCTPOP() 8963 if (FPClassTest PartialCheck = Test & (fcZero | fcSubnormal)) { in expandVPCTLZ() 8964 // fcZero | fcSubnormal => test all exponent bits are 0 in expandVPCTLZ() 8966 if (PartialCheck == (fcZero | fcSubnormal)) { in expandVPCTLZ() 8977 if (unsigned PartialCheck = Test & fcZero) { in expandVPCTLZ() 8980 else if (PartialCheck == fcZero) in expandVPCTLZ()
|
| /llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 9145 if (FPClassTest PartialCheck = Mask & (fcZero | fcSubnormal)) { 9146 // fcZero | fcSubnormal => test all exponent bits are 0 9149 if (PartialCheck == (fcZero | fcSubnormal)) { 9158 if (FPClassTest PartialCheck = Mask & fcZero) { 9162 else if (PartialCheck == fcZero)
|
| /llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULegalizerInfo.cpp | 5309 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 D | SIISelLowering.cpp | 11383 DAG.getTargetConstant(fcZero | fcPosInf, DL, MVT::i32)); in performMemSDNodeCombine() 11463 DAG.getTargetConstant(fcZero | fcPosInf, DL, MVT::i32)); in getPermuteMask()
|
| /llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 2603 return fcZero; in parseNoFPClassAttr()
|
| /llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 13144 case APFloat::fcZero: Arg = 4; break; in isOnePastTheEndOfCompleteObject()
|
| /llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 4076 Builder.CreateZExt(Builder.createIsFPClass(V, FPClassTest::fcZero), in EmitBuiltinExpr()
|