#define HASH_LOOP_INFO(info) (HASH_PTR((info)->loop) ^ HASH_PTR((info)->cls))
-typedef struct _be_loop_info_t {
+typedef struct be_loop_info_t {
ir_loop *loop;
const arch_register_class_t *cls;
unsigned max_pressure;
} be_loop_info_t;
-struct _be_loopana_t {
+struct be_loopana_t {
set *data;
ir_graph *irg;
};
if (cls != NULL) {
be_compute_loop_pressure(loop_ana, irg_loop, cls);
} else {
- for (i = arch_env_get_n_reg_class(arch_env) - 1; i >= 0; --i) {
- const arch_register_class_t *cls = arch_env_get_reg_class(arch_env, i);
+ for (i = arch_env->n_register_classes - 1; i >= 0; --i) {
+ const arch_register_class_t *cls = &arch_env->register_classes[i];
DBG((dbg, LEVEL_1, "\n=====================================================\n", cls->name));
DBG((dbg, LEVEL_1, " Computing register pressure for class %s:\n", cls->name));
DBG((dbg, LEVEL_1, "=====================================================\n", cls->name));