Commit 6d7c55e5 authored by Matthias Braun's avatar Matthias Braun
Browse files

add a modify_flags flag

[r15760]
parent 870211f5
......@@ -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;
/**
......
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment