-typedef struct _arm_code_gen_t {
- const arch_code_generator_if_t *impl; /**< implementation */
- ir_graph *irg; /**< current irg */
- const arch_env_t *arch_env; /**< the arch env */
- set *reg_set; /**< set to memorize registers for FIRM nodes (e.g. phi) */
- int emit_decls; /**< flag indicating if decls were already emitted */
- arm_isa_t *isa; /**< the isa instance */
- const be_irg_t *birg; /**< The be-irg (contains additional information about the irg) */
- ir_type *int_tp; /**< the int type, needed for Call conversion */
- int have_fp; /**< non-zero, if fp hardware instructions are emitted */
- DEBUG_ONLY(firm_dbg_module_t *mod;) /**< debugging module */
-} arm_code_gen_t;
-
-
-struct _arm_isa_t {
- const arch_isa_if_t *impl;
- const arch_register_t *sp; /**< The stack pointer register. */
- const arch_register_t *bp; /**< The base pointer register. */
- const int stack_dir; /**< -1 for decreasing, 1 for increasing. */
- int num_codegens;
- int gen_reg_names; /**< use generic register names instead of SP, LR, PC */
- arm_code_gen_t *cg; /**< current code generator */
- FILE *out; /**< output file */
-
- unsigned fpu_arch; /**< FPU architecture */