|
ir_node * | new_rd_Alloc (dbg_info *dbgi, ir_node *block, ir_node *irn_mem, ir_node *irn_size, unsigned alignment) |
| Construct an Alloc node.
|
|
ir_node * | new_r_Alloc (ir_node *block, ir_node *irn_mem, ir_node *irn_size, unsigned alignment) |
| Construct an Alloc node.
|
|
ir_node * | new_d_Alloc (dbg_info *dbgi, ir_node *irn_mem, ir_node *irn_size, unsigned alignment) |
| Construct an Alloc node.
|
|
ir_node * | new_Alloc (ir_node *irn_mem, ir_node *irn_size, unsigned alignment) |
| Construct an Alloc node.
|
|
int | is_Alloc (const ir_node *node) |
| Test if node is a Alloc.
|
|
ir_node * | get_Alloc_mem (const ir_node *node) |
| Returns mem input of an Alloc node.
|
|
void | set_Alloc_mem (ir_node *node, ir_node *mem) |
| Sets mem input of an Alloc node.
|
|
ir_node * | get_Alloc_size (const ir_node *node) |
| Returns size input of an Alloc node.
|
|
void | set_Alloc_size (ir_node *node, ir_node *size) |
| Sets size input of an Alloc node.
|
|
unsigned | get_Alloc_alignment (const ir_node *node) |
| Returns alignment attribute of an Alloc node.
|
|
void | set_Alloc_alignment (ir_node *node, unsigned alignment) |
| Sets alignment attribute of an Alloc node.
|
|
ir_op * | get_op_Alloc (void) |
| Returns opcode for Alloc nodes.
|
|
Allocates a block of memory on the stack.
◆ n_Alloc
Input numbers for Alloc node.
Enumerator |
---|
n_Alloc_mem | memory dependency
|
n_Alloc_size | size of the block in bytes
|
n_Alloc_max | |
Definition at line 441 of file nodes.h.
◆ pn_Alloc
Projection numbers for result of Alloc node (use for Proj nodes)
Enumerator |
---|
pn_Alloc_M | memory result
|
pn_Alloc_res | pointer to newly allocated memory
|
pn_Alloc_max | |
Definition at line 450 of file nodes.h.
◆ get_Alloc_alignment()
unsigned get_Alloc_alignment |
( |
const ir_node * | node | ) |
|
Returns alignment attribute of an Alloc node.
◆ get_Alloc_mem()
Returns mem input of an Alloc node.
◆ get_Alloc_size()
Returns size input of an Alloc node.
◆ get_op_Alloc()
ir_op * get_op_Alloc |
( |
void | | ) |
|
Returns opcode for Alloc nodes.
◆ is_Alloc()
int is_Alloc |
( |
const ir_node * | node | ) |
|
Test if node is a Alloc.
- Returns
- 1 if the node is a Alloc node, 0 otherwise
◆ new_Alloc()
Construct an Alloc node.
- Parameters
-
irn_mem | mem |
irn_size | size |
alignment | alignment of the memory block (must be a power of 2) |
◆ new_d_Alloc()
Construct an Alloc node.
- Parameters
-
dbgi | A pointer to debug information. |
irn_mem | mem |
irn_size | size |
alignment | alignment of the memory block (must be a power of 2) |
◆ new_r_Alloc()
Construct an Alloc node.
- Parameters
-
block | The IR block the node belongs to. |
irn_mem | mem |
irn_size | size |
alignment | alignment of the memory block (must be a power of 2) |
◆ new_rd_Alloc()
Construct an Alloc node.
- Parameters
-
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_mem | mem |
irn_size | size |
alignment | alignment of the memory block (must be a power of 2) |
◆ set_Alloc_alignment()
void set_Alloc_alignment |
( |
ir_node * | node, |
|
|
unsigned | alignment ) |
Sets alignment attribute of an Alloc node.
◆ set_Alloc_mem()
Sets mem input of an Alloc node.
◆ set_Alloc_size()
Sets size input of an Alloc node.
◆ op_Alloc
Alloc opcode.
Definition at line 516 of file nodes.h.