| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | IRBuilderTest.cpp | 88 EXPECT_FALSE(II->hasNoInfs()); in TEST_F() 94 EXPECT_TRUE(II->hasNoInfs()); in TEST_F() 100 EXPECT_FALSE(II->hasNoInfs()); in TEST_F() 106 EXPECT_TRUE(II->hasNoInfs()); in TEST_F() 112 EXPECT_FALSE(II->hasNoInfs()); in TEST_F() 118 EXPECT_TRUE(II->hasNoInfs()); in TEST_F() 124 EXPECT_TRUE(II->hasNoInfs()); in TEST_F() 130 EXPECT_FALSE(II->hasNoInfs()); in TEST_F() 547 EXPECT_FALSE(FAdd->hasNoInfs()); in TEST_F() 557 EXPECT_TRUE(FAdd->hasNoInfs()); in TEST_F()
|
| H A D | InstructionsTest.cpp | 1486 EXPECT_FALSE(FNeg->hasNoInfs()); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCGenScalarMASSEntries.cpp | 81 return CI.hasNoNaNs() && CI.hasNoInfs() && CI.hasNoSignedZeros(); in isFiniteCallSafe()
|
| H A D | PPCLowerMASSVEntries.cpp | 114 if (!CI->hasNoInfs() || !CI->hasApproxFunc()) in handlePowSpecialCases()
|
| H A D | PPCISelLowering.cpp | 7936 if ((!DAG.getTarget().Options.NoInfsFPMath && !Flags.hasNoInfs()) || in LowerSELECT_CC() 17881 Flags.hasNoNaNs() && Flags.hasNoInfs(); in isLowringToMASSFiniteSafe()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Operator.cpp | 42 return FP->hasNoNaNs() || FP->hasNoInfs(); in hasPoisonGeneratingFlags()
|
| H A D | Instruction.cpp | 264 bool Instruction::hasNoInfs() const { in hasNoInfs() function in Instruction 266 return cast<FPMathOperator>(this)->hasNoInfs(); in hasNoInfs()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Operator.h | 259 bool hasNoInfs() const { in hasNoInfs() function
|
| H A D | Instruction.h | 450 bool hasNoInfs() const;
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 1312 if (!I.hasNoInfs()) in foldFDivPowDivisor() 1427 if (I.hasNoNaNs() && I.hasNoInfs() && in visitFDiv()
|
| H A D | InstCombineCompares.cpp | 6647 if (!LHSI->hasNoInfs() || !I.hasNoInfs()) in foldFCmpReciprocalAndZero()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGDumper.cpp | 580 if (getFlags().hasNoInfs()) in print_details()
|
| H A D | InstrEmitter.cpp | 1021 if (Flags.hasNoInfs()) in EmitMachineNode()
|
| H A D | DAGCombiner.cpp | 13967 static bool hasNoInfs(const TargetOptions &Options, SDValue N) { in hasNoInfs() function 13968 return Options.NoInfsFPMath || N->getFlags().hasNoInfs(); in hasNoInfs() 14514 if (!hasNoInfs(Options, FAdd)) in visitFMULForFMADistributiveCombine() 15335 if (Options.NoInfsFPMath || Flags.hasNoInfs()) in visitFDIV() 15390 (!Options.NoInfsFPMath && !Flags.hasNoInfs())) in visitFSQRT() 15501 if (!Flags.hasNoSignedZeros() || !Flags.hasNoInfs() || !Flags.hasNoNaNs() || in visitFPOW() 15532 if ((!Flags.hasNoSignedZeros() && ExponentIs025) || !Flags.hasNoInfs() || in visitFPOW() 15964 if (AF.isInfinity() || (Flags.hasNoInfs() && AF.isLargest())) { in visitFMinMax()
|
| H A D | SelectionDAG.cpp | 8872 if (Flags.hasNoInfs() && (HasInf || X.isUndef() || Y.isUndef())) in simplifyFPBinop() 11840 !Flags.hasNoInfs() ? APFloat::getInf(Semantics) : in getNeutralElement()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 402 setNoInfs(FPMO.hasNoInfs()); 428 bool hasNoInfs() const { return NoInfs; }
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1942 if (!Pow->doesNotAccessMemory() && !Pow->hasNoInfs() && in replacePowWithSqrt() 1960 if (!Pow->hasNoInfs()) { in replacePowWithSqrt()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 3178 if (ScalarBits == 16 && !FMulFlags.hasNoInfs() && IsUnsigned) in transformFixedFloatingPointConversion() 3289 if (ScalarBits == 16 && !Flags.hasNoInfs() && IsUnsigned) in tryFP_TO_INT()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 785 if (FPMO->hasNoInfs()) in getOptimizationFlags()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 1505 if (FPMO->hasNoInfs()) in getOptimizationFlags()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 5970 (C->isInfinity() || (Q.CxtI->hasNoInfs() && C->isLargest()))) { in simplifyBinaryIntrinsic()
|
| H A D | ValueTracking.cpp | 3738 if (FPMathOp->hasNoInfs()) in isKnownNeverInfinity()
|