llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
#include <passes/pta/node.h>
Public Member Functions | |
GraphNode (Kind kind, uint64_t id) | |
Constructs a graph node. | |
virtual | ~GraphNode () |
Deletes the node. | |
uint64_t | GetID () const |
Returns the ID of the node. | |
bool | IsDeref () const |
Checks if the node is a load. | |
bool | IsSet () const |
Checks if the ndoe is a set. | |
SetNode * | AsSet () |
Returns the node as a set, if it is one. | |
DerefNode * | AsDeref () |
Returns the node as a deref, if it is one. | |
![]() | |
virtual | ~Node () |
Virtual destructor. | |
GraphNode * | ToGraph () |
Converts the node to a graph node. | |
RootNode * | AsRoot () |
Converts the node to a root node (if it is one). | |
Protected Attributes | |
uint64_t | id_ |
ID of the node. | |
![]() | |
Kind | kind_ |
Node kind. | |
Friends | |
class | SetNode |
class | DerefNode |
class | SCCSolver |
Solver needs access. | |
Additional Inherited Members | |
![]() | |
enum | Kind { SET, DEREF, ROOT } |
Enumeration of enum kinds. | |
![]() | |
Node (Kind kind) | |
Creates a new node. | |
Actual node in the graph, i.e. not a root node.