Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/llvm/include/llvm/Target/
H A DTargetOptions.h127 : UnsafeFPMath(false), NoInfsFPMath(false), NoNaNsFPMath(false), in TargetOptions()
163 unsigned UnsafeFPMath : 1; variable
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DTargetOptionsImpl.cpp45 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; in HonorSignDependentRoundingFPMath()
H A DCommandFlags.cpp520 Options.UnsafeFPMath = getEnableUnsafeFPMath(); in InitTargetOptionsFromCodeGenFlags()
/openbsd/gnu/llvm/llvm/lib/Target/
H A DTargetMachine.cpp59 RESET_OPTION(UnsafeFPMath, "unsafe-fp-math"); in resetTargetOptions()
/openbsd/gnu/llvm/clang/lib/Basic/Targets/
H A DOSTargets.cpp170 Opts.FastMath || Opts.FiniteMathOnly || Opts.UnsafeFPMath || in addVisualCDefines()
H A DAArch64.cpp384 if (Opts.UnsafeFPMath) in getTargetDefines()
H A DARM.cpp929 if (Opts.UnsafeFPMath) in getTargetDefines()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp247 (Options.UnsafeFPMath || isTargetDarwin())) in initSubtargetFeatures()
H A DARMAsmPrinter.cpp672 else if (!TM.Options.UnsafeFPMath) in emitAttributes()
707 else if (!TM.Options.UnsafeFPMath) { in emitAttributes()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructions.td116 def UnsafeFPMath : Predicate<"TM.Options.UnsafeFPMath">;
H A DAMDGPUTargetTransformInfo.cpp587 Options.UnsafeFPMath || in getArithmeticInstrCost()
H A DSIInstructions.td957 let OtherPredicates = [UnsafeFPMath] in {
973 } // End OtherPredicates = [UnsafeFPMath]
H A DAMDGPULegalizerInfo.cpp3737 bool AllowInaccurateRcp = MF.getTarget().Options.UnsafeFPMath || in legalizeFastUnsafeFDIV()
3786 bool AllowInaccurateRcp = MF.getTarget().Options.UnsafeFPMath || in legalizeFastUnsafeFDIV64()
H A DSIISelLowering.cpp8936 DAG.getTarget().Options.UnsafeFPMath; in lowerFastUnsafeFDIV64()
10947 if ((Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath || in getFusedOpcode()
11370 if (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath || in performFMACombine()
H A DAMDGPUISelLowering.cpp2720 if (getTargetMachine().Options.UnsafeFPMath) { in LowerFP_TO_FP16()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DAttributes.td315 def UnsafeFPMath : StrBoolAttr<"unsafe-fp-math">;
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DBackendUtil.cpp401 Options.UnsafeFPMath = LangOpts.AllowFPReassoc && LangOpts.AllowRecip && in initTargetOptions()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DLangOptions.def211 COMPATIBLE_LANGOPT(UnsafeFPMath , 1, 0, "Unsafe Floating Point Math")
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp98 if (getTargetMachine().Options.UnsafeFPMath) in getDivF32Level()
111 return !getTargetMachine().Options.UnsafeFPMath; in usePrecSqrtF32()
4637 if (MF.getTarget().Options.UnsafeFPMath) in allowUnsafeFPMath()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp14613 Options.UnsafeFPMath || HasFMAD); in visitFADDForFMACombine()
14836 Options.UnsafeFPMath || HasFMAD); in visitFSUBForFMACombine()
15154 bool HasFMAD = Options.UnsafeFPMath && in visitFMULForFMADistributiveCombine()
15308 if (((Options.UnsafeFPMath && Options.NoSignedZerosFPMath) || in visitFADD()
15495 if (((Options.UnsafeFPMath && Options.NoSignedZerosFPMath) || in visitFSUB()
15550 if (Options.UnsafeFPMath || Flags.hasAllowReassociation()) { in visitFMUL()
15697 if (Options.UnsafeFPMath) { in visitFMA()
15791 bool UnsafeMath = DAG.getTarget().Options.UnsafeFPMath; in combineRepeatedFPDivisors()
15887 if (Options.UnsafeFPMath || Flags.hasAllowReciprocal()) { in visitFDIV()
15981 (Options.UnsafeFPMath || Flags.hasAllowReassociation())) in visitFDIV()
[all …]
H A DLegalizeDAG.cpp3275 if (!TLI.useSoftFloat() && TM.Options.UnsafeFPMath) { in ExpandNode()
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5324 !(Options.UnsafeFPMath || MI.getFlag(MachineInstr::MIFlag::FmReassoc))) in canCombineFMadOrFMA()
5337 Options.UnsafeFPMath || HasFMAD; in canCombineFMadOrFMA()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp426 !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTE() && in PPCTargetLowering()
431 !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTES() && in PPCTargetLowering()
549 if (TM.Options.UnsafeFPMath) { in PPCTargetLowering()
1004 if (TM.Options.UnsafeFPMath) { in PPCTargetLowering()
8562 !DAG.getTarget().Options.UnsafeFPMath) { in LowerINT_TO_FP()
16988 (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath)); in isProfitableToHoist()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp4885 return Options.UnsafeFPMath || in isCombineInstrCandidateFP()
4991 return Inst.getParent()->getParent()->getTarget().Options.UnsafeFPMath || in isAssociativeAndCommutative()
H A DAArch64ISelLowering.cpp9159 if (DAG.getTarget().Options.UnsafeFPMath) { in LowerSELECT_CC()
13647 Options.UnsafeFPMath)); in isProfitableToHoist()

12