Hi All, This is a small refactoring which exposes some helper functions in the vectorizer so they can be used in other places. Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. Ok for master? Thanks, Tamar gcc/ChangeLog: * tree-vect-patterns.c (vect_mark_pattern_stmts): Remove static. * tree-vect-slp.c (vect_free_slp_tree, vect_build_slp_tree): Remove static. (struct bst_traits, bst_traits::hash, bst_traits::equal): Move... * tree-vectorizer.h (struct bst_traits, bst_traits::hash, bst_traits::equal): ... to here. (vect_mark_pattern_stmts, vect_free_slp_tree, vect_build_slp_tree): Declare. --