]> git.ipfire.org Git - thirdparty/gcc.git/commit
PHIOPT: Rename tree_ssa_phiopt_worker to pass_phiopt::execute
authorAndrew Pinski <apinski@marvell.com>
Mon, 24 Apr 2023 16:40:35 +0000 (09:40 -0700)
committerAndrew Pinski <apinski@marvell.com>
Thu, 27 Apr 2023 15:00:24 +0000 (08:00 -0700)
commit4c728f20d30ff36807dcec3e7305632c57a6b12c
tree27d41342a3bf9d50b7781743d276d8fa6a59a163
parentb9fedabe381cce0b375383a746ab9fe983596bd9
PHIOPT: Rename tree_ssa_phiopt_worker to pass_phiopt::execute

Now that store elimination and phiopt does not
share outer code, we can move tree_ssa_phiopt_worker
directly into pass_phiopt::execute and remove
many declarations (prototypes) from the file.

gcc/ChangeLog:

* tree-ssa-phiopt.cc (two_value_replacement): Remove
prototype.
(match_simplify_replacement): Likewise.
(factor_out_conditional_conversion): Likewise.
(value_replacement): Likewise.
(minmax_replacement): Likewise.
(spaceship_replacement): Likewise.
(cond_removal_in_builtin_zero_pattern): Likewise.
(hoist_adjacent_loads): Likewise.
(tree_ssa_phiopt_worker): Move into ...
(pass_phiopt::execute): this.
gcc/tree-ssa-phiopt.cc