9 #ifndef FIRM_BE_IA32_GEN_IA32_REGALLOC_IF_H
10 #define FIRM_BE_IA32_GEN_IA32_REGALLOC_IF_H
12 #include "ia32_nodes_attr.h"
98 N_ia32_flags_REGS = 1,
100 N_ia32_fp_cw_REGS = 1,
115 extern const arch_register_req_t ia32_class_reg_req_flags;
116 extern const arch_register_req_t ia32_single_reg_req_flags_eflags;
117 extern const arch_register_req_t ia32_class_reg_req_fp;
118 extern const arch_register_req_t ia32_single_reg_req_fp_st0;
119 extern const arch_register_req_t ia32_single_reg_req_fp_st1;
120 extern const arch_register_req_t ia32_single_reg_req_fp_st2;
121 extern const arch_register_req_t ia32_single_reg_req_fp_st3;
122 extern const arch_register_req_t ia32_single_reg_req_fp_st4;
123 extern const arch_register_req_t ia32_single_reg_req_fp_st5;
124 extern const arch_register_req_t ia32_single_reg_req_fp_st6;
125 extern const arch_register_req_t ia32_single_reg_req_fp_st7;
126 extern const arch_register_req_t ia32_single_reg_req_fp_fp_NOREG;
127 extern const arch_register_req_t ia32_class_reg_req_fp_cw;
128 extern const arch_register_req_t ia32_single_reg_req_fp_cw_fpcw;
129 extern const arch_register_req_t ia32_class_reg_req_gp;
130 extern const arch_register_req_t ia32_single_reg_req_gp_edx;
131 extern const arch_register_req_t ia32_single_reg_req_gp_ecx;
132 extern const arch_register_req_t ia32_single_reg_req_gp_eax;
133 extern const arch_register_req_t ia32_single_reg_req_gp_ebx;
134 extern const arch_register_req_t ia32_single_reg_req_gp_esi;
135 extern const arch_register_req_t ia32_single_reg_req_gp_edi;
136 extern const arch_register_req_t ia32_single_reg_req_gp_ebp;
137 extern const arch_register_req_t ia32_single_reg_req_gp_esp;
138 extern const arch_register_req_t ia32_single_reg_req_gp_gp_NOREG;
139 extern const arch_register_req_t ia32_class_reg_req_xmm;
140 extern const arch_register_req_t ia32_single_reg_req_xmm_xmm0;
141 extern const arch_register_req_t ia32_single_reg_req_xmm_xmm1;
142 extern const arch_register_req_t ia32_single_reg_req_xmm_xmm2;
143 extern const arch_register_req_t ia32_single_reg_req_xmm_xmm3;
144 extern const arch_register_req_t ia32_single_reg_req_xmm_xmm4;
145 extern const arch_register_req_t ia32_single_reg_req_xmm_xmm5;
146 extern const arch_register_req_t ia32_single_reg_req_xmm_xmm6;
147 extern const arch_register_req_t ia32_single_reg_req_xmm_xmm7;
148 extern const arch_register_req_t ia32_single_reg_req_xmm_xmm_NOREG;
151 extern const arch_register_t ia32_registers[N_IA32_REGISTERS];
153 extern arch_register_class_t ia32_reg_classes[N_IA32_CLASSES];
155 void ia32_register_init(
void);