This machine mirrors various open-source projects.
20 Gbit/s uplink.
If there are any issues or you want another project mirrored, please contact
mirror-service -=AT=- netcologne DOT de !
#include <Generator.h>
Public Member Functions | |
virtual | ~Generator () |
virtual void | emitToplevelDecl (Decl *decl)=0 |
Codegens a top-level declaration. | |
virtual void | emitEntry (ProcedureDecl *decl)=0 |
Codegens an entry function which calls into the Procedure proc and embeds it into the LibraryItem item . | |
Static Public Member Functions | |
static Generator * | create (llvm::Module *M, const llvm::TargetData &data, AstResource &resource) |
Constructs a code generator. | |
Protected Member Functions | |
Generator () |
Definition at line 17 of file Generator.h.
virtual comma::Generator::~Generator | ( | ) | [inline, virtual] |
Definition at line 20 of file Generator.h.
comma::Generator::Generator | ( | ) | [inline, protected] |
Definition at line 46 of file Generator.h.
Generator * Generator::create | ( | llvm::Module * | M, | |
const llvm::TargetData & | data, | |||
AstResource & | resource | |||
) | [static] |
Constructs a code generator.
Definition at line 409 of file CodeGen.cpp.
virtual void comma::Generator::emitEntry | ( | ProcedureDecl * | decl | ) | [pure virtual] |
Codegens an entry function which calls into the Procedure proc
and embeds it into the LibraryItem item
.
The given procedure must meet the following constraints (failure to do so will fire an assertion):
virtual void comma::Generator::emitToplevelDecl | ( | Decl * | decl | ) | [pure virtual] |
Codegens a top-level declaration.