aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2023-06-14 12:13:25 +0200
committerUros Bizjak <ubizjak@gmail.com>2023-06-18 17:05:17 +0200
commit47fa3cef59a031f1b0fdce309ff634fab717606d (patch)
tree80280aaa71b46492063b7a4e5abd472b2ff8e711 /gcc/tree-vectorizer.h
parent8a96f240d71d367a2955ab9e0f0fef3a0b0e2a74 (diff)
downloadgcc-47fa3cef59a031f1b0fdce309ff634fab717606d.zip
gcc-47fa3cef59a031f1b0fdce309ff634fab717606d.tar.gz
gcc-47fa3cef59a031f1b0fdce309ff634fab717606d.tar.bz2
RTL: Merge rtx_equal_p and hash_rtx functions with their callback variants
Use default argument when callback function is not required to merge rtx_equal_p and hash_rtx functions with their callback variants. gcc/ChangeLog: * cse.cc (hash_rtx_cb): Rename to hash_rtx. (hash_rtx): Remove. * early-remat.cc (remat_candidate_hasher::equal): Update to call rtx_equal_p with rtx_equal_p_callback_function argument. * rtl.cc (rtx_equal_p_cb): Rename to rtx_equal_p. (rtx_equal_p): Remove. * rtl.h (rtx_equal_p): Add rtx_equal_p_callback_function argument with NULL default value. (rtx_equal_p_cb): Remove function declaration. (hash_rtx_cb): Ditto. (hash_rtx): Add hash_rtx_callback_function argument with NULL default value. * sel-sched-ir.cc (free_nop_pool): Update function comment. (skip_unspecs_callback): Ditto. (vinsn_init): Update to call hash_rtx with hash_rtx_callback_function argument. (vinsn_equal_p): Ditto.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions