Home
last modified time | relevance | path

Searched refs:num_preds (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_opphi_synonyms.cpp61 size_t num_preds = GetIRContext()->cfg()->preds(block.id()).size(); in Apply() local
62 if (num_preds == 0) { in Apply()
68 if (num_preds > 1) { in Apply()
126 if (num_preds > 1 && pred_with_alternatives != 0 && in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_opphi_synonyms.cpp61 size_t num_preds = GetIRContext()->cfg()->preds(block.id()).size(); in Apply() local
62 if (num_preds == 0) { in Apply()
68 if (num_preds > 1) { in Apply()
126 if (num_preds > 1 && pred_with_alternatives != 0 && in Apply()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_pass_add_opphi_synonyms.cpp59 size_t num_preds = GetIRContext()->cfg()->preds(block.id()).size(); in Apply() local
60 if (num_preds == 0) { in Apply()
66 if (num_preds > 1) { in Apply()
124 if (num_preds > 1 && pred_with_alternatives != 0 && in Apply()
/external/mesa3d/src/compiler/nir/
Dnir_phi_builder.c303 int num_preds = 0; in nir_phi_builder_finish() local
305 preds[num_preds++] = (nir_block *)entry->key; in nir_phi_builder_finish()
306 qsort(preds, num_preds, sizeof(*preds), compare_blocks); in nir_phi_builder_finish()
308 for (unsigned i = 0; i < num_preds; i++) { in nir_phi_builder_finish()
Dnir_instr_set.c223 unsigned num_preds = instr->instr.block->predecessors->entries; in hash_phi() local
224 NIR_VLA(nir_phi_src *, srcs, num_preds); in hash_phi()
230 qsort(srcs, num_preds, sizeof(nir_phi_src *), cmp_phi_src); in hash_phi()
232 for (i = 0; i < num_preds; i++) { in hash_phi()
/external/mesa3d/src/amd/compiler/
Daco_lower_phis.cpp238 unsigned num_preds = block->linear_preds.size(); in lower_divergent_bool_phi() local
239 if (phi->operands.size() != num_preds) { in lower_divergent_bool_phi()
240 …hi{create_instruction<Pseudo_instruction>(aco_opcode::p_linear_phi, Format::PSEUDO, num_preds, 1)}; in lower_divergent_bool_phi()
246 assert(phi->operands.size() == num_preds); in lower_divergent_bool_phi()
248 for (unsigned i = 0; i < num_preds; i++) in lower_divergent_bool_phi()