9 #ifndef FIRM_BE_TEMPLATE_GEN_TEMPLATE_REGALLOC_IF_H
10 #define FIRM_BE_TEMPLATE_GEN_TEMPLATE_REGALLOC_IF_H
12 #include "TEMPLATE_nodes_attr.h"
95 N_TEMPLATE_fp_REGS = 16,
96 N_TEMPLATE_gp_REGS = 16,
103 N_TEMPLATE_CLASSES = 2
106 extern const arch_register_req_t TEMPLATE_class_reg_req_fp;
107 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f0;
108 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f1;
109 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f2;
110 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f3;
111 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f4;
112 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f5;
113 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f6;
114 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f7;
115 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f8;
116 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f9;
117 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f10;
118 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f11;
119 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f12;
120 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f13;
121 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f14;
122 extern const arch_register_req_t TEMPLATE_single_reg_req_fp_f15;
123 extern const arch_register_req_t TEMPLATE_class_reg_req_gp;
124 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r0;
125 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r1;
126 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r2;
127 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r3;
128 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r4;
129 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r5;
130 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r6;
131 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r7;
132 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r8;
133 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r9;
134 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r10;
135 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r11;
136 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r12;
137 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_r13;
138 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_sp;
139 extern const arch_register_req_t TEMPLATE_single_reg_req_gp_bp;
142 extern const arch_register_t TEMPLATE_registers[N_TEMPLATE_REGISTERS];
144 extern arch_register_class_t TEMPLATE_reg_classes[N_TEMPLATE_CLASSES];
146 void TEMPLATE_register_init(
void);