Struct cretonne_simplejit::SimpleJITBackend[][src]

pub struct SimpleJITBackend { /* fields omitted */ }

A SimpleJITBackend implements Backend and emits code and data into memory where it can be directly called and accessed.

Trait Implementations

impl<'simple_jit_backend> Backend for SimpleJITBackend
[src]

A builder for constructing Backend instances.

SimpleJIT compiled function and data objects may have outstanding relocations that need to be performed before the memory can be used. These relocations are performed within finalize_function and finalize_data.

The results of "compiling" a data object.

SimpleJIT emits code and data into memory, and provides raw pointers to them.

The completed output artifact for a data object, if this is meaningful for the Backend. Read more

SimpleJIT emits code and data into memory as it processes them, so it doesn't need to provide anything after the Module is complete.

Create a new SimpleJITBackend.

Return the TargetIsa to compile for.

Declare a function.

Declare a data object.

Define a function, producing the function body from the given Context. Read more

Define a zero-initialized data object of the given size. Read more

Write the address of what into the data for data at offset. data must refer to a defined data object. Read more

Write the address of what plus addend into the data for data at offset. data must refer to a defined data object. Read more

Perform all outstanding relocations on the given function. This requires all Local and Export entities referenced to be defined. Read more

Perform all outstanding relocations on the given data object. This requires all Local and Export entities referenced to be defined. Read more

SimpleJIT emits code and data into memory as it processes them, so it doesn't need to provide anything after the Module is complete.

Auto Trait Implementations