llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Public Types | Public Member Functions | List of all members
SCCSolver Class Referencefinal

#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.
 
SCCSolverFull ()
 Finds SCCs in the whole graph.
 
SCCSolverSingle (SetNode *node)
 Finds SCCs in a single node.
 
void Solve (std::function< void(const Group &)> &&f)
 Traverses the groups.
 

Detailed Description

Helper to find SCCs.


The documentation for this class was generated from the following files: