Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFMF.h42 ApproxFunc = (1 << 6), enumerator
70 bool approxFunc() const { return 0 != (Flags & ApproxFunc); } in approxFunc()
94 Flags = (Flags & ~ApproxFunc) | B * ApproxFunc;
115 AllowReassoc | AllowReciprocal | AllowContract | ApproxFunc; in intersectRewrite()
H A DOperator.h253 (SubclassOptionalData & ~FastMathFlags::ApproxFunc) |
254 (B * FastMathFlags::ApproxFunc);
293 (SubclassOptionalData & FastMathFlags::ApproxFunc) != 0);
329 return (SubclassOptionalData & FastMathFlags::ApproxFunc) != 0;
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DFlang.cpp611 bool ApproxFunc = false; in addFloatingPointOptions() local
669 ApproxFunc = true; in addFloatingPointOptions()
672 ApproxFunc = false; in addFloatingPointOptions()
699 ApproxFunc = true; in addFloatingPointOptions()
708 ApproxFunc = false; in addFloatingPointOptions()
734 ApproxFunc && !SignedZeros && in addFloatingPointOptions()
749 if (ApproxFunc) in addFloatingPointOptions()
H A DClang.cpp2781 bool ApproxFunc = false; in RenderFloatingPointOptions() local
2845 ApproxFunc = true; in RenderFloatingPointOptions()
2982 ApproxFunc = false; in RenderFloatingPointOptions()
3037 case options::OPT_fapprox_func: ApproxFunc = true; break; in RenderFloatingPointOptions()
3038 case options::OPT_fno_approx_func: ApproxFunc = false; break; in RenderFloatingPointOptions()
3192 ApproxFunc = true; in RenderFloatingPointOptions()
3203 ApproxFunc = false; in RenderFloatingPointOptions()
3229 ApproxFunc = false; in RenderFloatingPointOptions()
3255 SignedZeros && TrappingMath && RoundingFPMath && !ApproxFunc && in RenderFloatingPointOptions()
3286 if (ApproxFunc) in RenderFloatingPointOptions()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DOSTargets.cpp190 Opts.AllowRecip || Opts.ApproxFunc; in addVisualCDefines()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DLLVMBitCodes.h541 ApproxFunc = (1 << 6), enumerator
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.h923 setAllowApproxFunc(LO.ApproxFunc); in FPOptions()
H A DLangOptions.def200 LANGOPT(ApproxFunc , 1, 0, Benign, "Permit Floating Point approximation")
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp423 LangOpts.NoSignedZero && LangOpts.ApproxFunc && in initTargetOptions()
428 Options.ApproxFuncFPMath = LangOpts.ApproxFunc; in initTargetOptions()
H A DCGCall.cpp2014 if (LangOpts.ApproxFunc) in getTrivialDefaultFunctionAttributes()
2017 LangOpts.NoSignedZero && LangOpts.ApproxFunc && in getTrivialDefaultFunctionAttributes()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp652 if (getLangOpts().ApproxFunc) in ActOnPragmaFPEvalMethod()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h645 char ApproxFunc : 1; member
783 I.setHasApproxFunc(FMFs.ApproxFunc); in applyFlags()
H A DVPlanRecipes.cpp406 Res.setApproxFunc(FMFs.ApproxFunc); in getFastMathFlags()
1762 ApproxFunc = FMF.approxFunc(); in FastMathFlagsTy()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp659 if (LangOpts.ApproxFunc) in FixupInvocation()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1756 Flags |= bitc::ApproxFunc; in getOptimizationFlags()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1415 if (0 != (Val & bitc::ApproxFunc)) in getDecodedFastMathFlags()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td2725 defm approx_func : BoolFOption<"approx-func", LangOpts<"ApproxFunc">, DefaultFalse,