The instance data for a node.
Definition at line 21 of file VuoCompilerInstanceData.hh.
Public Member Functions | |
VuoCompilerInstanceData (VuoCompilerInstanceDataClass *instanceDataClass) | |
Creates instance data for a node, based on the specified instanceDataClass . More... | |
Value * | generateLoad (Module *module, BasicBlock *block, Value *nodeContextValue) |
Generates code to get the current value of this instance data. More... | |
void | generateStore (Module *module, BasicBlock *block, Value *nodeContextValue, Value *instanceDataValue) |
Generates code to update the value of this instance data. More... | |
Value * | getVariable (Module *module, BasicBlock *block, Value *nodeContextValue) |
Generates code to get the address of this instance data. More... | |
Public Member Functions inherited from VuoCompilerNodeArgument | |
virtual | ~VuoCompilerNodeArgument (void) |
Destructor. More... | |
Public Member Functions inherited from VuoBaseDetail< VuoPort > | |
VuoBaseDetail (string description, VuoPort *base) | |
Creates a detail class. More... | |
VuoPort * | getBase (void) const |
Returns the detail class instance's base class instance. More... | |
void | setBase (VuoPort *base) |
Sets the detail class instance's base class instance. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VuoCompilerNodeArgument | |
VuoCompilerNodeArgument (VuoPort *basePort) | |
Creates an argument instance based on the specified argumentClass . More... | |
VuoCompilerInstanceData::VuoCompilerInstanceData | ( | VuoCompilerInstanceDataClass * | instanceDataClass | ) |
Creates instance data for a node, based on the specified instanceDataClass
.
Definition at line 18 of file VuoCompilerInstanceData.cc.
Value * VuoCompilerInstanceData::generateLoad | ( | Module * | module, |
BasicBlock * | block, | ||
Value * | nodeContextValue | ||
) |
Generates code to get the current value of this instance data.
Definition at line 26 of file VuoCompilerInstanceData.cc.
void VuoCompilerInstanceData::generateStore | ( | Module * | module, |
BasicBlock * | block, | ||
Value * | nodeContextValue, | ||
Value * | instanceDataValue | ||
) |
Generates code to update the value of this instance data.
Definition at line 34 of file VuoCompilerInstanceData.cc.
Value * VuoCompilerInstanceData::getVariable | ( | Module * | module, |
BasicBlock * | block, | ||
Value * | nodeContextValue | ||
) |
Generates code to get the address of this instance data.
Definition at line 42 of file VuoCompilerInstanceData.cc.