AsmJit
Low-Latency Machine Code Generation
AArch64 compiler implementation.
nullptr
)◆ Creates a new memory chunk allocated on the current function's stack.
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.
LEA
(load effective address) instruction. Invoke a function call without target
type enforcement.
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.
Return.
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::BaseEmitter.
Called after the emitter was detached from CodeHolder
.
Reimplemented from asmjit::BaseEmitter.
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.
© 2018-2024 AsmJit Authors | GitHub | Chat | Blog
AsmJit and AsmTK libraries are open source software released under the Zlib license and can be used safely in any open-source or commercial product, statically or dynamically linked, and without having to advertise the use of the libraries. Code snippets and examples are released into public domain, see Unlicense for more details.