MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / DepthFirstSearchPostOrder

Function DepthFirstSearchPostOrder

source/opt/dominator_tree.cpp:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74// called on each node traversed after their children.
75template <typename BBType, typename SuccessorLambda, typename PostLambda>
76void DepthFirstSearchPostOrder(const BBType* bb, SuccessorLambda successors,
77 PostLambda post) {
78 // Ignore preorder operation.
79 auto nop_preorder = [](const BBType*) {};
80 DepthFirstSearch(bb, successors, nop_preorder, post);
81}
82
83// Small type trait to get the function class type.
84template <typename BBType>

Callers 1

GetDominatorEdgesMethod · 0.85

Calls 1

DepthFirstSearchFunction · 0.85

Tested by

no test coverage detected