SPIRV-Tools/test/opt/dominator_tree
Victor Lomuller e8ad02f3dd Add loop descriptors and some required dominator tree extensions.
Add post-order tree iterator.

Add DominatorTreeNode extensions:
 - Add begin/end methods to do pre-order and post-order tree traversal from a given DominatorTreeNode

Add DominatorTree extensions:
  - Add begin/end methods to do pre-order and post-order tree traversal
  - Tree traversal ignore by default the pseudo entry block
  - Retrieve a DominatorTreeNode from a basic block

Add loop descriptor:
  - Add a LoopDescriptor class to register all loops in a given function.
  - Add a Loop class to describe a loop:
    - Loop parent
    - Nested loops
    - Loop depth
    - Loop header, merge, continue and preheader
    - Basic blocks that belong to the loop

Correct a bug that forced dominator tree to be constantly rebuilt.
2018-01-08 09:31:13 -05:00
..
CMakeLists.txt Dominator Tree Analysis (#3) 2017-12-05 22:59:43 -05:00
generated.cpp Add loop descriptors and some required dominator tree extensions. 2018-01-08 09:31:13 -05:00
nested_ifs_post.cpp Dominator Tree Analysis (#3) 2017-12-05 22:59:43 -05:00
nested_ifs.cpp Dominator Tree Analysis (#3) 2017-12-05 22:59:43 -05:00
nested_loops_with_unreachables.cpp Dominator Tree Analysis (#3) 2017-12-05 22:59:43 -05:00
nested_loops.cpp Dominator Tree Analysis (#3) 2017-12-05 22:59:43 -05:00
post.cpp Dominator Tree Analysis (#3) 2017-12-05 22:59:43 -05:00
simple.cpp Dominator Tree Analysis (#3) 2017-12-05 22:59:43 -05:00
switch_case_fallthrough.cpp Dominator Tree Analysis (#3) 2017-12-05 22:59:43 -05:00
unreachable_for_post.cpp Dominator Tree Analysis (#3) 2017-12-05 22:59:43 -05:00
unreachable_for.cpp Dominator Tree Analysis (#3) 2017-12-05 22:59:43 -05:00