Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetOptions.h137 : UnsafeFPMath(false), NoInfsFPMath(false), NoNaNsFPMath(false), in TargetOptions()
172 unsigned UnsafeFPMath : 1; variable
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetOptionsImpl.cpp45 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; in HonorSignDependentRoundingFPMath()
H A DCommandFlags.cpp543 Options.UnsafeFPMath = getEnableUnsafeFPMath(); in InitTargetOptionsFromCodeGenFlags()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp114 RESET_OPTION(UnsafeFPMath, "unsafe-fp-math"); in resetTargetOptions()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/
H A DOSTargets.cpp177 Opts.FastMath || Opts.FiniteMathOnly || Opts.UnsafeFPMath || in addVisualCDefines()
H A DARM.cpp1002 if (Opts.UnsafeFPMath) in getTargetDefines()
H A DAArch64.cpp403 if (Opts.UnsafeFPMath) in getTargetDefines()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp36 AllowFPReassoc = UnsafeFPMath; in resetNonModularOptions()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp248 (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-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp59 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 DAMDGPUTargetTransformInfo.cpp601 Options.UnsafeFPMath || in getArithmeticInstrCost()
655 TLI->getTargetMachine().Options.UnsafeFPMath)) { in getArithmeticInstrCost()
H A DAMDGPUInstructions.td119 def UnsafeFPMath : Predicate<"TM.Options.UnsafeFPMath">;
H A DAMDGPULegalizerInfo.cpp3158 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 DAMDGPUISelLowering.cpp2538 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 DSIISelLowering.cpp10264 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 DAttributes.td333 def UnsafeFPMath : StrBoolAttr<"unsafe-fp-math">;
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp377 Options.UnsafeFPMath = LangOpts.AllowFPReassoc && LangOpts.AllowRecip && in initTargetOptions()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.def214 COMPATIBLE_LANGOPT(UnsafeFPMath , 1, 0, "Unsafe Floating Point Math")
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp15588 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 DLegalizeDAG.cpp3646 if (!TLI.useSoftFloat() && TM.Options.UnsafeFPMath) { in ExpandNode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp106 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 DCombinerHelper.cpp5419 !(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 DPPCISelLowering.cpp432 !(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 DAArch64InstrInfo.cpp5865 return Options.UnsafeFPMath || in isCombineInstrCandidateFP()
5971 return Inst.getParent()->getParent()->getTarget().Options.UnsafeFPMath || in isAssociativeAndCommutative()

12