Class LlvmBackend
Provides a high-level interface to Flame's LLVM back-end.
Inherited Members
Namespace: Flame.Llvm
Assembly: Flame.Llvm.dll
Syntax
public static class LlvmBackend
Methods
| Edit this page View SourceCompile(AssemblyContentDescription, TypeEnvironment)
Compiles an assembly content description to an LLVM module.
Declaration
public static ModuleBuilder Compile(AssemblyContentDescription contents, TypeEnvironment typeSystem)
Parameters
| Type | Name | Description |
|---|---|---|
| AssemblyContentDescription | contents | An assembly content description to compile. |
| TypeEnvironment | typeSystem | A type system to use. |
Returns
| Type | Description |
|---|---|
| ModuleBuilder | An LLVM module builder. |
Compile(AssemblyContentDescription, TypeEnvironment, NameMangler)
Compiles an assembly content description to an LLVM module.
Declaration
public static ModuleBuilder Compile(AssemblyContentDescription contents, TypeEnvironment typeSystem, NameMangler mangler)
Parameters
| Type | Name | Description |
|---|---|---|
| AssemblyContentDescription | contents | An assembly content description to compile. |
| TypeEnvironment | typeSystem | A type system to use. |
| NameMangler | mangler | A name mangler to use. |
Returns
| Type | Description |
|---|---|
| ModuleBuilder | An LLVM module builder. |
Compile(AssemblyContentDescription, TypeEnvironment, NameMangler, InternalCallImplementor)
Compiles an assembly content description to an LLVM module.
Declaration
public static ModuleBuilder Compile(AssemblyContentDescription contents, TypeEnvironment typeSystem, NameMangler mangler, InternalCallImplementor internalCallImplementor)
Parameters
| Type | Name | Description |
|---|---|---|
| AssemblyContentDescription | contents | An assembly content description to compile. |
| TypeEnvironment | typeSystem | A type system to use. |
| NameMangler | mangler | A name mangler to use. |
| InternalCallImplementor | internalCallImplementor | An internal call implementor to use. |
Returns
| Type | Description |
|---|---|
| ModuleBuilder | An LLVM module builder. |