SPIRV-Tools/source/val
David Neto c978b72477 Fix infinite loop in dominance calculation.
Ensure the dominance calculation visits all nodes in the CFG.
The successor list of the pseudo-entry node is augmented with
a single node in each cycle that otherwise would not be visited.
Similarly, the predecssors list of the pseduo-exit node is augmented
with the a single node in each cycle that otherwise would not
be visited.

Pulls DepthFirstSearch out so it's accessible outside of the dominator
calculation.

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/279
2016-07-28 16:40:55 -04:00
..
BasicBlock.cpp Fix infinite loop in dominance calculation. 2016-07-28 16:40:55 -04:00
BasicBlock.h Fix infinite loop in dominance calculation. 2016-07-28 16:40:55 -04:00
Construct.cpp Fix several violations of the style guide 2016-06-27 10:45:46 -04:00
Construct.h Fix several violations of the style guide 2016-06-27 10:45:46 -04:00
Function.cpp Fix infinite loop in dominance calculation. 2016-07-28 16:40:55 -04:00
Function.h Fix infinite loop in dominance calculation. 2016-07-28 16:40:55 -04:00
Id.cpp Refactor IDs definition and use tracking 2016-07-26 13:36:41 -04:00
Id.h Refactor IDs definition and use tracking 2016-07-26 13:36:41 -04:00
ValidationState.cpp Refactor IDs definition and use tracking 2016-07-26 13:36:41 -04:00
ValidationState.h Refactor IDs definition and use tracking 2016-07-26 13:36:41 -04:00