llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
#include <passes/pta/scc.h>
Public Types | |
using | SetIter = std::vector< std::unique_ptr< SetNode > >::iterator |
using | Group = std::vector< GraphNode * > |
Public Member Functions | |
SCCSolver (Graph *graph) | |
Initialises the SCC solver. | |
SCCSolver & | Full () |
Finds SCCs in the whole graph. | |
SCCSolver & | Single (SetNode *node) |
Finds SCCs in a single node. | |
void | Solve (std::function< void(const Group &)> &&f) |
Traverses the groups. | |
Helper to find SCCs.