Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetOptions.h121 : UnsafeFPMath(false), NoInfsFPMath(false), NoNaNsFPMath(false), in TargetOptions()
163 unsigned UnsafeFPMath : 1; variable
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetOptionsImpl.cpp54 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; in HonorSignDependentRoundingFPMath()
H A DCommandFlags.cpp556 Options.UnsafeFPMath = getEnableUnsafeFPMath(); in InitTargetOptionsFromCodeGenFlags()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DOSTargets.cpp187 const bool any_imprecise_flags = Opts.FastMath || Opts.UnsafeFPMath || in addVisualCDefines()
H A DARM.cpp1009 if (Opts.UnsafeFPMath) in getTargetDefines()
H A DAArch64.cpp470 if (Opts.UnsafeFPMath) in getTargetDefines()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp161 RESET_OPTION(UnsafeFPMath, "unsafe-fp-math"); in resetTargetOptions()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp227 (Options.UnsafeFPMath || isTargetDarwin())) in initSubtargetFeatures()
H A DARMAsmPrinter.cpp698 else if (!TM.Options.UnsafeFPMath) in emitAttributes()
733 else if (!TM.Options.UnsafeFPMath) { in emitAttributes()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp38 AllowFPReassoc = UnsafeFPMath; in resetNonModularOptions()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp56 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 DAMDGPUTargetTransformInfo.cpp600 Options.UnsafeFPMath || in getArithmeticInstrCost()
654 TLI->getTargetMachine().Options.UnsafeFPMath)) { in getArithmeticInstrCost()
H A DAMDGPUInstructions.td97 def UnsafeFPMath : Predicate<"TM.Options.UnsafeFPMath">;
H A DAMDGPULegalizerInfo.cpp3312 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 DAMDGPUISelLowering.cpp2636 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 DSIISelLowering.cpp7067 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 DAttributes.td411 def UnsafeFPMath : StrBoolAttr<"unsafe-fp-math">;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp422 Options.UnsafeFPMath = LangOpts.AllowFPReassoc && LangOpts.AllowRecip && in initTargetOptions()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.def192 LANGOPT(UnsafeFPMath , 1, 0, Compatible, "Unsafe Floating Point Math")
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp450 !(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 DDAGCombiner.cpp16951 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 DLegalizeDAG.cpp3860 if (!TLI.useSoftFloat() && TM.Options.UnsafeFPMath) { in ExpandNode()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5940 !(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 DAArch64InstrInfo.cpp6576 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 DNVPTXISelLowering.cpp4823 if (MF.getTarget().Options.UnsafeFPMath) in allowUnsafeFPMath()

12