Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFMF.h46 ApproxFunc = (1 << 6) enumerator
71 bool approxFunc() const { return 0 != (Flags & ApproxFunc); } in approxFunc()
95 Flags = (Flags & ~ApproxFunc) | B * ApproxFunc;
H A DOperator.h223 (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | in setHasApproxFunc()
224 (B * FastMathFlags::ApproxFunc); in setHasApproxFunc()
248 (SubclassOptionalData & FastMathFlags::ApproxFunc) != 0); in isFast()
284 return (SubclassOptionalData & FastMathFlags::ApproxFunc) != 0; in hasApproxFunc()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DFlang.cpp490 bool ApproxFunc = false; in addFloatingPointOptions() local
532 ApproxFunc = true; in addFloatingPointOptions()
535 ApproxFunc = false; in addFloatingPointOptions()
562 ApproxFunc = true; in addFloatingPointOptions()
571 ApproxFunc = false; in addFloatingPointOptions()
586 ApproxFunc && !SignedZeros && in addFloatingPointOptions()
601 if (ApproxFunc) in addFloatingPointOptions()
H A DClang.cpp2745 bool ApproxFunc = false; in RenderFloatingPointOptions() local
2816 ApproxFunc = false; in RenderFloatingPointOptions()
2878 case options::OPT_fapprox_func: ApproxFunc = true; break; in RenderFloatingPointOptions()
2879 case options::OPT_fno_approx_func: ApproxFunc = false; break; in RenderFloatingPointOptions()
3034 ApproxFunc = true; in RenderFloatingPointOptions()
3044 ApproxFunc = false; in RenderFloatingPointOptions()
3071 ApproxFunc = true; in RenderFloatingPointOptions()
3093 ApproxFunc = false; in RenderFloatingPointOptions()
3111 SignedZeros && TrappingMath && RoundingFPMath && !ApproxFunc && in RenderFloatingPointOptions()
3139 if (ApproxFunc) in RenderFloatingPointOptions()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DOSTargets.cpp179 Opts.NoSignedZero || Opts.AllowRecip || Opts.ApproxFunc; in addVisualCDefines()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DLLVMBitCodes.h504 ApproxFunc = (1 << 6), enumerator
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.h779 setAllowApproxFunc(LO.ApproxFunc); in FPOptions()
H A DLangOptions.def222 BENIGN_LANGOPT(ApproxFunc , 1, 0, "Permit Floating Point approximation")
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp378 LangOpts.NoSignedZero && LangOpts.ApproxFunc && in initTargetOptions()
383 Options.ApproxFuncFPMath = LangOpts.ApproxFunc; in initTargetOptions()
H A DCGCall.cpp1938 if (LangOpts.ApproxFunc) in getTrivialDefaultFunctionAttributes()
1941 LangOpts.NoSignedZero && LangOpts.ApproxFunc && in getTrivialDefaultFunctionAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp252 Res.setApproxFunc(FMFs.ApproxFunc); in getFastMathFlags()
711 ApproxFunc = FMF.approxFunc(); in FastMathFlagsTy()
H A DVPlan.h931 char ApproxFunc : 1; member
1076 I->setHasApproxFunc(FMFs.ApproxFunc); in setFlags()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp538 if (getLangOpts().ApproxFunc) in ActOnPragmaFPEvalMethod()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp766 Flags |= bitc::ApproxFunc; in getOptimizationFlags()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp631 if (LangOpts.ApproxFunc) in FixupInvocation()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1596 Flags |= bitc::ApproxFunc; in getOptimizationFlags()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1341 if (0 != (Val & bitc::ApproxFunc)) in getDecodedFastMathFlags()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td2490 defm approx_func : BoolFOption<"approx-func", LangOpts<"ApproxFunc">, DefaultFalse,