diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2022-04-04 13:19:39 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2022-04-04 17:27:17 +0300 |
commit | dfa103fe8197e82d95bd105dde70ca392753008d (patch) | |
tree | 9542cce0de7c62a5dca990cf073d8cf4e53b5eb1 /node.hpp | |
parent | 0527a47462126fe6cf20c8817b4797658d0ef688 (diff) |
Do not explicitly check if block is load bearing.
This is handled by the appropriate functions implicitly.
We don't want to consider load bearing for loop break blocks, since that
check is much stronger than for selection constructs.
Diffstat (limited to 'node.hpp')
-rw-r--r-- | node.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -92,6 +92,7 @@ private: const CFGNode *get_innermost_loop_header_for(const CFGNode *other) const; bool branchless_path_to(const CFGNode *to) const; bool post_dominates(const CFGNode *other) const; + bool post_dominates_perfect_structured_construct() const; bool dominates_all_reachable_exits() const; static CFGNode *find_common_dominator(CFGNode *a, CFGNode *b); static CFGNode *find_common_post_dominator(CFGNode *a, CFGNode *b); |