[][src]Struct wasmer_compiler_llvm::LLVMCompiler

pub struct LLVMCompiler { /* fields omitted */ }

A compiler that compiles a WebAssembly module with LLVM, translating the Wasm to LLVM IR, optimizing it and then translating to assembly.


impl LLVMCompiler[src]

pub fn new(config: LLVM) -> LLVMCompiler[src]

Creates a new LLVM compiler

Trait Implementations

impl Compiler for LLVMCompiler[src]

pub fn compile_module<'data, 'module>(
    target: &Target,
    compile_info: &'module mut CompileModuleInfo,
    module_translation: &ModuleTranslationState,
    function_body_inputs: PrimaryMap<LocalFunctionIndex, FunctionBodyData<'data>>
) -> Result<Compilation, CompileError>

Compile the module using LLVM, producing a compilation result with associated relocations.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.