summaryrefslogtreecommitdiff
path: root/gcc/domwalk.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/domwalk.h')
-rw-r--r--gcc/domwalk.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/domwalk.h b/gcc/domwalk.h
index fbf549bbd98..44ea39676e9 100644
--- a/gcc/domwalk.h
+++ b/gcc/domwalk.h
@@ -105,6 +105,14 @@ struct dom_walk_data
/* Stack of available block local structures. */
varray_type free_block_data;
+
+ /* Interesting blocks to process. If this field is not NULL, this
+ set is used to determine which blocks to walk. If we encounter
+ block I in the dominator traversal, but block I is not present in
+ INTERESTING_BLOCKS, then none of the callback functions are
+ invoked on it. This is useful when a particular traversal wants
+ to filter out non-interesting blocks from the dominator tree. */
+ sbitmap interesting_blocks;
};
void walk_dominator_tree (struct dom_walk_data *, basic_block);