| 56 | template <typename BBType, typename SuccessorLambda, typename PreLambda, |
| 57 | typename PostLambda> |
| 58 | void DepthFirstSearch(const BBType* bb, SuccessorLambda successors, |
| 59 | PreLambda pre, PostLambda post) { |
| 60 | auto no_terminal_blocks = [](const BBType*) { return false; }; |
| 61 | CFA<BBType>::DepthFirstTraversal(bb, successors, pre, post, |
| 62 | no_terminal_blocks); |
| 63 | } |
| 64 | |
| 65 | // Wrapper around CFA::DepthFirstTraversal to provide an interface to perform |
| 66 | // depth first search on generic BasicBlock types. This overload is for only |
no outgoing calls
no test coverage detected