| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetOptions.h | 121 : UnsafeFPMath(false), NoInfsFPMath(false), NoNaNsFPMath(false), in TargetOptions() 163 unsigned UnsafeFPMath : 1; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetOptionsImpl.cpp | 54 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; in HonorSignDependentRoundingFPMath()
|
| H A D | CommandFlags.cpp | 556 Options.UnsafeFPMath = getEnableUnsafeFPMath(); in InitTargetOptionsFromCodeGenFlags()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | OSTargets.cpp | 187 const bool any_imprecise_flags = Opts.FastMath || Opts.UnsafeFPMath || in addVisualCDefines()
|
| H A D | ARM.cpp | 1009 if (Opts.UnsafeFPMath) in getTargetDefines()
|
| H A D | AArch64.cpp | 470 if (Opts.UnsafeFPMath) in getTargetDefines()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetMachine.cpp | 161 RESET_OPTION(UnsafeFPMath, "unsafe-fp-math"); in resetTargetOptions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMSubtarget.cpp | 227 (Options.UnsafeFPMath || isTargetDarwin())) in initSubtargetFeatures()
|
| H A D | ARMAsmPrinter.cpp | 698 else if (!TM.Options.UnsafeFPMath) in emitAttributes() 733 else if (!TM.Options.UnsafeFPMath) { in emitAttributes()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 38 AllowFPReassoc = UnsafeFPMath; in resetNonModularOptions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 56 bool UnsafeFPMath = false; member in llvm::AMDGPULibCalls 419 return UnsafeFPMath || FPOp->isFast(); in isUnsafeMath() 423 return UnsafeFPMath || in isUnsafeFiniteOnlyMath() 434 UnsafeFPMath = F.getFnAttribute("unsafe-fp-math").getValueAsBool(); in initFunction()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 600 Options.UnsafeFPMath || in getArithmeticInstrCost() 654 TLI->getTargetMachine().Options.UnsafeFPMath)) { in getArithmeticInstrCost()
|
| H A D | AMDGPUInstructions.td | 97 def UnsafeFPMath : Predicate<"TM.Options.UnsafeFPMath">;
|
| H A D | AMDGPULegalizerInfo.cpp | 3312 return Options.UnsafeFPMath || Options.ApproxFuncFPMath; in allowApproxFunc() 3418 TM.Options.ApproxFuncFPMath || TM.Options.UnsafeFPMath) { in legalizeFlogCommon() 4845 MF.getTarget().Options.UnsafeFPMath; in legalizeFastUnsafeFDIV() 4906 bool AllowInaccurateRcp = MF.getTarget().Options.UnsafeFPMath || in legalizeFastUnsafeFDIV64()
|
| H A D | AMDGPUISelLowering.cpp | 2636 return Options.UnsafeFPMath || Options.ApproxFuncFPMath; in allowApproxFunc() 2759 Options.ApproxFuncFPMath || Options.UnsafeFPMath) { in LowerFLOGCommon() 3587 if (getTargetMachine().Options.UnsafeFPMath) { in LowerFP_TO_FP16()
|
| H A D | SIISelLowering.cpp | 7067 if (getTargetMachine().Options.UnsafeFPMath) { in lowerFP_ROUND() 11110 Flags.hasApproximateFuncs() || DAG.getTarget().Options.UnsafeFPMath; in lowerFastUnsafeFDIV() 11163 Flags.hasApproximateFuncs() || DAG.getTarget().Options.UnsafeFPMath; in lowerFastUnsafeFDIV64() 14411 if ((Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath || in getFusedOpcode() 15452 if (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath || in performFMACombine()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 411 def UnsafeFPMath : StrBoolAttr<"unsafe-fp-math">;
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 422 Options.UnsafeFPMath = LangOpts.AllowFPReassoc && LangOpts.AllowRecip && in initTargetOptions()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.def | 192 LANGOPT(UnsafeFPMath , 1, 0, Compatible, "Unsafe Floating Point Math")
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 450 !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTE() && in PPCTargetLowering() 455 !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTES() && in PPCTargetLowering() 572 if (TM.Options.UnsafeFPMath) { in PPCTargetLowering() 1038 if (TM.Options.UnsafeFPMath) { in PPCTargetLowering() 8874 !DAG.getTarget().Options.UnsafeFPMath) { in LowerINT_TO_FP() 18457 (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath)); in isProfitableToHoist()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 16951 Options.UnsafeFPMath || N->getFlags().hasAllowReassociation(); in visitFADDForFMACombine() 17617 if (((Options.UnsafeFPMath && Options.NoSignedZerosFPMath) || in visitFADD() 17704 if (((Options.UnsafeFPMath && Options.NoSignedZerosFPMath) || in visitFADD() 17807 if (((Options.UnsafeFPMath && Options.NoSignedZerosFPMath) || in visitFSUB() 17971 if (Options.UnsafeFPMath || Flags.hasAllowReassociation()) { in visitFMUL() 18149 Options.UnsafeFPMath || N->getFlags().hasAllowReassociation(); in visitFMA() 18244 bool UnsafeMath = DAG.getTarget().Options.UnsafeFPMath; in combineRepeatedFPDivisors() 18896 if (DAG.getTarget().Options.UnsafeFPMath || N0IsTrunc) in visitFP_ROUND()
|
| H A D | LegalizeDAG.cpp | 3860 if (!TLI.useSoftFloat() && TM.Options.UnsafeFPMath) { in ExpandNode()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 5940 !(Options.UnsafeFPMath || MI.getFlag(MachineInstr::MIFlag::FmReassoc))) in canCombineFMadOrFMA() 5953 Options.UnsafeFPMath || HasFMAD; in canCombineFMadOrFMA()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrInfo.cpp | 6576 return Options.UnsafeFPMath || in isCombineInstrCandidateFP() 6682 return Inst.getParent()->getParent()->getTarget().Options.UnsafeFPMath || in isAssociativeAndCommutative()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 4823 if (MF.getTarget().Options.UnsafeFPMath) in allowUnsafeFPMath()
|