diff options
author | Tamar Christina <tamar.christina@arm.com> | 2020-09-30 14:46:16 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2020-09-30 14:47:20 +0100 |
commit | aa248b8db9a7594fcc84e52a84d56526d4284ca8 (patch) | |
tree | 9fef7228a206707c269500f357d09b1aa06a14ef /gcc/tree-ssa-threadupdate.c | |
parent | 734eed68537a1a9eed43a4e409da527474fbf63d (diff) | |
download | gcc-aa248b8db9a7594fcc84e52a84d56526d4284ca8.zip gcc-aa248b8db9a7594fcc84e52a84d56526d4284ca8.tar.gz gcc-aa248b8db9a7594fcc84e52a84d56526d4284ca8.tar.bz2 |
middle-end: Refactor refcnt to use SLP_TREE_REF_COUNT for consistency
This is a small refactoring which introduces SLP_TREE_REF_COUNT and replaces
the uses of refcnt with it. This for consistency between the other properties.
A similar patch was pre-approved last year but since there are more use now I am
sending it for review anyway.
gcc/ChangeLog:
* tree-vectorizer.h (SLP_TREE_REF_COUNT): New.
* tree-vect-slp.c (_slp_tree::_slp_tree, _slp_tree::~_slp_tree,
vect_free_slp_tree, vect_build_slp_tree, vect_print_slp_tree,
slp_copy_subtree, vect_attempt_slp_rearrange_stmts): Use it.
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
0 files changed, 0 insertions, 0 deletions