Macros
Macros
Default
- DUMP( x)
This class implements a streaming code generation interface designed to be called directly from an AST.
Returns a constant C string using Str as an initialiser.
Creates a generic constant. This will be defined in the module load function by sending a message to the specified class.
Creates a global value containing a pointer to a class.
Finishes IR generation and prepares the module for code generation.
Returns the debug info node for an Objective-C type encoding.
Returns an array of debug types representing the type encodings in a string.
Returns the code generator for the current scope
Initialise for the specified module.
Start generating code for a class.
End a class.
Start generating code for a category.
Finish generating a category.
Start a function method.
Ends a function.
Start a class method.
Start a method.
End the current method.
Begin a BlockClosure.
End the current block. Returns a pointer to the block object.
Store the class variable for the current class.
Stores the instance variable for the current class.
Stores a variable in the specified local value.
Load the class variable for the current class.
Loads the instance variable from the current class.
Loads a variable in the specified local value.
Set the (local) return value for a block.
Create an integer constant. Either a SmallInt or a BigInt, depending on the size.
Creates a floating point constant.
Create a symbol (selector) constant.
Create a string (object) constant.
Get the module which provides static definitions of small int messages.
Compile and load this module.
Write the module as a bitcode file. If isAsm is true then this writes LLVM 'assembly language' instead of bitcode.
Debugging macro: dumps the object if the debug flag is set
- DUMPT( x)
This class implements a streaming code generation interface designed to be called directly from an AST.
Returns a constant C string using Str as an initialiser.
Creates a generic constant. This will be defined in the module load function by sending a message to the specified class.
Creates a global value containing a pointer to a class.
Finishes IR generation and prepares the module for code generation.
Returns the debug info node for an Objective-C type encoding.
Returns an array of debug types representing the type encodings in a string.
Returns the code generator for the current scope
Initialise for the specified module.
Start generating code for a class.
End a class.
Start generating code for a category.
Finish generating a category.
Start a function method.
Ends a function.
Start a class method.
Start a method.
End the current method.
Begin a BlockClosure.
End the current block. Returns a pointer to the block object.
Store the class variable for the current class.
Stores the instance variable for the current class.
Stores a variable in the specified local value.
Load the class variable for the current class.
Loads the instance variable from the current class.
Loads a variable in the specified local value.
Set the (local) return value for a block.
Create an integer constant. Either a SmallInt or a BigInt, depending on the size.
Creates a floating point constant.
Create a symbol (selector) constant.
Create a string (object) constant.
Get the module which provides static definitions of small int messages.
Compile and load this module.
Write the module as a bitcode file. If isAsm is true then this writes LLVM 'assembly language' instead of bitcode.
Debugging macro: dumps the object if the debug flag is set
Debugging macro: dumps the object's type if the debug flag is set
- LOG( x)
This class implements a streaming code generation interface designed to be called directly from an AST.
Returns a constant C string using Str as an initialiser.
Creates a generic constant. This will be defined in the module load function by sending a message to the specified class.
Creates a global value containing a pointer to a class.
Finishes IR generation and prepares the module for code generation.
Returns the debug info node for an Objective-C type encoding.
Returns an array of debug types representing the type encodings in a string.
Returns the code generator for the current scope
Initialise for the specified module.
Start generating code for a class.
End a class.
Start generating code for a category.
Finish generating a category.
Start a function method.
Ends a function.
Start a class method.
Start a method.
End the current method.
Begin a BlockClosure.
End the current block. Returns a pointer to the block object.
Store the class variable for the current class.
Stores the instance variable for the current class.
Stores a variable in the specified local value.
Load the class variable for the current class.
Loads the instance variable from the current class.
Loads a variable in the specified local value.
Set the (local) return value for a block.
Create an integer constant. Either a SmallInt or a BigInt, depending on the size.
Creates a floating point constant.
Create a symbol (selector) constant.
Create a string (object) constant.
Get the module which provides static definitions of small int messages.
Compile and load this module.
Write the module as a bitcode file. If isAsm is true then this writes LLVM 'assembly language' instead of bitcode.
Debugging macro: dumps the object if the debug flag is set
Debugging macro: dumps the object's type if the debug flag is set
Debugging macro: logs an error message to stderr if the debug flag is set.