* hash-set.h (hash_set::empty): New.
commitce73fd507bf40f36824bfc593f45c08d655bc853
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Nov 2017 07:35:18 +0000 (18 07:35 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Nov 2017 07:35:18 +0000 (18 07:35 +0000)
treeb5e137d10e39d84e2c7bf7e20768a34595c91cd5
parent3160a5d485e787f593855c83ded79fda4f5da44e
* hash-set.h (hash_set::empty): New.
* tree-ssa-threadbackward.h: Delete.
* tree-ssa-threadbackward.c (class thread_jumps): New.
Move max_threaded_paths into class.
(fsm_find_thread_path): Remove arguments that are now in class.
(profitable_jump_thread_path): Rename to...
(thread_jumps::profitable_jump_thread_path): ...this.
(convert_and_register_jump_thread_path): Rename to...
(thread_jumps::convert_and_register_current_path): ...this.
(check_subpath_and_update_thread_path): Rename to...
(thread_jumps::check_subpath_and_update_thread_path): ...this.
(register_jump_thread_path_if_profitable): Rename to...
(thread_jumps::register_jump_thread_path_if_profitable): ...this.
(handle_phi): Rename to...
(thread_jumps::handle_phi): ...this.
(handle_assignment): Rename to...
(thread_jumps::handle_assignment): ...this.
(fsm_find_control_statement_thread_paths): Rename to...
(thread_jumps::fsm_find_control_statement_thread_paths): ...this.
(find_jump_threads_backwards): Rename to...
(thread_jumps::find_jump_threads_backwards): ...this.
Initialize path local data.
(pass_thread_jumps::execute): Call find_jump_threads_backwards
from within thread_jumps class.
(pass_early_thread_jumps::execute): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254913 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/hash-set.h
gcc/tree-ssa-threadbackward.c
gcc/tree-ssa-threadbackward.h [deleted file]