fcml
1.2.2
|
API for assembler optimizers. More...
#include "fcml_lib_export.h"
#include "fcml_types.h"
#include "fcml_errors.h"
#include "fcml_common.h"
Go to the source code of this file.
Classes | |
struct | fcml_st_asm_optimizer_context |
Optimizer context used as a connector with the environment. More... | |
struct | fcml_st_asm_optimizer_processing_details |
Processing details for optimizers. More... | |
Typedefs | |
typedef struct fcml_st_asm_optimizer_context | fcml_st_asm_optimizer_context |
Optimizer context used as a connector with the environment. More... | |
typedef struct fcml_st_asm_optimizer_processing_details | fcml_st_asm_optimizer_processing_details |
Processing details for optimizers. More... | |
typedef fcml_ceh_error(* | fcml_fnp_asm_optimizer_callback) (fcml_ptr args) |
Callback used to invoke encoding process for given processing details configuration. More... | |
typedef fcml_ceh_error(LIB_CALL * | fcml_fnp_asm_optimizer) (fcml_st_asm_optimizer_context *context, fcml_st_asm_optimizer_processing_details *ds_flags, fcml_fnp_asm_optimizer_callback callback, fcml_ptr args) |
Function pointer declaration for optimizers. More... | |
Functions | |
LIB_EXPORT fcml_ceh_error LIB_CALL | fcml_fn_asm_default_optimizer (fcml_st_asm_optimizer_context *context, fcml_st_asm_optimizer_processing_details *ds_flags, fcml_fnp_asm_optimizer_callback callback, fcml_ptr callback_args) |
Default optimizer implementation. More... | |
API for assembler optimizers.
For more details about optimizers see FCML manual.
typedef fcml_ceh_error(LIB_CALL * fcml_fnp_asm_optimizer) (fcml_st_asm_optimizer_context *context, fcml_st_asm_optimizer_processing_details *ds_flags, fcml_fnp_asm_optimizer_callback callback, fcml_ptr args) |
Function pointer declaration for optimizers.
context | Optimizer context. |
ds_flags | Current instruction processing details. |
callback | Callback used to continue processing for configuration prepared by optimizer. |
args | Arguments that should be passed to the callback. |
typedef fcml_ceh_error(* fcml_fnp_asm_optimizer_callback) (fcml_ptr args) |
Callback used to invoke encoding process for given processing details configuration.
args | Arguments from optimizer. |
typedef struct fcml_st_asm_optimizer_context fcml_st_asm_optimizer_context |
Optimizer context used as a connector with the environment.
Processing details for optimizers.
LIB_EXPORT fcml_ceh_error LIB_CALL fcml_fn_asm_default_optimizer | ( | fcml_st_asm_optimizer_context * | context, |
fcml_st_asm_optimizer_processing_details * | ds_flags, | ||
fcml_fnp_asm_optimizer_callback | callback, | ||
fcml_ptr | callback_args | ||
) |
Default optimizer implementation.
This implementation chooses the best combination of attributes for current processor operating mode.
context | Optimizer context. |
ds_flags | Current instruction processing details. |
callback | Callback used to continue processing for configuration prepared by optimizer. |
callback_args | Arguments that should be passed to the callback. |