| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Operator.h | 68 bool hasNoInfs() const { in hasNoInfs() function 69 return cast<llvm::FPMathOperator>(Val)->hasNoInfs(); in hasNoInfs()
|
| H A D | Instruction.h | 265 bool hasNoInfs() const { return cast<llvm::Instruction>(Val)->hasNoInfs(); } in hasNoInfs() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCGenScalarMASSEntries.cpp | 80 return CI.hasNoNaNs() && CI.hasNoInfs() && CI.hasNoSignedZeros(); in isFiniteCallSafe()
|
| H A D | PPCLowerMASSVEntries.cpp | 116 if (!CI->hasNoInfs() || !CI->hasApproxFunc()) in handlePowSpecialCases()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 57 return FP->hasNoNaNs() || FP->hasNoInfs(); in hasPoisonGeneratingFlags()
|
| H A D | Instruction.cpp | 639 bool Instruction::hasNoInfs() const { in hasNoInfs() function in Instruction 641 return cast<FPMathOperator>(this)->hasNoInfs(); in hasNoInfs()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 307 bool hasNoInfs() const {
|
| H A D | Instruction.h | 658 LLVM_ABI bool hasNoInfs() const LLVM_READONLY;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 739 !FSqrt->hasNoSignedZeros() || !FSqrt->hasNoInfs()) in isFSqrtDivToFMulLegal() 746 if (!X->hasAllowReassoc() || !X->hasAllowReciprocal() || !X->hasNoInfs()) in isFSqrtDivToFMulLegal() 990 ((I.hasNoInfs() && isKnownNeverNaN(Op0, SQ.getWithInstruction(&I))) || in visitFMul() 1996 if (!I.hasNoInfs()) in foldFDivPowDivisor() 2225 if (I.hasNoNaNs() && I.hasNoInfs() && in visitFDiv()
|
| H A D | InstCombineSelect.cpp | 551 BO->setHasNoInfs(BO->hasNoInfs() && FMF.noInfs()); in foldSelectIntoOp() 2926 if (FMF.noInfs() && !SI.hasNoInfs()) { in foldSelectWithFCmpToFabs() 4009 if (FCmp->hasNoInfs()) in visitSelectInst() 4068 BinIntrInst->setHasNoInfs(FCmp->hasNoInfs()); in visitSelectInst() 4078 BinIntrInst->setHasNoInfs(FCmp->hasNoInfs()); in visitSelectInst()
|
| H A D | InstCombineSimplifyDemanded.cpp | 1999 if (FPOp->hasNoInfs()) in SimplifyDemandedUseFPClass()
|
| H A D | InstCombineCompares.cpp | 8203 if (!LHSI->hasNoInfs() || !I.hasNoInfs()) in foldFCmpReciprocalAndZero() 8338 if (!cast<Instruction>(I.getOperand(0))->hasNoInfs()) in foldSqrtWithFcmpZero() 8421 if (!LHSI->hasNoNaNs() && !LHSI->hasNoInfs() && in foldFCmpFSubIntoFCmp()
|
| /freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | IRMutator.cpp | 317 Modifications.push_back([&Inst] { Inst.setHasNoInfs(!Inst.hasNoInfs()); }); in mutate()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGDumper.cpp | 693 if (getFlags().hasNoInfs()) in print_details()
|
| H A D | InstrEmitter.cpp | 1084 if (Flags.hasNoInfs()) in EmitMachineNode()
|
| H A D | DAGCombiner.cpp | 16861 static bool hasNoInfs(const TargetOptions &Options, SDValue N) { in hasNoInfs() function 16862 return Options.NoInfsFPMath || N->getFlags().hasNoInfs(); in hasNoInfs() 17441 if (!hasNoInfs(Options, FAdd)) in visitFMULForFMADistributiveCombine() 18127 (N->getFlags().hasNoNaNs() && N->getFlags().hasNoInfs())) { in visitFMA() 18429 if (Options.NoInfsFPMath || Flags.hasNoInfs()) in visitFDIV() 18512 (!Options.NoInfsFPMath && !Flags.hasNoInfs())) in visitFSQRT() 18597 if (!Flags.hasNoSignedZeros() || !Flags.hasNoInfs() || !Flags.hasNoNaNs() || in visitFPOW() 18628 if ((!Flags.hasNoSignedZeros() && ExponentIs025) || !Flags.hasNoInfs() || in visitFPOW() 18950 if (WidenFlags.hasNoNaNs() && WidenFlags.hasNoInfs() && in eliminateFPCastPair() 19138 if (AF.isInfinity() || (Flags.hasNoInfs() && AF.isLargest())) { in visitFMinMax()
|
| H A D | SelectionDAG.cpp | 10521 if (Flags.hasNoInfs() && (HasInf || X.isUndef() || Y.isUndef())) in simplifyFPBinop() 12517 : !Flags.hasNoInfs() in isNeutralConstant() 13800 !Flags.hasNoInfs() ? APFloat::getInf(Semantics) : in getNeutralElement() 13811 APFloat NeutralAF = !Flags.hasNoInfs() ? APFloat::getInf(Semantics) in getNeutralElement()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 437 setNoInfs(FPMO.hasNoInfs()); 470 bool hasNoInfs() const { return Flags & NoInfs; }
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2263 if (!Pow->doesNotAccessMemory() && !Pow->hasNoInfs() && in replacePowWithSqrt() 2281 if (!Pow->hasNoInfs()) { in replacePowWithSqrt() 2572 bool IsKnownNoErrno = Log->hasNoNaNs() && Log->hasNoInfs(); in optimizeLog()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 424 (FPOp->hasApproxFunc() && FPOp->hasNoNaNs() && FPOp->hasNoInfs()); in isUnsafeFiniteOnlyMath()
|
| H A D | AMDGPUISelLowering.cpp | 2824 (Flags.hasNoInfs() || Options.NoInfsFPMath); in LowerFLOGCommon() 3153 if (!Flags.hasNoInfs() && !Options.NoInfsFPMath) { in lowerFEXP()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Instruction.cpp | 228 GenericSetter<&Instruction::hasNoInfs, &Instruction::setHasNoInfs>>( in setHasNoInfs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 3173 if (ScalarBits == 16 && !FMulFlags.hasNoInfs() && IsUnsigned) in transformFixedFloatingPointConversion() 3284 if (ScalarBits == 16 && !Flags.hasNoInfs() && IsUnsigned) in tryFP_TO_INT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 763 if (FPMO->hasNoInfs()) in getOptimizationFlags()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 1747 if (FPMO->hasNoInfs()) in getOptimizationFlags()
|