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
6d7c55e5
Commit
6d7c55e5
authored
Sep 12, 2007
by
Matthias Braun
Browse files
add a modify_flags flag
[r15760]
parent
870211f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/bearch.h
View file @
6d7c55e5
...
...
@@ -123,7 +123,8 @@ typedef enum arch_irn_flags_t {
arch_irn_flags_rematerializable
=
2
,
/**< This can be replicated instead of spilled/reloaded. */
arch_irn_flags_ignore
=
4
,
/**< Ignore node during register allocation. */
arch_irn_flags_modify_sp
=
8
,
/**< I modify the stack pointer. */
arch_irn_flags_last
=
arch_irn_flags_modify_sp
arch_irn_flags_modify_flags
=
16
,
/**< I modify flags. */
arch_irn_flags_last
=
arch_irn_flags_modify_flags
}
arch_irn_flags_t
;
/**
...
...
ir/be/bearch_t.h
View file @
6d7c55e5
...
...
@@ -81,10 +81,11 @@ const char *_arch_register_get_name(const arch_register_t *reg)
* Like general purpose or floating point.
*/
struct
arch_register_class_t
{
const
char
*
name
;
/**< The name of the register class. */
int
n_regs
;
/**< Number of registers in this class. */
ir_mode
*
mode
;
/**< The mode of the register class. */
const
arch_register_t
*
regs
;
/**< The array of registers. */
const
char
*
name
;
/**< The name of the register class.*/
int
n_regs
;
/**< Number of registers in this
class. */
ir_mode
*
mode
;
/**< The mode of the register class.*/
const
arch_register_t
*
regs
;
/**< The array of registers. */
};
/** return the number of registers in this register class */
...
...
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