Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/
DTargetOptionsImpl.cpp42 return UnsafeFPMath || LessPreciseFPMADOption; in LessPreciseFPMAD()
48 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; in HonorSignDependentRoundingFPMath()
/external/llvm/include/llvm/Target/
DTargetOptions.h96 UnsafeFPMath(false), NoInfsFPMath(false), NoNaNsFPMath(false), in TargetOptions()
133 unsigned UnsafeFPMath : 1; variable
271 ARE_EQUAL(UnsafeFPMath) &&
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetMachine.cpp32 bool UnsafeFPMath; variable
80 cl::location(UnsafeFPMath),
270 bool LessPreciseFPMAD() { return UnsafeFPMath || LessPreciseFPMADOption; } in LessPreciseFPMAD()
275 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; in HonorSignDependentRoundingFPMath()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetOptions.h72 extern bool UnsafeFPMath;
/external/llvm/lib/Target/
DTargetMachine.cpp77 RESET_OPTION(UnsafeFPMath, "unsafe-fp-math"); in resetTargetOptions()
/external/llvm/lib/Target/ARM/
DARMSubtarget.cpp199 (Options.UnsafeFPMath || isTargetDarwin())) in initSubtargetFeatures()
DARMSubtarget.h300 bool UnsafeFPMath = false; variable
DARMAsmPrinter.cpp743 if (!TM.Options.UnsafeFPMath) { in emitAttributes()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.cpp91 tOpts.UnsafeFPMath = true; in JitManager()
/external/llvm/include/llvm/CodeGen/
DCommandFlags.h292 Options.UnsafeFPMath = EnableUnsafeFPMath; in InitTargetOptionsFromCodeGenFlags()
/external/clang/lib/CodeGen/
DBackendUtil.cpp622 Options.UnsafeFPMath = CodeGenOpts.UnsafeFPMath; in CreateTargetMachine()
/external/llvm/include/llvm/IR/
DAttributes.td180 def UnsafeFPMath : StrBoolAttr<"unsafe-fp-math">;
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td47 def UnsafeFPMath : Predicate<"TM.Options.UnsafeFPMath">;
DSIISelLowering.cpp2121 bool Unsafe = DAG.getTarget().Options.UnsafeFPMath; in LowerFastFDIV()
2226 if (DAG.getTarget().Options.UnsafeFPMath) in LowerFDIV64()
/external/clang/include/clang/Frontend/
DCodeGenOptions.def164 CODEGENOPT(UnsafeFPMath , 1, 0) ///< Allow unsafe floating point optzns.
/external/clang/include/clang/Basic/
DLangOptions.def167 COMPATIBLE_LANGOPT(UnsafeFPMath , 1, 0, "Unsafe Floating Point Math")
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp387 if (!UnsafeFPMath) return 0; in isNegatibleForFree()
396 if (!UnsafeFPMath) return 0; in isNegatibleForFree()
438 assert(UnsafeFPMath); in GetNegatedExpression()
453 assert(UnsafeFPMath); in GetNegatedExpression()
5250 if (UnsafeFPMath && N1CFP && N1CFP->getValueAPF().isZero()) in visitFADD()
5262 if (UnsafeFPMath && N1CFP && N0.getOpcode() == ISD::FADD && in visitFADD()
5288 if (UnsafeFPMath && N1CFP && N1CFP->getValueAPF().isZero()) in visitFSUB()
5291 if (UnsafeFPMath && N0CFP && N0CFP->getValueAPF().isZero()) { in visitFSUB()
5325 if (UnsafeFPMath && N1CFP && N1CFP->getValueAPF().isZero()) in visitFMUL()
5328 if (UnsafeFPMath && ISD::isBuildVectorAllZeros(N1.getNode())) in visitFMUL()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp607 if (!Options->UnsafeFPMath) return 0; in isNegatibleForFree()
623 if (!Options->UnsafeFPMath) return 0; in isNegatibleForFree()
671 assert(Options.UnsafeFPMath); in GetNegatedExpression()
687 assert(Options.UnsafeFPMath); in GetNegatedExpression()
5231 if (Options.UnsafeFPMath && in visitSELECT()
7769 (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath); in visitFADDForFMACombine()
7957 (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath); in visitFSUBForFMACombine()
8227 (Options.AllowFPOpFusion == FPOpFusion::Fast || Options.UnsafeFPMath); in visitFMULForFMACombine()
8334 if (Options.UnsafeFPMath) { in visitFADD()
8471 if (Options.UnsafeFPMath) { in visitFSUB()
[all …]
/external/clang/lib/Frontend/
DCompilerInvocation.cpp585 Opts.UnsafeFPMath = Args.hasArg(OPT_menable_unsafe_fp_math) || in ParseCodeGenArgs()
2125 Opts.UnsafeFPMath = Args.hasArg(OPT_menable_unsafe_fp_math) || in ParseLangArgs()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp609 if (!UnsafeFPMath) { in X86TargetLowering()
624 if (!UnsafeFPMath) { in X86TargetLowering()
662 if (!UnsafeFPMath) { in X86TargetLowering()
12663 if (!UnsafeFPMath && in PerformSELECTCombine()
12673 if (!UnsafeFPMath && in PerformSELECTCombine()
12691 if (!UnsafeFPMath && in PerformSELECTCombine()
12701 if (!UnsafeFPMath && in PerformSELECTCombine()
12727 if (!UnsafeFPMath && in PerformSELECTCombine()
12737 if (!UnsafeFPMath && in PerformSELECTCombine()
12762 if (!UnsafeFPMath && in PerformSELECTCombine()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2835 return Inst.getParent()->getParent()->getTarget().Options.UnsafeFPMath; in isCombineInstrCandidateFP()
2912 return Inst.getParent()->getParent()->getTarget().Options.UnsafeFPMath; in isAssociativeAndCommutative()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMAsmPrinter.cpp743 if (!UnsafeFPMath) { in emitAttributes()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp242 if (!Root.getParent()->getParent()->getTarget().Options.UnsafeFPMath) in getMachineCombinerPatterns()
DPPCISelLowering.cpp190 !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTE() && in PPCTargetLowering()
195 !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTES() && in PPCTargetLowering()
532 if (TM.Options.UnsafeFPMath || Subtarget.hasVSX()) { in PPCTargetLowering()
815 if (TM.Options.UnsafeFPMath) { in PPCTargetLowering()
882 if (TM.Options.UnsafeFPMath) { in PPCTargetLowering()
6678 !DAG.getTarget().Options.UnsafeFPMath) { in LowerINT_TO_FP()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp70 if (TM.Options.UnsafeFPMath) in getDivF32Level()
83 return !TM.Options.UnsafeFPMath; in usePrecSqrtF32()

12