Lines Matching refs:temp_count

174         size_t sz = BITSET_WORDS(ctx->temp_count) * sizeof(BITSET_WORD);  in mir_lower_special_reads()
226 unsigned spill_idx = ctx->temp_count; in mir_lower_special_reads()
228 for (unsigned i = 0; i < ctx->temp_count; ++i) { in mir_lower_special_reads()
339 if (ins->dest < ctx->temp_count) in mir_compute_interference()
350 uint16_t *live = mem_dup(_blk->live_out, ctx->temp_count * sizeof(uint16_t)); in mir_compute_interference()
358 if (dest < ctx->temp_count) { in mir_compute_interference()
359 for (unsigned i = 0; i < ctx->temp_count; ++i) in mir_compute_interference()
367 mir_liveness_ins_update(live, ins, ctx->temp_count); in mir_compute_interference()
402 if (!ctx->temp_count) in allocate_registers()
408 struct lcra_state *l = lcra_alloc_equations(ctx->temp_count + 1, 5); in allocate_registers()
409 unsigned node_r1 = ctx->temp_count; in allocate_registers()
434 unsigned *found_class = calloc(sizeof(unsigned), ctx->temp_count); in allocate_registers()
435 unsigned *min_alignment = calloc(sizeof(unsigned), ctx->temp_count); in allocate_registers()
436 unsigned *min_bound = calloc(sizeof(unsigned), ctx->temp_count); in allocate_registers()
449 if (s < ctx->temp_count) in allocate_registers()
459 if (s < ctx->temp_count) in allocate_registers()
509 for (unsigned i = 0; i < ctx->temp_count; ++i) { in allocate_registers()
565 if (ins->src[0] < ctx->temp_count) in allocate_registers()
568 if (ins->src[2] < ctx->temp_count) in allocate_registers()
571 if (ins->src[3] < ctx->temp_count) in allocate_registers()
574 if (ins->src[1] < ctx->temp_count) in allocate_registers()
577 if (ins->dest < ctx->temp_count) in allocate_registers()
613 if (ins->dest >= ctx->temp_count) in allocate_registers()
633 assert(ctx->blend_input < ctx->temp_count); in allocate_registers()
641 assert(ctx->blend_src1 < ctx->temp_count); in allocate_registers()
827 unsigned spill_index = ctx->temp_count; in mir_spill_register()