Searched refs:denominator_coeffs (Results 1 – 2 of 2) sorted by relevance
47 static constexpr std::array<float, 4> denominator_coeffs{ in EmitFastTanh() local60 llvm::Value* denominator = llvm::ConstantFP::get(type, denominator_coeffs[0]); in EmitFastTanh()61 for (int i = 1; i < denominator_coeffs.size(); i++) { in EmitFastTanh()64 llvm::ConstantFP::get(type, denominator_coeffs[i])); in EmitFastTanh()
116 static constexpr std::array<float, 4> denominator_coeffs{ in emitApproximation() local134 loc, rewriter.getF32FloatAttr(denominator_coeffs[0])); in emitApproximation()135 for (int i = 1; i < denominator_coeffs.size(); i++) { in emitApproximation()139 loc, rewriter.getF32FloatAttr(denominator_coeffs[i]))); in emitApproximation()