| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetOptions.h | 137 : UnsafeFPMath(false), NoInfsFPMath(false), NoNaNsFPMath(false), in TargetOptions() 172 unsigned UnsafeFPMath : 1; variable
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetOptionsImpl.cpp | 45 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; in HonorSignDependentRoundingFPMath()
|
| H A D | CommandFlags.cpp | 543 Options.UnsafeFPMath = getEnableUnsafeFPMath(); in InitTargetOptionsFromCodeGenFlags()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetMachine.cpp | 114 RESET_OPTION(UnsafeFPMath, "unsafe-fp-math"); in resetTargetOptions()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | OSTargets.cpp | 177 Opts.FastMath || Opts.FiniteMathOnly || Opts.UnsafeFPMath || in addVisualCDefines()
|
| H A D | ARM.cpp | 1002 if (Opts.UnsafeFPMath) in getTargetDefines()
|
| H A D | AArch64.cpp | 403 if (Opts.UnsafeFPMath) in getTargetDefines()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 36 AllowFPReassoc = UnsafeFPMath; in resetNonModularOptions()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMSubtarget.cpp | 248 (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-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 59 bool UnsafeFPMath = false; member in llvm::AMDGPULibCalls 422 return UnsafeFPMath || FPOp->isFast(); in isUnsafeMath() 426 return UnsafeFPMath || in isUnsafeFiniteOnlyMath() 437 UnsafeFPMath = F.getFnAttribute("unsafe-fp-math").getValueAsBool(); in initFunction()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 601 Options.UnsafeFPMath || in getArithmeticInstrCost() 655 TLI->getTargetMachine().Options.UnsafeFPMath)) { in getArithmeticInstrCost()
|
| H A D | AMDGPUInstructions.td | 119 def UnsafeFPMath : Predicate<"TM.Options.UnsafeFPMath">;
|
| H A D | AMDGPULegalizerInfo.cpp | 3158 return Options.UnsafeFPMath || Options.ApproxFuncFPMath; in allowApproxFunc() 3264 TM.Options.ApproxFuncFPMath || TM.Options.UnsafeFPMath) { in legalizeFlogCommon() 4671 MF.getTarget().Options.UnsafeFPMath; in legalizeFastUnsafeFDIV() 4732 bool AllowInaccurateRcp = MF.getTarget().Options.UnsafeFPMath || in legalizeFastUnsafeFDIV64()
|
| H A D | AMDGPUISelLowering.cpp | 2538 return Options.UnsafeFPMath || Options.ApproxFuncFPMath; in allowApproxFunc() 2661 Options.ApproxFuncFPMath || Options.UnsafeFPMath) { in LowerFLOGCommon() 3478 if (getTargetMachine().Options.UnsafeFPMath) { in LowerFP_TO_FP16()
|
| H A D | SIISelLowering.cpp | 10264 DAG.getTarget().Options.UnsafeFPMath; in lowerFastUnsafeFDIV() 10317 DAG.getTarget().Options.UnsafeFPMath; in lowerFastUnsafeFDIV64() 13300 if ((Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath || in getFusedOpcode() 14137 if (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath || in performFMACombine()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 333 def UnsafeFPMath : StrBoolAttr<"unsafe-fp-math">;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 377 Options.UnsafeFPMath = LangOpts.AllowFPReassoc && LangOpts.AllowRecip && in initTargetOptions()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.def | 214 COMPATIBLE_LANGOPT(UnsafeFPMath , 1, 0, "Unsafe Floating Point Math")
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 15588 Options.UnsafeFPMath || HasFMAD); in visitFADDForFMACombine() 15824 Options.UnsafeFPMath || HasFMAD); in visitFSUBForFMACombine() 16151 bool HasFMAD = Options.UnsafeFPMath && in visitFMULForFMADistributiveCombine() 16317 if (((Options.UnsafeFPMath && Options.NoSignedZerosFPMath) || in visitFADD() 16510 if (((Options.UnsafeFPMath && Options.NoSignedZerosFPMath) || in visitFSUB() 16671 if (Options.UnsafeFPMath || Flags.hasAllowReassociation()) { in visitFMUL() 16829 if (Options.UnsafeFPMath) { in visitFMA() 16942 bool UnsafeMath = DAG.getTarget().Options.UnsafeFPMath; in combineRepeatedFPDivisors() 17038 if (Options.UnsafeFPMath || Flags.hasAllowReciprocal()) { in visitFDIV() 17132 (Options.UnsafeFPMath || Flags.hasAllowReassociation())) in visitFDIV() [all …]
|
| H A D | LegalizeDAG.cpp | 3646 if (!TLI.useSoftFloat() && TM.Options.UnsafeFPMath) { in ExpandNode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 106 if (getTargetMachine().Options.UnsafeFPMath) in getDivF32Level() 119 return !getTargetMachine().Options.UnsafeFPMath; in usePrecSqrtF32() 5081 if (MF.getTarget().Options.UnsafeFPMath) in allowUnsafeFPMath()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 5419 !(Options.UnsafeFPMath || MI.getFlag(MachineInstr::MIFlag::FmReassoc))) in canCombineFMadOrFMA() 5432 Options.UnsafeFPMath || HasFMAD; in canCombineFMadOrFMA()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 432 !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTE() && in PPCTargetLowering() 437 !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTES() && in PPCTargetLowering() 555 if (TM.Options.UnsafeFPMath) { in PPCTargetLowering() 1011 if (TM.Options.UnsafeFPMath) { in PPCTargetLowering() 8704 !DAG.getTarget().Options.UnsafeFPMath) { in LowerINT_TO_FP() 17337 (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath)); in isProfitableToHoist()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrInfo.cpp | 5865 return Options.UnsafeFPMath || in isCombineInstrCandidateFP() 5971 return Inst.getParent()->getParent()->getTarget().Options.UnsafeFPMath || in isAssociativeAndCommutative()
|