* @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.
/** 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 */
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))