- Added 2 new blockschedulers, a greedy algorithm and an "optimal" ILP that
[libfirm] / ir / be / ia32 / ia32_util.h
1 /**
2  * Contains some useful functions for ia32 backend.
3  * @author Christian Wuerdig
4  * $Id$
5  */
6
7 #ifndef _IA32_UTIL_H_
8 #define _IA32_UTIL_H_
9
10 /**
11  * Returns the first Proj with given mode connected to irn.
12  * @param irn  The irn
13  * @param First proj with mode == mode or NULL if none found
14  */
15 ir_node *ia32_get_proj_for_mode(const ir_node *irn, ir_mode *mode);
16
17 /**
18  * Returns the first Proj with mode != mode_M connected to irn.
19  * @param irn  The irn
20  * @param First proj with mode != mode_M or NULL if none found
21  */
22 ir_node *ia32_get_res_proj(const ir_node *irn);
23
24 #endif /* _IA32_UTIL_H_ */