HLVM API Documentation
#include <Pass.h>
Inheritance diagram for Pass:

This class provides an abstract interface to Pass execution. This class is meant to be subclassed and the various "handle" methods overriden to gain access to the information in the AST.
Definition at line 42 of file Pass.h.
|
|
Or these together and pass to the constructor to indicate which kinds of things you are interested in.
|
|
|
Specifies the kinds of traversals that a pass can request. The PassManager always walks the tree in a depth-first search (DFS) and it can call the pass either when it arrives at the node (preorder) on the way down, or when it leaves the node (postorder) on the way up. A pass can also specify that it wants both pre-order and post-order traversal.
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
Handle any kind of node. Subclasses should override this; the default implementation does nothing. This handler is only called if the interest is set to 0 (interested in everything). It is left to the subclass to disambiguate the Node. |
|
|
Handle initialization. This is called before any other handle method is called. Default implementation does nothing |
|
|
Handle termination. This is called after all other handle methods are called. Default implementation does nothing |
|
|
|
|
|
|
|
|
|
|
|
Instantiate the standard passes.
Definition at line 1812 of file Validate.cpp. |
|
|
Definition at line 107 of file Pass.h. References Pass::passed_. |
|
|
|