Home
last modified time | relevance | path

Searched refs:ApproxFunc (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DFMF.h47 ApproxFunc = (1 << 6) enumerator
72 bool approxFunc() const { return 0 != (Flags & ApproxFunc); } in approxFunc()
96 Flags = (Flags & ~ApproxFunc) | B * ApproxFunc;
H A DOperator.h220 (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | in setHasApproxFunc()
221 (B * FastMathFlags::ApproxFunc); in setHasApproxFunc()
245 (SubclassOptionalData & FastMathFlags::ApproxFunc) != 0); in isFast()
281 return (SubclassOptionalData & FastMathFlags::ApproxFunc) != 0; in hasApproxFunc()
/llvm-project-15.0.7/llvm/include/llvm/Bitcode/
H A DLLVMBitCodes.h483 ApproxFunc = (1 << 6), enumerator
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DLangOptions.h681 setAllowApproxFunc(LO.ApproxFunc); in FPOptions()
H A DLangOptions.def216 BENIGN_LANGOPT(ApproxFunc , 1, 0, "Permit Floating Point approximation")
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DClang.cpp2746 bool ApproxFunc = false; in RenderFloatingPointOptions() local
2855 case options::OPT_fapprox_func: ApproxFunc = true; break; in RenderFloatingPointOptions()
2856 case options::OPT_fno_approx_func: ApproxFunc = false; break; in RenderFloatingPointOptions()
2984 ApproxFunc = true; in RenderFloatingPointOptions()
2992 ApproxFunc = false; in RenderFloatingPointOptions()
3012 ApproxFunc = true; in RenderFloatingPointOptions()
3028 ApproxFunc = false; in RenderFloatingPointOptions()
3047 SignedZeros && TrappingMath && RoundingFPMath && !ApproxFunc && in RenderFloatingPointOptions()
3073 if (ApproxFunc) in RenderFloatingPointOptions()
3080 ApproxFunc && !TrappingMath) in RenderFloatingPointOptions()
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DBackendUtil.cpp395 Options.ApproxFuncFPMath = LangOpts.ApproxFunc; in initTargetOptions()
H A DCGCall.cpp1861 if (LangOpts.ApproxFunc) in getDefaultFunctionAttributes()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAttr.cpp537 if (getLangOpts().ApproxFunc) in ActOnPragmaFPEvalMethod()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp794 Flags |= bitc::ApproxFunc; in getOptimizationFlags()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DCompilerInvocation.cpp529 if (LangOpts.ApproxFunc) in FixupInvocation()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1514 Flags |= bitc::ApproxFunc; in getOptimizationFlags()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1295 if (0 != (Val & bitc::ApproxFunc)) in getDecodedFastMathFlags()
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DOptions.td1879 defm approx_func : BoolFOption<"approx-func", LangOpts<"ApproxFunc">, DefaultFalse,