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.

Methods

impl SimpleJITBackend
[src]

[src]

Create a new SimpleJITBackend.

[src]

Create a new SimpleJITBackend with an arbitrary target. This is mainly useful for testing.

SimpleJIT requires a TargetIsa configured for non-PIC.

To create a SimpleJITBackend for native use, use the new constructor instead.

Trait Implementations

impl<'simple_jit_backend> Backend for SimpleJITBackend
[src]

The results of compiling a function.

The results of "compiling" a data object.

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

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

[src]

Return the TargetIsa to compile for.

[src]

Declare a function.

[src]

Declare a data object.

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

Auto Trait Implementations