X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Farm%2Farm_new_nodes.h;h=d2a2dcb079a4c484e3a95407416cc2cfbb24d47d;hb=1872920c09708b361d06c0dc9f4c1fd0a03544f5;hp=6fe6a7b8bdd5fbdf473a0b88a6a6ec3f4034aa0a;hpb=4658dc6dbc1a84e71be79fe074c08329af93ad9c;p=libfirm diff --git a/ir/be/arm/arm_new_nodes.h b/ir/be/arm/arm_new_nodes.h index 6fe6a7b8b..d2a2dcb07 100644 --- a/ir/be/arm/arm_new_nodes.h +++ b/ir/be/arm/arm_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. * @@ -135,20 +135,34 @@ const arch_register_t *get_arm_out_reg(const ir_node *node, int pos); int get_arm_n_res(const ir_node *node); /** - * Set the ARM machine node attributes to default values. + * Sets the flags for the n'th out. */ -void init_arm_attributes(ir_node *node, int flags, const arch_register_req_t ** in_reqs, - const arch_register_req_t ** out_reqs, const be_execution_unit_t ***execution_units, int n_res, unsigned latency); +void set_arm_out_flags(ir_node *node, arch_irn_flags_t flags, int pos); /** - * Returns the tarval + * Gets the flags for the n'th out. */ -tarval *get_arm_value(const ir_node *node); +arch_irn_flags_t get_arm_out_flags(const ir_node *node, int pos); /** - * Sets the tarval + * Returns the immediate value */ -void set_arm_value(ir_node *node, tarval *tv); +long get_arm_imm_value(const ir_node *node); + +/** + * Sets the immediate value + */ +void set_arm_imm_value(ir_node *node, long imm_value); + +/** +* Return the tarval of a fpaConst +*/ +tarval *get_fpaConst_value(const ir_node *node); + +/** + * Sets the tarval of a fpaConst + */ +void set_fpaConst_value(ir_node *node, tarval *tv); /** * Returns the proj num @@ -191,11 +205,6 @@ void set_arm_SwitchJmp_default_proj_num(ir_node *node, long default_proj_num); */ arm_shift_modifier get_arm_shift_modifier(const ir_node *node); -/** - * Decode an immediate with shifter operand - */ -unsigned int arm_decode_imm_w_shift(tarval *tv); - /* Include the generated headers */ #include "gen_arm_new_nodes.h"