fixed wrong dependencies which caused recompilation of backends
[libfirm] / ir / be / ppc32 / ppc32_emitter.h
1 #ifndef _PPC32_EMITTER_H_
2 #define _PPC32_EMITTER_H_
3
4 #include "irargs_t.h"  // this also inlucdes <libcore/lc_print.h>
5 #include "irnode.h"
6 #include "debug.h"
7
8 #include "../bearch.h"
9
10 #include "bearch_ppc32_t.h"
11
12 typedef struct _emit_env_t {
13         FILE                      *out;
14         const arch_env_t          *arch_env;
15         const ppc32_code_gen_t    *cg;
16         DEBUG_ONLY(firm_dbg_module_t *mod;)
17 } ppc32_emit_env_t;
18
19 const lc_arg_env_t *ppc32_get_arg_env(void);
20
21 void equalize_dest_src(FILE *F, ir_node *n);
22
23 int get_ppc32_reg_nr(ir_node *irn, int posi, int in_out);
24 const char *get_ppc32_in_reg_name(ir_node *irn, int pos);
25
26 void ppc32_gen_routine(FILE *F, ir_graph *irg, const ppc32_code_gen_t *cg);
27
28 const char *ppc32_rlwimi_emit_helper(const ir_node *n, ppc32_emit_env_t *env);
29
30
31 #endif /* _PPC32_EMITTER_H_ */