Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp279 FastMathFlags SqrtFMF) const;
282 FastMathFlags DivFMF, FastMathFlags SqrtFMF,
291 FastMathFlags DivFMF, FastMathFlags SqrtFMF,
892 FastMathFlags SqrtFMF) const { in canOptimizeWithRsq()
894 if (!DivFMF.allowContract() || !SqrtFMF.allowContract()) in canOptimizeWithRsq()
898 return SqrtFMF.approxFunc() || HasUnsafeFPMath || in canOptimizeWithRsq()
904 const FastMathFlags SqrtFMF, const Instruction *CtxI) const { in optimizeWithRsq() argument
906 assert(DivFMF.allowContract() && SqrtFMF.allowContract()); in optimizeWithRsq()
923 Builder.setFastMathFlags(DivFMF | SqrtFMF); in optimizeWithRsq()
925 if ((DivFMF.approxFunc() && SqrtFMF.approxFunc()) || HasUnsafeFPMath || in optimizeWithRsq()
[all …]