X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fbe%2Fia32%2Fia32_new_nodes.h;h=0055775566336f029205cc2b07ff428a9ba93f4c;hb=e07b61c6ed5d198a484761f8a40a4f26520d964d;hp=182037d8446f19d8a70f620aeac3c92dd4e5376c;hpb=080b413cb189c8ca50c6fed43071c4fbe5c530ce;p=libfirm diff --git a/ir/be/ia32/ia32_new_nodes.h b/ir/be/ia32/ia32_new_nodes.h index 182037d84..005577556 100644 --- a/ir/be/ia32/ia32_new_nodes.h +++ b/ir/be/ia32/ia32_new_nodes.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -77,6 +77,7 @@ const ia32_attr_t *get_ia32_attr_const(const ir_node *node); ia32_x87_attr_t *get_ia32_x87_attr(ir_node *node); const ia32_x87_attr_t *get_ia32_x87_attr_const(const ir_node *node); +ia32_immediate_attr_t *get_ia32_immediate_attr(ir_node *node); const ia32_immediate_attr_t *get_ia32_immediate_attr_const(const ir_node *node); /** @@ -102,17 +103,14 @@ ia32_op_type_t get_ia32_op_type(const ir_node *node); void set_ia32_op_type(ir_node *node, ia32_op_type_t tp); /** - * Gets the supported addrmode of an ia32 node + * Gets the supported address mode of an ia32 node */ ia32_am_type_t get_ia32_am_support(const ir_node *node); -ia32_am_arity_t get_ia32_am_arity(const ir_node *node); - /** * Sets the supported addrmode of an ia32 node */ -void set_ia32_am_support(ir_node *node, ia32_am_type_t am_tp, - ia32_am_arity_t am_arity); +void set_ia32_am_support(ir_node *node, ia32_am_type_t am_arity); /** * Gets the addressmode offset as long. @@ -211,6 +209,15 @@ void clear_ia32_need_stackent(ir_node *node); */ int is_ia32_need_stackent(const ir_node *node); +void set_ia32_is_reload(ir_node *node); +int is_ia32_is_reload(const ir_node *node); + +void set_ia32_is_spill(ir_node *node); +int is_ia32_is_spill(const ir_node *node); + +void set_ia32_is_remat(ir_node *node); +int is_ia32_is_remat(const ir_node *node); + /** * Gets the mode of the stored/loaded value (only set for Store/Load) */ @@ -354,6 +361,16 @@ unsigned get_ia32_exc_label(const ir_node *node); */ void set_ia32_exc_label(ir_node *node, unsigned flag); +/** + * Return the exception label id. + */ +ir_label_t get_ia32_exc_label_id(const ir_node *node); + +/** + * Assign the exception label id. + */ +void set_ia32_exc_label_id(ir_node *node, ir_label_t id); + #ifndef NDEBUG /**