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.h46 ApproxFunc = (1 << 6) enumerator
71 bool approxFunc() const { return 0 != (Flags & ApproxFunc); } in approxFunc()
95 Flags = (Flags & ~ApproxFunc) | B * ApproxFunc;
H A DOperator.h255 (SubclassOptionalData & ~FastMathFlags::ApproxFunc) |
256 (B * FastMathFlags::ApproxFunc);
280 (SubclassOptionalData & FastMathFlags::ApproxFunc) != 0);
316 return (SubclassOptionalData & FastMathFlags::ApproxFunc) != 0;
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DFlang.cpp502 bool ApproxFunc = false; in addFloatingPointOptions() local
544 ApproxFunc = true; in addFloatingPointOptions()
547 ApproxFunc = false; in addFloatingPointOptions()
574 ApproxFunc = true; in addFloatingPointOptions()
583 ApproxFunc = false; in addFloatingPointOptions()
598 ApproxFunc && !SignedZeros && in addFloatingPointOptions()
613 if (ApproxFunc) in addFloatingPointOptions()
H A DClang.cpp2856 bool ApproxFunc = false; in RenderFloatingPointOptions() local
2899 ApproxFunc = true; in RenderFloatingPointOptions()
3017 ApproxFunc = false; in RenderFloatingPointOptions()
3061 case options::OPT_fapprox_func: ApproxFunc = true; break; in RenderFloatingPointOptions()
3062 case options::OPT_fno_approx_func: ApproxFunc = false; break; in RenderFloatingPointOptions()
3202 ApproxFunc = true; in RenderFloatingPointOptions()
3212 ApproxFunc = false; in RenderFloatingPointOptions()
3241 ApproxFunc = false; in RenderFloatingPointOptions()
3263 SignedZeros && TrappingMath && RoundingFPMath && !ApproxFunc && in RenderFloatingPointOptions()
3289 if (ApproxFunc) in RenderFloatingPointOptions()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DLLVMBitCodes.h515 ApproxFunc = (1 << 6), enumerator
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.h821 setAllowApproxFunc(LO.ApproxFunc); in FPOptions()
H A DLangOptions.def236 BENIGN_LANGOPT(ApproxFunc , 1, 0, "Permit Floating Point approximation")
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp387 LangOpts.NoSignedZero && LangOpts.ApproxFunc && in initTargetOptions()
392 Options.ApproxFuncFPMath = LangOpts.ApproxFunc; in initTargetOptions()
H A DCGCall.cpp1917 if (LangOpts.ApproxFunc) in getTrivialDefaultFunctionAttributes()
1920 LangOpts.NoSignedZero && LangOpts.ApproxFunc && in getTrivialDefaultFunctionAttributes()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp551 if (getLangOpts().ApproxFunc) in ActOnPragmaFPEvalMethod()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp326 Res.setApproxFunc(FMFs.ApproxFunc); in getFastMathFlags()
1004 ApproxFunc = FMF.approxFunc(); in FastMathFlagsTy()
H A DVPlan.h1009 char ApproxFunc : 1; member
1174 I->setHasApproxFunc(FMFs.ApproxFunc); in setFlags()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp765 Flags |= bitc::ApproxFunc; in getOptimizationFlags()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp655 if (LangOpts.ApproxFunc) in FixupInvocation()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1688 Flags |= bitc::ApproxFunc; in getOptimizationFlags()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1400 if (0 != (Val & bitc::ApproxFunc)) in getDecodedFastMathFlags()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td2607 defm approx_func : BoolFOption<"approx-func", LangOpts<"ApproxFunc">, DefaultFalse,