Home
last modified time | relevance | path

Searched refs:candidate_idx (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_scheduler.cpp663 for (int candidate_idx = idx - 1; k < max_moves && candidate_idx > (int)idx - window_size; in schedule_SMEM() local
664 candidate_idx--) { in schedule_SMEM()
665 assert(candidate_idx >= 0); in schedule_SMEM()
666 assert(candidate_idx == cursor.source_idx); in schedule_SMEM()
667 aco_ptr<Instruction>& candidate = block->instructions[candidate_idx]; in schedule_SMEM()
671 idx <= ctx.last_SMEM_dep_idx && candidate_idx < ctx.last_SMEM_dep_idx; in schedule_SMEM()
716 if (candidate_idx < ctx.last_SMEM_dep_idx) in schedule_SMEM()
726 for (int candidate_idx = idx + 1; k < max_moves && candidate_idx < (int)idx + window_size; in schedule_SMEM() local
727 candidate_idx++) { in schedule_SMEM()
728 assert(candidate_idx == up_cursor.source_idx); in schedule_SMEM()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_preamble.c422 unsigned candidate_idx = 0; in nir_opt_preamble() local
470 candidates[candidate_idx++] = state; in nir_opt_preamble()
476 assert(candidate_idx <= num_candidates); in nir_opt_preamble()
477 num_candidates = candidate_idx; in nir_opt_preamble()