X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Farm%2Farm_new_nodes.h;h=d2a2dcb079a4c484e3a95407416cc2cfbb24d47d;hb=1872920c09708b361d06c0dc9f4c1fd0a03544f5;hp=c7b1a50e00361cc3777d887e57a5aeaa0b8594fc;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/be/arm/arm_new_nodes.h b/ir/be/arm/arm_new_nodes.h index c7b1a50e0..d2a2dcb07 100644 --- a/ir/be/arm/arm_new_nodes.h +++ b/ir/be/arm/arm_new_nodes.h @@ -53,10 +53,10 @@ arm_SymConst_attr_t *get_arm_SymConst_attr(ir_node *node); const arm_SymConst_attr_t *get_arm_SymConst_attr_const(const ir_node *node); /** - * Returns the attributes of an ARM CompareAndBranch node. + * Returns the attributes of an ARM CondJmp node. */ -arm_CondJmp_attr_t *get_arm_CmpBra_attr(ir_node *node); -const arm_CondJmp_attr_t *get_arm_CmpBra_attr_const(const ir_node *node); +arm_CondJmp_attr_t *get_arm_CondJmp_attr(ir_node *node); +const arm_CondJmp_attr_t *get_arm_CondJmp_attr_const(const ir_node *node); /** * Returns the attributes of an ARM SwitchJmp node. @@ -145,14 +145,24 @@ void set_arm_out_flags(ir_node *node, arch_irn_flags_t flags, int pos); arch_irn_flags_t get_arm_out_flags(const ir_node *node, int pos); /** - * Returns the tarval + * Returns the immediate value */ -tarval *get_arm_value(const ir_node *node); +long get_arm_imm_value(const ir_node *node); /** - * Sets the tarval + * Sets the immediate value */ -void set_arm_value(ir_node *node, tarval *tv); +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 @@ -195,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"