inal_value (class loop *, tree, bool *, bool);
+extern void apply_scev_final_value_replacement (gphi *, tree, bool, bool);
extern bool final_value_replacement_loop (class loop *);
-extern unsigned int scev_const_prop (void);
extern bool expression_expensive_p (tree, bool *);
extern bool
On Fri, Dec 6, 2024 at 2:56 PM Feng Xue OS wrote:
>
> This patch refactors the procedure in tree-scalar-evolution.cc in order to
> partially export its functionality to other module, so decomposes it to
> several relatively independent utility functions.
>
> Thanks,
> Feng
> ---
> gcc/
>
e iterator before the PHI is removed. */
+ gsi_next (&psi);
+ apply_scev_final_value_replacement (phi, def, rewrite_overflow, true);
+
if (dump_file)
{
fprintf (dump_file, " final stmt:\n ");
--
2.17.1From 621e05c9013f1e8e116f7b348383634af59e3202