Home
last modified time | relevance | path

Searched refs:UnsafeFPMath (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetOptions.h138 : UnsafeFPMath(false), NoInfsFPMath(false), NoNaNsFPMath(false), in TargetOptions()
178 unsigned UnsafeFPMath : 1; variable
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetOptionsImpl.cpp62 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; in HonorSignDependentRoundingFPMath()
H A DCommandFlags.cpp551 Options.UnsafeFPMath = getEnableUnsafeFPMath(); in InitTargetOptionsFromCodeGenFlags()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp135 RESET_OPTION(UnsafeFPMath, "unsafe-fp-math"); in resetTargetOptions()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp36 AllowFPReassoc = UnsafeFPMath; in resetNonModularOptions()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp244 (Options.UnsafeFPMath || isTargetDarwin())) in initSubtargetFeatures()
H A DARMAsmPrinter.cpp689 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 DAMDGPULibCalls.cpp60 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 DAMDGPUTargetTransformInfo.cpp598 Options.UnsafeFPMath || in getArithmeticInstrCost()
652 TLI->getTargetMachine().Options.UnsafeFPMath)) { in getArithmeticInstrCost()
H A DAMDGPUInstructions.td97 def UnsafeFPMath : Predicate<"TM.Options.UnsafeFPMath">;
H A DAMDGPULegalizerInfo.cpp3254 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 DAMDGPUISelLowering.cpp2579 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 DSIISelLowering.cpp10453 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 DAttributes.td351 def UnsafeFPMath : StrBoolAttr<"unsafe-fp-math">;
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DARM.cpp1003 if (Opts.UnsafeFPMath) in getTargetDefines()
H A DAArch64.cpp436 if (Opts.UnsafeFPMath) in getTargetDefines()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp386 Options.UnsafeFPMath = LangOpts.AllowFPReassoc && LangOpts.AllowRecip && in initTargetOptions()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.def228 COMPATIBLE_LANGOPT(UnsafeFPMath , 1, 0, "Unsafe Floating Point Math")
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp15852 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 DLegalizeDAG.cpp3721 if (!TLI.useSoftFloat() && TM.Options.UnsafeFPMath) { in ExpandNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp108 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 DPPCISelLowering.cpp442 !(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 DCombinerHelper.cpp5702 !(Options.UnsafeFPMath || MI.getFlag(MachineInstr::MIFlag::FmReassoc))) in canCombineFMadOrFMA()
5715 Options.UnsafeFPMath || HasFMAD; in canCombineFMadOrFMA()
H A DLegalizerHelper.cpp7122 if (MIRBuilder.getMF().getTarget().Options.UnsafeFPMath) { in lowerFPTRUNC_F64_TO_F16()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp5907 return Options.UnsafeFPMath || in isCombineInstrCandidateFP()
6013 return Inst.getParent()->getParent()->getTarget().Options.UnsafeFPMath || in isAssociativeAndCommutative()

12