aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2021-10-29 17:28:41 +0200
committerAldy Hernandez <aldyh@redhat.com>2021-11-01 14:24:10 +0100
commit4e0f56d7af9dd58f74d67f9cb303936ef595cdf6 (patch)
tree3843dab1b4006ae7a2950039a9e40487fa494239 /gcc/cse.c
parent0187c03be31a58ba561d535687dc00c94f0ff1aa (diff)
downloadgcc-4e0f56d7af9dd58f74d67f9cb303936ef595cdf6.zip
gcc-4e0f56d7af9dd58f74d67f9cb303936ef595cdf6.tar.gz
gcc-4e0f56d7af9dd58f74d67f9cb303936ef595cdf6.tar.bz2
Move statics to threader pass class.
This patch moves all the static functions into the pass class, and cleans up things a little. The goal is to shuffle things around such that we can add debug counters that depend on different threading passes, but it's a clean-up on its own right. Tested on x86-64 Linux. gcc/ChangeLog: * tree-ssa-threadbackward.c (BT_NONE): New. (BT_SPEED): New. (BT_RESOLVE): New. (back_threader::back_threader): Add flags. Move loop initialization here. (back_threader::~back_threader): New. (back_threader::find_taken_edge_switch): Change solver and ranger to pointers. (back_threader::find_taken_edge_cond): Same. (back_threader::find_paths_to_names): Same. (back_threader::find_paths): Same. (back_threader::dump): Same. (try_thread_blocks): Merge into thread_blocks. (back_threader::thread_blocks): New. (do_early_thread_jumps): Merge into thread_blocks. (do_thread_jumps): Merge into thread_blocks. (back_threader::thread_through_all_blocks): Remove.
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions