|
libFirm 1.20
|
executes assembler fragments of the target machine More...
Data Structures | |
| struct | ir_asm_constraint |
| A input/output constraint attribute. More... | |
Enumerations | |
| enum | n_ASM { n_ASM_mem, n_ASM_max = n_ASM_mem } |
| Input numbers for ASM node. More... | |
Functions | |
| ir_node * | new_rd_ASM (dbg_info *db, ir_node *block, int arity, ir_node *in[], ir_asm_constraint *inputs, size_t n_outs, ir_asm_constraint *outputs, size_t n_clobber, ident *clobber[], ident *asm_text) |
| Constructor for an ASM pseudo node. | |
| ir_node * | new_r_ASM (ir_node *block, int arity, ir_node *in[], ir_asm_constraint *inputs, size_t n_outs, ir_asm_constraint *outputs, size_t n_clobber, ident *clobber[], ident *asm_text) |
| Constructor for an ASM pseudo node. | |
| ir_node * | new_d_ASM (dbg_info *db, int arity, ir_node *in[], ir_asm_constraint *inputs, size_t n_outs, ir_asm_constraint *outputs, size_t n_clobber, ident *clobber[], ident *asm_text) |
| Constructor for an ASM pseudo node. | |
| ir_node * | new_ASM (int arity, ir_node *in[], ir_asm_constraint *inputs, size_t n_outs, ir_asm_constraint *outputs, size_t n_clobber, ident *clobber[], ident *asm_text) |
| Constructor for an ASM pseudo node. | |
| size_t | get_ASM_n_input_constraints (const ir_node *node) |
| Returns the number of input constraints for an ASM node. | |
| size_t | get_ASM_n_output_constraints (const ir_node *node) |
| Returns the number of output constraints for an ASM node. | |
| size_t | get_ASM_n_clobbers (const ir_node *node) |
| Returns the number of clobbered registers for an ASM node. | |
| int | is_ASM (const ir_node *node) |
| Test if node is a ASM. | |
| ir_node * | get_ASM_mem (const ir_node *node) |
| Returns mem input of an ASM node. | |
| void | set_ASM_mem (ir_node *node, ir_node *mem) |
| Sets mem input of an ASM node. | |
| ir_asm_constraint * | get_ASM_input_constraints (const ir_node *node) |
| Returns input_constraints attribute of an ASM node. | |
| void | set_ASM_input_constraints (ir_node *node, ir_asm_constraint *input_constraints) |
| Sets input_constraints attribute of an ASM node. | |
| ir_asm_constraint * | get_ASM_output_constraints (const ir_node *node) |
| Returns output_constraints attribute of an ASM node. | |
| void | set_ASM_output_constraints (ir_node *node, ir_asm_constraint *output_constraints) |
| Sets output_constraints attribute of an ASM node. | |
| ident ** | get_ASM_clobbers (const ir_node *node) |
| Returns clobbers attribute of an ASM node. | |
| void | set_ASM_clobbers (ir_node *node, ident **clobbers) |
| Sets clobbers attribute of an ASM node. | |
| ident * | get_ASM_text (const ir_node *node) |
| Returns text attribute of an ASM node. | |
| void | set_ASM_text (ir_node *node, ident *text) |
| Sets text attribute of an ASM node. | |
| ir_op * | get_op_ASM (void) |
| Returns opcode for ASM nodes. | |
Variables | |
| ir_op * | op_ASM |
| ASM opcode. | |
executes assembler fragments of the target machine
| ir_asm_constraint* get_ASM_input_constraints | ( | const ir_node * | node | ) |
Returns input_constraints attribute of an ASM node.
| size_t get_ASM_n_clobbers | ( | const ir_node * | node | ) |
Returns the number of clobbered registers for an ASM node.
| size_t get_ASM_n_input_constraints | ( | const ir_node * | node | ) |
Returns the number of input constraints for an ASM node.
| size_t get_ASM_n_output_constraints | ( | const ir_node * | node | ) |
Returns the number of output constraints for an ASM node.
| ir_asm_constraint* get_ASM_output_constraints | ( | const ir_node * | node | ) |
Returns output_constraints attribute of an ASM node.
| ir_op* get_op_ASM | ( | void | ) |
Returns opcode for ASM nodes.
| int is_ASM | ( | const ir_node * | node | ) |
Test if node is a ASM.
| ir_node* new_ASM | ( | int | arity, |
| ir_node * | in[], | ||
| ir_asm_constraint * | inputs, | ||
| size_t | n_outs, | ||
| ir_asm_constraint * | outputs, | ||
| size_t | n_clobber, | ||
| ident * | clobber[], | ||
| ident * | asm_text | ||
| ) |
Constructor for an ASM pseudo node.
| arity | The number of data inputs to the node. |
| *in | The array of length arity of data inputs. |
| *inputs | The array of length arity of input constraints. |
| n_outs | The number of data outputs to the node. |
| *outputs | The array of length n_outs of output constraints. |
| n_clobber | The number of clobbered registers. |
| *clobber | The array of length n_clobber of clobbered registers. |
| *asm_text | The assembler text. |
| ir_node* new_d_ASM | ( | dbg_info * | db, |
| int | arity, | ||
| ir_node * | in[], | ||
| ir_asm_constraint * | inputs, | ||
| size_t | n_outs, | ||
| ir_asm_constraint * | outputs, | ||
| size_t | n_clobber, | ||
| ident * | clobber[], | ||
| ident * | asm_text | ||
| ) |
Constructor for an ASM pseudo node.
| *db | A pointer for debug information. |
| arity | The number of data inputs to the node. |
| *in | The array of length arity of data inputs. |
| *inputs | The array of length arity of input constraints. |
| n_outs | The number of data outputs to the node. |
| *outputs | The array of length n_outs of output constraints. |
| n_clobber | The number of clobbered registers. |
| *clobber | The array of length n_clobber of clobbered registers. |
| *asm_text | The assembler text. |
| ir_node* new_r_ASM | ( | ir_node * | block, |
| int | arity, | ||
| ir_node * | in[], | ||
| ir_asm_constraint * | inputs, | ||
| size_t | n_outs, | ||
| ir_asm_constraint * | outputs, | ||
| size_t | n_clobber, | ||
| ident * | clobber[], | ||
| ident * | asm_text | ||
| ) |
Constructor for an ASM pseudo node.
| *block | The block the node belong to. |
| arity | The number of data inputs to the node. |
| *in | The array of length arity of data inputs. |
| *inputs | The array of length arity of input constraints. |
| n_outs | The number of data outputs to the node. |
| *outputs | The array of length n_outs of output constraints. |
| n_clobber | The number of clobbered registers. |
| *clobber | The array of length n_clobber of clobbered registers. |
| *asm_text | The assembler text. |
| ir_node* new_rd_ASM | ( | dbg_info * | db, |
| ir_node * | block, | ||
| int | arity, | ||
| ir_node * | in[], | ||
| ir_asm_constraint * | inputs, | ||
| size_t | n_outs, | ||
| ir_asm_constraint * | outputs, | ||
| size_t | n_clobber, | ||
| ident * | clobber[], | ||
| ident * | asm_text | ||
| ) |
Constructor for an ASM pseudo node.
| *db | A pointer for debug information. |
| *block | The block the node belong to. |
| arity | The number of data inputs to the node. |
| *in | The array of length arity of data inputs. |
| *inputs | The array of length arity of input constraints. |
| n_outs | The number of data outputs to the node. |
| *outputs | The array of length n_outs of output constraints. |
| n_clobber | The number of clobbered registers. |
| *clobber | The array of length n_clobber of clobbered registers. |
| *asm_text | The assembler text. |
| void set_ASM_input_constraints | ( | ir_node * | node, |
| ir_asm_constraint * | input_constraints | ||
| ) |
Sets input_constraints attribute of an ASM node.
| void set_ASM_output_constraints | ( | ir_node * | node, |
| ir_asm_constraint * | output_constraints | ||
| ) |
Sets output_constraints attribute of an ASM node.