Searched refs:num_preds (Results 1 – 2 of 2) sorted by relevance
278 int num_preds = 0; in nir_phi_builder_finish() local281 preds[num_preds++] = (nir_block *)entry->key; in nir_phi_builder_finish()282 qsort(preds, num_preds, sizeof(*preds), compare_blocks); in nir_phi_builder_finish()284 for (unsigned i = 0; i < num_preds; i++) { in nir_phi_builder_finish()
106 unsigned num_preds = instr->instr.block->predecessors->entries; in hash_phi() local107 NIR_VLA(nir_phi_src *, srcs, num_preds); in hash_phi()113 qsort(srcs, num_preds, sizeof(nir_phi_src *), cmp_phi_src); in hash_phi()115 for (i = 0; i < num_preds; i++) { in hash_phi()