enum arbb_opcode_t |
The set of operations that can be performed using arbb_op() or arbb_op_dynamic().
Definition at line 604 of file arbb_vmapi.h.
ARBB_VM_EXPORT arbb_error_t arbb_op | ( | arbb_function_t | function, | |
arbb_opcode_t | opcode, | |||
const arbb_variable_t * | outputs, | |||
const arbb_variable_t * | inputs, | |||
void * | debug_data_ptrs[], | |||
arbb_error_details_t * | details | |||
) |
Adds a new instruction to the given function or executes the provided operation.
If function
is a null pointer, all inputs and outputs must be globals and the operation executes immediately. The number of inputs and outputs of the given opcode must be static. The arguments passed to the outputs
and inputs
parameters must be arrays of length matching the operation arity.
outputs
is a null pointer.inputs
is a null pointer.outputs
are null objects.inputs
are null objects.opcode
does not have a static number of arguments.function
is not currently being defined. ARBB_VM_EXPORT arbb_error_t arbb_op_dynamic | ( | arbb_function_t | function, | |
arbb_opcode_t | opcode, | |||
unsigned int | num_outputs, | |||
const arbb_variable_t * | outputs, | |||
unsigned int | num_inputs, | |||
const arbb_variable_t * | inputs, | |||
void * | debug_data_ptrs[], | |||
arbb_error_details_t * | details | |||
) |
Adds a new instruction to the given function or executes the provided operation.
If function
is a null pointer, all inputs and outputs must be globals and the operation executes immediately. The provided opcode must have a dynamic number of inputs and/or outputs. The arguments passed to the outputs
and inputs
parameters must be arrays of length num_outputs
and num_inputs
, respectively.
inputs
or outputs
of the opcode has a static size that does not match the provided size.Copyright © 2010, Intel Corporation. All rights reserved.