| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetOptions.h | 138 : UnsafeFPMath(false), NoInfsFPMath(false), NoNaNsFPMath(false), in TargetOptions() 178 unsigned UnsafeFPMath : 1; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetOptionsImpl.cpp | 62 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; in HonorSignDependentRoundingFPMath()
|
| H A D | CommandFlags.cpp | 551 Options.UnsafeFPMath = getEnableUnsafeFPMath(); in InitTargetOptionsFromCodeGenFlags()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetMachine.cpp | 135 RESET_OPTION(UnsafeFPMath, "unsafe-fp-math"); in resetTargetOptions()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 36 AllowFPReassoc = UnsafeFPMath; in resetNonModularOptions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMSubtarget.cpp | 244 (Options.UnsafeFPMath || isTargetDarwin())) in initSubtargetFeatures()
|
| H A D | ARMAsmPrinter.cpp | 689 else if (!TM.Options.UnsafeFPMath) in emitAttributes() 724 else if (!TM.Options.UnsafeFPMath) { in emitAttributes()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 60 bool UnsafeFPMath = false; member in llvm::AMDGPULibCalls 423 return UnsafeFPMath || FPOp->isFast(); in isUnsafeMath() 427 return UnsafeFPMath || in isUnsafeFiniteOnlyMath() 438 UnsafeFPMath = F.getFnAttribute("unsafe-fp-math").getValueAsBool(); in initFunction()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 598 Options.UnsafeFPMath || in getArithmeticInstrCost() 652 TLI->getTargetMachine().Options.UnsafeFPMath)) { in getArithmeticInstrCost()
|
| H A D | AMDGPUInstructions.td | 97 def UnsafeFPMath : Predicate<"TM.Options.UnsafeFPMath">;
|
| H A D | AMDGPULegalizerInfo.cpp | 3254 return Options.UnsafeFPMath || Options.ApproxFuncFPMath; in allowApproxFunc() 3360 TM.Options.ApproxFuncFPMath || TM.Options.UnsafeFPMath) { in legalizeFlogCommon() 4787 MF.getTarget().Options.UnsafeFPMath; in legalizeFastUnsafeFDIV() 4848 bool AllowInaccurateRcp = MF.getTarget().Options.UnsafeFPMath || in legalizeFastUnsafeFDIV64()
|
| H A D | AMDGPUISelLowering.cpp | 2579 return Options.UnsafeFPMath || Options.ApproxFuncFPMath; in allowApproxFunc() 2702 Options.ApproxFuncFPMath || Options.UnsafeFPMath) { in LowerFLOGCommon() 3529 if (getTargetMachine().Options.UnsafeFPMath) { in LowerFP_TO_FP16()
|
| H A D | SIISelLowering.cpp | 10453 DAG.getTarget().Options.UnsafeFPMath; in lowerFastUnsafeFDIV() 10506 DAG.getTarget().Options.UnsafeFPMath; in lowerFastUnsafeFDIV64() 13598 if ((Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath || in getFusedOpcode() 14452 if (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath || in performFMACombine()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 351 def UnsafeFPMath : StrBoolAttr<"unsafe-fp-math">;
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | ARM.cpp | 1003 if (Opts.UnsafeFPMath) in getTargetDefines()
|
| H A D | AArch64.cpp | 436 if (Opts.UnsafeFPMath) in getTargetDefines()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 386 Options.UnsafeFPMath = LangOpts.AllowFPReassoc && LangOpts.AllowRecip && in initTargetOptions()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.def | 228 COMPATIBLE_LANGOPT(UnsafeFPMath , 1, 0, "Unsafe Floating Point Math")
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 15852 return Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath || in isContractableFMUL() 15888 Options.UnsafeFPMath || HasFMAD); in visitFADDForFMACombine() 15947 Options.UnsafeFPMath || N->getFlags().hasAllowReassociation(); in visitFADDForFMACombine() 16126 Options.UnsafeFPMath || HasFMAD); in visitFSUBForFMACombine() 16282 return Options.UnsafeFPMath || N->getFlags().hasAllowReassociation(); in visitFSUBForFMACombine() 16296 bool CanFuse = Options.UnsafeFPMath || N->getFlags().hasAllowContract(); in visitFSUBForFMACombine() 16453 bool HasFMAD = Options.UnsafeFPMath && in visitFMULForFMADistributiveCombine() 16619 if (((Options.UnsafeFPMath && Options.NoSignedZerosFPMath) || in visitFADD() 16812 if (((Options.UnsafeFPMath && Options.NoSignedZerosFPMath) || in visitFSUB() 16973 if (Options.UnsafeFPMath || Flags.hasAllowReassociation()) { in visitFMUL() [all …]
|
| H A D | LegalizeDAG.cpp | 3721 if (!TLI.useSoftFloat() && TM.Options.UnsafeFPMath) { in ExpandNode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 108 if (getTargetMachine().Options.UnsafeFPMath) in getDivF32Level() 121 return !getTargetMachine().Options.UnsafeFPMath; in usePrecSqrtF32() 5280 if (MF.getTarget().Options.UnsafeFPMath) in allowUnsafeFPMath()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 442 !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTE() && in PPCTargetLowering() 447 !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTES() && in PPCTargetLowering() 565 if (TM.Options.UnsafeFPMath) { in PPCTargetLowering() 1021 if (TM.Options.UnsafeFPMath) { in PPCTargetLowering() 8830 !DAG.getTarget().Options.UnsafeFPMath) { in LowerINT_TO_FP() 17549 (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath)); in isProfitableToHoist()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 5702 !(Options.UnsafeFPMath || MI.getFlag(MachineInstr::MIFlag::FmReassoc))) in canCombineFMadOrFMA() 5715 Options.UnsafeFPMath || HasFMAD; in canCombineFMadOrFMA()
|
| H A D | LegalizerHelper.cpp | 7122 if (MIRBuilder.getMF().getTarget().Options.UnsafeFPMath) { in lowerFPTRUNC_F64_TO_F16()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrInfo.cpp | 5907 return Options.UnsafeFPMath || in isCombineInstrCandidateFP() 6013 return Inst.getParent()->getParent()->getTarget().Options.UnsafeFPMath || in isAssociativeAndCommutative()
|