Vuo  2.3.2
VuoCompilerInstanceData.cc
Go to the documentation of this file.
1 
13 #include "VuoPort.hh"
14 
19  : VuoCompilerNodeArgument(new VuoPort(instanceDataClass->getBase()))
20 {
21 }
22 
26 Value * VuoCompilerInstanceData::generateLoad(Module *module, BasicBlock *block, Value *nodeContextValue)
27 {
28  return VuoCompilerCodeGenUtilities::generateGetNodeContextInstanceData(module, block, nodeContextValue, getType());
29 }
30 
34 void VuoCompilerInstanceData::generateStore(Module *module, BasicBlock *block, Value *nodeContextValue, Value *instanceDataValue)
35 {
36  VuoCompilerCodeGenUtilities::generateSetNodeContextInstanceData(module, block, nodeContextValue, instanceDataValue);
37 }
38 
42 Value * VuoCompilerInstanceData::getVariable(Module *module, BasicBlock *block, Value *nodeContextValue)
43 {
45 }
46 
51 {
52  return static_cast<VuoCompilerInstanceDataClass *>(getBase()->getClass()->getCompiler())->getType();
53 }