- Split bearch.h correctly into bearch.h and bearch_t.h
[libfirm] / ir / be / mips / bearch_mips.h
1 #ifndef _BEARCH_MIPS_H_
2 #define _BEARCH_MIPS_H_
3
4 #include "../bearch_t.h"
5
6 typedef struct _mips_code_gen_t mips_code_gen_t;
7
8 extern const arch_isa_if_t mips_isa_if;
9
10 /** return the scheduled block at position pos */
11 ir_node *mips_get_sched_block(const mips_code_gen_t *cg, int pos);
12
13 /** return the number of scheduled blocks */
14 int mips_get_sched_n_blocks(const mips_code_gen_t *cg);
15
16 /** set a block schedule number */
17 void mips_set_block_sched_nr(ir_node *block, int nr);
18
19 /** get a block schedule number */
20 int mips_get_block_sched_nr(ir_node *block);
21
22 #endif /* _BEARCH_MIPS_H_ */