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