diff options
author | Hans-Kristian Arntzen <hans-kristian.arntzen@arm.com> | 2016-11-18 11:59:54 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <hans-kristian.arntzen@arm.com> | 2016-11-18 11:59:54 +0300 |
commit | 0c9683cd850f792d54dacc11621e3ba344a30f7f (patch) | |
tree | ac4ec4e742d8ba28af015e0b926fbf7830dad10b /spirv_cfg.hpp | |
parent | edbe867b7474f6ebf859e3289fd7398c67f5b6f3 (diff) |
Distinguish between cross edges and back edges.
Handle the weird opcodes CopyMemory/CopyObject.
Diffstat (limited to 'spirv_cfg.hpp')
-rw-r--r-- | spirv_cfg.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spirv_cfg.hpp b/spirv_cfg.hpp index 736f2d3b..e94cb229 100644 --- a/spirv_cfg.hpp +++ b/spirv_cfg.hpp @@ -59,6 +59,7 @@ private: uint32_t visit_count = 0; uint32_t update_common_dominator(uint32_t a, uint32_t b); + bool is_back_edge(uint32_t to) const; }; class DominatorBuilder |