Class LlvmBackend
Provides a high-level interface to Flame's LLVM back-end.
Inheritance
System.Object
LlvmBackend
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.Llvm
Assembly: Flame.Llvm.dll
Syntax
public static class LlvmBackend
Methods
| Improve this Doc 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. |