Searched refs:create_const_op (Results 1 – 1 of 1) sorted by relevance
573 auto create_const_op = [&rewriter, loc, tensor_type, in matchAndRewrite() local580 Value one_half = create_const_op(0.5); in matchAndRewrite()581 Value one = create_const_op(1.0); in matchAndRewrite()582 Value infinity = create_const_op(std::numeric_limits<double>::infinity()); in matchAndRewrite()583 Value pi = create_const_op(M_PI); in matchAndRewrite()584 Value log_pi = create_const_op(std::log(M_PI)); in matchAndRewrite()585 Value log_sqrt_two_pi = create_const_op((std::log(2) + std::log(M_PI)) / 2); in matchAndRewrite()586 Value lanczos_gamma_plus_one_half = create_const_op(kLanczosGamma + 0.5); in matchAndRewrite()588 create_const_op(std::log(kLanczosGamma + 0.5)); in matchAndRewrite()589 Value base_lanczos_coeff = create_const_op(kBaseLanczosCoeff); in matchAndRewrite()[all …]