Searched refs:first_writes (Results 1 – 1 of 1) sorted by relevance
559 void get_last_temp_read_first_temp_write(int *last_reads, int *first_writes);4624 glsl_to_tgsi_visitor::get_last_temp_read_first_temp_write(int *last_reads, int *first_writes) in get_last_temp_read_first_temp_write() argument4637 if (first_writes[inst->dst[j].index] == -1) in get_last_temp_read_first_temp_write()4638 first_writes[inst->dst[j].index] = (depth == 0) ? i : loop_start; in get_last_temp_read_first_temp_write()5122 int *first_writes = rzalloc_array(mem_ctx, int, this->next_temp); in merge_registers() local5132 first_writes[i] = -1; in merge_registers()5134 get_last_temp_read_first_temp_write(last_reads, first_writes); in merge_registers()5140 if (last_reads[i] < 0 || first_writes[i] < 0) continue; in merge_registers()5144 if (last_reads[j] < 0 || first_writes[j] < 0) continue; in merge_registers()5150 if (first_writes[i] <= first_writes[j] && in merge_registers()[all …]