asmjit::a64::Compiler Class Reference [¶]

AArch64 compiler implementation.
AArch64 compiler implementation.
Creates a new stack and returns a Mem operand that can be used to address it.
Put data to a constant-pool and get a memory reference to it.
Put a BYTE val
to a constant-pool (8 bits).
Put a HWORD val
to a constant-pool (16 bits).
Put a WORD val
to a constant-pool (32 bits).
Put a DWORD val
to a constant-pool (64 bits).
Put a WORD val
to a constant-pool.
Put a WORD val
to a constant-pool.
Put a DWORD val
to a constant-pool.
Put a DWORD val
to a constant-pool.
Put a QWORD val
to a constant-pool.
Put a QWORD val
to a constant-pool.
Put a SP-FP val
to a constant-pool.
Put a DP-FP val
to a constant-pool.
Force the compiler to not follow the conditional or unconditional jump.
Special pseudo-instruction that can be used to load a memory address into o0
GP register.
At the moment this instruction is only useful to load a stack allocated address into a GP register for further use. It makes very little sense to use it for anything else. The semantics of this instruction is the same as X86 LEA
(load effective address) instruction.
Invoke a function call of the given target
and signature
and store the added node to out
.
Creates a new InvokeNode, initializes all the necessary members to match the given function signature
, adds the node to the compiler, and stores its pointer to out
. The operation is atomic, if anything fails nullptr is stored in out
and error code is returned.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Adds a jump to the given target
with the provided jump annotation
.
Called after the emitter was attached to CodeHolder
.
Reimplemented from asmjit::BaseCompiler.
Called after the emitter was detached from CodeHolder
.
Reimplemented from asmjit::BaseCompiler.
Called when CodeHolder is reinitialized when the emitter is attached.
Reimplemented from asmjit::BaseCompiler.
Finalizes this emitter.
Materializes the content of the emitter by serializing it to the attached CodeHolder through an architecture specific BaseAssembler. This function won't do anything if the emitter inherits from BaseAssembler as assemblers emit directly to a CodeBuffer held by CodeHolder. However, if this is an emitter that inherits from BaseBuilder or BaseCompiler then these emitters need the materialization phase as they store their content in a representation not visible to CodeHolder.
Reimplemented from asmjit::BaseEmitter.