Teach new_tarval_from_str_int() to parse binary numbers: 0[bB][01]+.
[libfirm] / ir / be / arm / arm_nodes_attr.h
index ad7f525..75159cd 100644 (file)
  * @file
  * @brief   declarations for ARM node attributes
  * @author  Oliver Richter, Tobias Gneist, Michael Beck
- * @version $Id$
  */
 #ifndef FIRM_BE_ARM_ARM_NODES_ATTR_H
 #define FIRM_BE_ARM_ARM_NODES_ATTR_H
 
 #include "firm_types.h"
 #include "irnode_t.h"
-#include "../bearch.h"
+#include "bearch.h"
 
 /**
  * Possible ARM "shifter operand" addressing mode types.
@@ -107,14 +106,13 @@ typedef struct arm_SymConst_attr_t {
 /** Attributes for a CondJmp */
 typedef struct arm_CondJmp_attr_t {
        arm_attr_t  base;
-       pn_Cmp      pnc;
+       ir_relation relation;
 } arm_CondJmp_attr_t;
 
 /** Attributes for a SwitchJmp */
 typedef struct arm_SwitchJmp_attr_t {
-       arm_attr_t  base;
-       int         n_projs;
-       long        default_proj_num;
+       arm_attr_t             base;
+       const ir_switch_table *table;
 } arm_SwitchJmp_attr_t;
 
 /** CopyB attributes */
@@ -126,7 +124,7 @@ typedef struct arm_CopyB_attr_t {
 /** Attributes for a fConst */
 typedef struct arm_fConst_attr_t {
        arm_attr_t  base;
-       tarval     *tv;              /**< the tarval representing the FP const */
+       ir_tarval  *tv;              /**< the tarval representing the FP const */
 } arm_fConst_attr_t;
 
 /** attributes for floatingpoint arithmetic operations */
@@ -135,11 +133,6 @@ typedef struct arm_farith_attr_t {
        ir_mode    *mode; /* operation mode */
 } arm_farith_attr_t;
 
-/**
- * Return the fpa immediate from the encoding.
- */
-const char *arm_get_fpa_imm_name(long imm_value);
-
 #define CAST_ARM_ATTR(type,ptr)        ((type *)(ptr))
 #define CONST_CAST_ARM_ATTR(type,ptr)  ((const type *)(ptr))