The compiler detail class for VuoNode
.
|
| VuoCompilerNode (VuoNode *baseNode) |
| Creates a compiler detail for the specified baseNode .
|
|
void | generateAllocation (Module *module) |
| Generates the allocation of the node's runtime representation, which consists of the runtime representations for the ports and the instance data.
|
|
void | generateEventFunctionCall (Module *module, BasicBlock *block) |
| Generates a call to nodeEvent or nodeInstanceEvent .
|
|
void | generateInitFunctionCall (Module *module, BasicBlock *block) |
| Generates a call to nodeInstanceInit and stores the return value into the node's instance data.
|
|
void | generateFiniFunctionCall (Module *module, BasicBlock *block) |
| Generates a call to nodeInstanceFini .
|
|
Value * | generatePushedCondition (BasicBlock *block) |
| Generates a condition that is true if any of this node's input event ports has been pushed.
|
|
void | generatePushedReset (BasicBlock *block) |
| Generates code to set all of this node's input and output event ports to an unpushed state.
|
|
void | generateReleaseOfAllPortValues (Module *module, BasicBlock *block) |
| Releases all reference-counted input and output port values.
|
|
VuoCompilerInstanceData * | getInstanceData (void) |
| If this node is stateful, returns the instance data.
|
|
string | getIdentifier (void) |
| Returns the identifier prefix in the generated code for this node instance.
|
|
| VuoBaseDetail (string id, VuoNode *base) |
| Creates a VuoNode detail class.
|
|
VuoNode * | getBase (void) const |
| Returns the VuoNode detail class instance's base class instance.
|
|
void | setBase (VuoNode *base) |
| Sets the VuoNode detail class instance's base class instance.
|
|
void VuoCompilerNode::generateAllocation |
( |
Module * |
module | ) |
|
Generates the allocation of the node's runtime representation, which consists of the runtime representations for the ports and the instance data.
- Parameters
-
module | The destination LLVM module (i.e., generated code). |
void VuoCompilerNode::generateEventFunctionCall |
( |
Module * |
module, |
|
|
BasicBlock * |
block |
|
) |
| |
Generates a call to nodeEvent
or nodeInstanceEvent
.
- Parameters
-
module | The destination LLVM module (i.e., generated code). |
block | The LLVM block to which to append the function call. |
void VuoCompilerNode::generateFiniFunctionCall |
( |
Module * |
module, |
|
|
BasicBlock * |
block |
|
) |
| |
Generates a call to nodeInstanceFini
.
Assumes the node is stateful.
- Parameters
-
module | The destination LLVM module (i.e., generated code). |
block | The LLVM block to which to append the function call. |
void VuoCompilerNode::generateInitFunctionCall |
( |
Module * |
module, |
|
|
BasicBlock * |
block |
|
) |
| |
Generates a call to nodeInstanceInit
and stores the return value into the node's instance data.
Assumes the node is stateful. Assumes any generator ports' function declarations have been generated.
- Parameters
-
module | The destination LLVM module (i.e., generated code). |
block | The LLVM block to which to append the function call. |
string VuoCompilerNode::getIdentifier |
( |
void |
| ) |
|
If this node is stateful, returns the instance data.
Otherwise null.
The documentation for this class was generated from the following files: