Lines Matching refs:nb_globals
229 s->nb_globals = 0; in tcg_context_init()
277 s->nb_temps = s->nb_globals; in tcg_func_start()
307 idx = s->nb_globals; in tcg_global_reg_new_internal()
308 tcg_temp_alloc(s, s->nb_globals + 1); in tcg_global_reg_new_internal()
309 ts = &s->temps[s->nb_globals]; in tcg_global_reg_new_internal()
315 s->nb_globals++; in tcg_global_reg_new_internal()
344 idx = s->nb_globals; in tcg_global_mem_new_internal()
348 tcg_temp_alloc(s, s->nb_globals + 2); in tcg_global_mem_new_internal()
349 ts = &s->temps[s->nb_globals]; in tcg_global_mem_new_internal()
379 s->nb_globals += 2; in tcg_global_mem_new_internal()
383 tcg_temp_alloc(s, s->nb_globals + 1); in tcg_global_mem_new_internal()
384 ts = &s->temps[s->nb_globals]; in tcg_global_mem_new_internal()
392 s->nb_globals++; in tcg_global_mem_new_internal()
499 assert(idx >= s->nb_globals && idx < s->nb_temps); in tcg_temp_free_internal()
767 for(i = 0; i < s->nb_globals; i++) { in tcg_reg_alloc_start()
775 for(i = s->nb_globals; i < s->nb_temps; i++) { in tcg_reg_alloc_start()
792 if (idx < s->nb_globals) { in tcg_get_arg_str_idx()
796 snprintf(buf, buf_size, "loc%d", idx - s->nb_globals); in tcg_get_arg_str_idx()
798 snprintf(buf, buf_size, "tmp%d", idx - s->nb_globals); in tcg_get_arg_str_idx()
1184 memset(dead_temps, 0, s->nb_globals); in tcg_la_func_end()
1185 memset(dead_temps + s->nb_globals, 1, s->nb_temps - s->nb_globals); in tcg_la_func_end()
1195 memset(dead_temps, 0, s->nb_globals); in tcg_la_bb_end()
1196 ts = &s->temps[s->nb_globals]; in tcg_la_bb_end()
1197 for(i = s->nb_globals; i < s->nb_temps; i++) { in tcg_la_bb_end()
1272 memset(dead_temps, 0, s->nb_globals); in tcg_liveness_analysis()
1343 memset(dead_temps, 0, s->nb_globals); in tcg_liveness_analysis()
1550 for(i = 0; i < s->nb_globals; i++) { in save_globals()
1562 for(i = s->nb_globals; i < s->nb_temps; i++) { in tcg_reg_alloc_bb_end()