The compiler detail class for VuoType
.
|
Value * | generateValueFromStringFunctionCall (Module *module, BasicBlock *block, Value *arg) |
| Generates a call to [Type]_valueFromString().
|
|
Value * | generateStringFromValueFunctionCall (Module *module, BasicBlock *block, Value *arg) |
| Generates a call to [Type]_stringFromValue().
|
|
Value * | generateInterprocessStringFromValueFunctionCall (Module *module, BasicBlock *block, Value *arg) |
| Generates a call to [Type]_interprocessStringFromValue().
|
|
Value * | generateSummaryFromValueFunctionCall (Module *module, BasicBlock *block, Value *arg) |
| Generates a call to [Type]_summaryFromValue().
|
|
Type * | getType (void) |
| Returns the LLVM type for this Vuo type.
|
|
| VuoBaseDetail (string description, VuoType *base) |
| Creates a VuoType detail class.
|
|
VuoType * | getBase (void) const |
| Returns the VuoType detail class instance's base class instance.
|
|
void | setBase (VuoType *base) |
| Sets the VuoType detail class instance's base class instance.
|
|
vector< string > | getDependencies (void) |
| Returns a list of this VuoCompilerModule's dependencies.
|
|
Module * | getModule (void) |
| Returns this VuoCompilerModule's LLVM module, which other LLVM modules can link to.
|
|
Value * VuoCompilerType::generateInterprocessStringFromValueFunctionCall |
( |
Module * |
module, |
|
|
BasicBlock * |
block, |
|
|
Value * |
arg |
|
) |
| |
Generates a call to
[Type]_interprocessStringFromValue().
- Parameters
-
module | The destination LLVM module (i.e., generated code). |
block | The LLVM block to which to append the function call. |
arg | The argument to pass to [Type]_interprocessStringFromValue(). |
- Returns
- The return value of
[Type]_interprocessStringFromValue(), or the return value of
[Type]_stringFromValue() if the interprocess function doesn't exist.
Value * VuoCompilerType::generateStringFromValueFunctionCall |
( |
Module * |
module, |
|
|
BasicBlock * |
block, |
|
|
Value * |
arg |
|
) |
| |
Generates a call to
[Type]_stringFromValue().
- Parameters
-
module | The destination LLVM module (i.e., generated code). |
block | The LLVM block to which to append the function call. |
arg | The argument to pass to [Type]_stringFromValue(). |
- Returns
- The return value of
[Type]_stringFromValue().
Value * VuoCompilerType::generateSummaryFromValueFunctionCall |
( |
Module * |
module, |
|
|
BasicBlock * |
block, |
|
|
Value * |
arg |
|
) |
| |
Generates a call to
[Type]_summaryFromValue().
- Parameters
-
module | The destination LLVM module (i.e., generated code). |
block | The LLVM block to which to append the function call. |
arg | The argument to pass to [Type]_summaryFromValue(). |
- Returns
- The return value of
[Type]_summaryFromValue().
Value * VuoCompilerType::generateValueFromStringFunctionCall |
( |
Module * |
module, |
|
|
BasicBlock * |
block, |
|
|
Value * |
arg |
|
) |
| |
Generates a call to
[Type]_valueFromString().
- Parameters
-
module | The destination LLVM module (i.e., generated code). |
block | The LLVM block to which to append the function call. |
arg | The argument to pass to [Type]_valueFromString(). |
- Returns
- The return value of
[Type]_valueFromString().
VuoCompilerType * VuoCompilerType::newType |
( |
string |
typeName, |
|
|
Module * |
module |
|
) |
| |
|
static |
Creates a type from the type definition in the module.
If the module does not contain a type definition, returns NULL.
The documentation for this class was generated from the following files: