Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
83c61a00
Commit
83c61a00
authored
Jun 02, 2006
by
Christian Würdig
Browse files
added get/set for CopyKeep operand
parent
a12101bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/benode.c
View file @
83c61a00
...
...
@@ -605,6 +605,14 @@ ir_node *be_new_CopyKeep_single(const arch_register_class_t *cls, ir_graph *irg,
return
be_new_CopyKeep
(
cls
,
irg
,
bl
,
src
,
1
,
in
,
mode
);
}
ir_node
*
be_get_CopyKeep_op
(
const
ir_node
*
cpy
)
{
return
get_irn_n
(
cpy
,
be_pos_CopyKeep_op
);
}
void
be_set_CopyKeep_op
(
ir_node
*
cpy
,
ir_node
*
op
)
{
set_irn_n
(
cpy
,
be_pos_CopyKeep_op
,
op
);
}
ir_node
*
be_new_Barrier
(
ir_graph
*
irg
,
ir_node
*
bl
,
int
n
,
ir_node
*
in
[])
{
ir_node
*
irn
;
...
...
ir/be/benode_t.h
View file @
83c61a00
...
...
@@ -299,7 +299,8 @@ enum {
};
ir_node
*
be_new_CopyKeep
(
const
arch_register_class_t
*
cls
,
ir_graph
*
irg
,
ir_node
*
bl
,
ir_node
*
src
,
int
n
,
ir_node
*
in_keep
[],
ir_mode
*
mode
);
ir_node
*
be_new_CopyKeep_single
(
const
arch_register_class_t
*
cls
,
ir_graph
*
irg
,
ir_node
*
bl
,
ir_node
*
src
,
ir_node
*
keep
,
ir_mode
*
mode
);
ir_node
*
be_get_CopyKeep_op
(
const
ir_node
*
cpy
);
void
be_set_CopyKeep_op
(
ir_node
*
cpy
,
ir_node
*
op
);
/**
* Get the backend opcode of a backend node.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment