Added some nodes
[libfirm] / ir / be / beabi.h
1
2 /**
3  * Backend ABI implementation.
4  */
5
6 #ifndef _BEABI_H
7 #define _BEABI_H
8
9 #include "bearch.h"
10 #include "beabi_t.h"
11
12 typedef enum {
13         BE_ABI_NONE = 0,
14         BE_ABI_LEFT_TO_RIGHT = 1,
15         BE_ABI_USE_PUSH = 2
16 } be_abi_call_flags_t;
17
18 void be_abi_call_set_flags(be_abi_call_t *call, be_abi_call_flags_t flags);
19 void be_abi_call_param_stack(be_abi_call_t *call, int pos);
20 void be_abi_call_param_reg(be_abi_call_t *call, int pos, const arch_register_t *reg);
21 void be_abi_call_res_reg(be_abi_call_t *call, int pos, const arch_register_t *reg);
22
23 #endif