Lines Matching refs:map
139 void ppHRegRemap ( HRegRemap* map )
143 for (i = 0; i < map->n_used; i++) {
145 ppHReg(map->orig[i]);
147 ppHReg(map->replacement[i]);
154 void initHRegRemap ( HRegRemap* map )
156 map->n_used = 0;
160 void addToHRegRemap ( HRegRemap* map, HReg orig, HReg replacement )
163 for (i = 0; i < map->n_used; i++)
164 if (map->orig[i] == orig)
171 vassert(map->n_used+1 < N_HREG_REMAP);
172 map->orig[map->n_used] = orig;
173 map->replacement[map->n_used] = replacement;
174 map->n_used++;
178 HReg lookupHRegRemap ( HRegRemap* map, HReg orig )
183 for (i = 0; i < map->n_used; i++)
184 if (map->orig[i] == orig)
185 return map->replacement[i];