9 #ifndef FIRM_BE_AMD64_GEN_AMD64_REGALLOC_IF_H 10 #define FIRM_BE_AMD64_GEN_AMD64_REGALLOC_IF_H 118 N_amd64_flags_REGS = 1,
119 N_amd64_gp_REGS = 16,
120 N_amd64_x87_REGS = 8,
121 N_amd64_xmm_REGS = 16,
133 extern const arch_register_req_t amd64_class_reg_req_flags;
134 extern const arch_register_req_t amd64_single_reg_req_flags_eflags;
135 extern const arch_register_req_t amd64_class_reg_req_gp;
136 extern const arch_register_req_t amd64_single_reg_req_gp_rax;
137 extern const arch_register_req_t amd64_single_reg_req_gp_rcx;
138 extern const arch_register_req_t amd64_single_reg_req_gp_rdx;
139 extern const arch_register_req_t amd64_single_reg_req_gp_rsi;
140 extern const arch_register_req_t amd64_single_reg_req_gp_rdi;
141 extern const arch_register_req_t amd64_single_reg_req_gp_rbx;
142 extern const arch_register_req_t amd64_single_reg_req_gp_rbp;
143 extern const arch_register_req_t amd64_single_reg_req_gp_rsp;
144 extern const arch_register_req_t amd64_single_reg_req_gp_r8;
145 extern const arch_register_req_t amd64_single_reg_req_gp_r9;
146 extern const arch_register_req_t amd64_single_reg_req_gp_r10;
147 extern const arch_register_req_t amd64_single_reg_req_gp_r11;
148 extern const arch_register_req_t amd64_single_reg_req_gp_r12;
149 extern const arch_register_req_t amd64_single_reg_req_gp_r13;
150 extern const arch_register_req_t amd64_single_reg_req_gp_r14;
151 extern const arch_register_req_t amd64_single_reg_req_gp_r15;
152 extern const arch_register_req_t amd64_class_reg_req_x87;
153 extern const arch_register_req_t amd64_single_reg_req_x87_st0;
154 extern const arch_register_req_t amd64_single_reg_req_x87_st1;
155 extern const arch_register_req_t amd64_single_reg_req_x87_st2;
156 extern const arch_register_req_t amd64_single_reg_req_x87_st3;
157 extern const arch_register_req_t amd64_single_reg_req_x87_st4;
158 extern const arch_register_req_t amd64_single_reg_req_x87_st5;
159 extern const arch_register_req_t amd64_single_reg_req_x87_st6;
160 extern const arch_register_req_t amd64_single_reg_req_x87_st7;
161 extern const arch_register_req_t amd64_class_reg_req_xmm;
162 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm0;
163 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm1;
164 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm2;
165 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm3;
166 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm4;
167 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm5;
168 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm6;
169 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm7;
170 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm8;
171 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm9;
172 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm10;
173 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm11;
174 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm12;
175 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm13;
176 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm14;
177 extern const arch_register_req_t amd64_single_reg_req_xmm_xmm15;
180 extern const arch_register_t amd64_registers[N_AMD64_REGISTERS];
182 extern arch_register_class_t amd64_reg_classes[N_AMD64_CLASSES];
184 void amd64_register_init(
void);