Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
5025bfbd
Commit
5025bfbd
authored
Jun 19, 2012
by
Christoph Mallon
Browse files
Remove the never read flag irop_flag_dump_noinput.
parent
b9cc24b1
Changes
5
Hide whitespace changes
Inline
Side-by-side
include/libfirm/irop.h
View file @
5025bfbd
...
...
@@ -77,12 +77,11 @@ typedef enum {
irop_flag_start_block
=
1U
<<
8
,
/**< This operation is always placed in the Start block. */
irop_flag_uses_memory
=
1U
<<
9
,
/**< This operation has a memory input and may change the memory state. */
irop_flag_dump_noblock
=
1U
<<
10
,
/**< node should be dumped outside any blocks */
irop_flag_dump_noinput
=
1U
<<
11
,
/**< node is a placeholder for "no input" */
irop_flag_cse_neutral
=
1U
<<
12
,
/**< This operation is CSE neutral to its users. */
irop_flag_cse_neutral
=
1U
<<
11
,
/**< This operation is CSE neutral to its users. */
/** This operation jumps to an unknown destination. The CFG is a
* conservative aproximation in this case. You cannot change the destination
* of an unknown_jump */
irop_flag_unknown_jump
=
1U
<<
1
3
,
irop_flag_unknown_jump
=
1U
<<
1
2
,
}
irop_flags
;
/** Returns the ident for the opcode name */
...
...
ir/be/amd64/amd64_spec.pl
View file @
5025bfbd
...
...
@@ -313,7 +313,7 @@ Store => {
#NoReg_GP => {
# state => "pinned",
# op_flags => [ "constlike", "dump_noblcok"
, "dump_noinput"
],
# op_flags => [ "constlike", "dump_noblcok" ],
# reg_req => { out => [ "gp_NOREG:I" ] },
# units => [],
# emit => "",
...
...
ir/be/ia32/ia32_spec.pl
View file @
5025bfbd
...
...
@@ -1103,7 +1103,7 @@ GetEIP => {
NoReg_GP
=>
{
state
=>
"
pinned
",
op_flags
=>
[
"
constlike
",
"
dump_noblock
"
,
"
dump_noinput
"
],
op_flags
=>
[
"
constlike
",
"
dump_noblock
"
],
irn_flags
=>
[
"
not_scheduled
"
],
reg_req
=>
{
out
=>
[
"
gp_NOREG:I
"
]
},
units
=>
[]
,
...
...
@@ -1114,7 +1114,7 @@ NoReg_GP => {
NoReg_VFP
=>
{
state
=>
"
pinned
",
op_flags
=>
[
"
constlike
",
"
dump_noblock
"
,
"
dump_noinput
"
],
op_flags
=>
[
"
constlike
",
"
dump_noblock
"
],
irn_flags
=>
[
"
not_scheduled
"
],
reg_req
=>
{
out
=>
[
"
vfp_NOREG:I
"
]
},
units
=>
[]
,
...
...
@@ -1126,7 +1126,7 @@ NoReg_VFP => {
NoReg_XMM
=>
{
state
=>
"
pinned
",
op_flags
=>
[
"
constlike
",
"
dump_noblock
"
,
"
dump_noinput
"
],
op_flags
=>
[
"
constlike
",
"
dump_noblock
"
],
irn_flags
=>
[
"
not_scheduled
"
],
reg_req
=>
{
out
=>
[
"
xmm_NOREG:I
"
]
},
units
=>
[]
,
...
...
ir/be/scripts/generate_new_opcodes.pl
View file @
5025bfbd
...
...
@@ -677,8 +677,7 @@ EOF
my
%known_flags
=
map
{
$_
=>
1
}
(
"
none
",
"
commutative
",
"
cfopcode
",
"
unknown_jump
",
"
fragile
",
"
forking
",
"
highlevel
",
"
constlike
",
"
always_opt
",
"
keep
",
"
start_block
",
"
uses_memory
",
"
dump_noblock
",
"
dump_noinput
",
"
cse_neutral
"
"
start_block
",
"
uses_memory
",
"
dump_noblock
",
"
cse_neutral
"
);
my
$is_fragile
=
0
;
foreach
my
$flag
(
@
{
$n
{"
op_flags
"}})
{
...
...
scripts/ir_spec.py
View file @
5025bfbd
...
...
@@ -695,7 +695,7 @@ class Mux(Op):
class
NoMem
(
Op
):
"""Placeholder node for cases where you don't need any memory input"""
mode
=
"mode_M"
flags
=
[
"dump_noblock"
,
"dump_noinput"
]
flags
=
[
"dump_noblock"
]
pinned
=
"yes"
knownBlock
=
True
block
=
"get_irg_start_block(irg)"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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