Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_add_opphi_synonyms.cpp60 size_t num_preds = GetIRContext()->cfg()->preds(block.id()).size(); in Apply() local
61 if (num_preds == 0) { in Apply()
67 if (num_preds > 1) { in Apply()
125 if (num_preds > 1 && pred_with_alternatives != 0 && in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_opphi_synonyms.cpp60 size_t num_preds = GetIRContext()->cfg()->preds(block.id()).size(); in Apply() local
61 if (num_preds == 0) { in Apply()
67 if (num_preds > 1) { in Apply()
125 if (num_preds > 1 && pred_with_alternatives != 0 && in Apply()
/third_party/spirv-tools/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()
/third_party/mesa3d/src/amd/compiler/
Daco_lower_phis.cpp294 unsigned num_preds = block->linear_preds.size(); in lower_divergent_bool_phi() local
295 if (phi->operands.size() != num_preds) { in lower_divergent_bool_phi()
297 aco_opcode::p_linear_phi, Format::PSEUDO, num_preds, 1)}; in lower_divergent_bool_phi()
303 assert(phi->operands.size() == num_preds); in lower_divergent_bool_phi()
305 for (unsigned i = 0; i < num_preds; i++) in lower_divergent_bool_phi()
/third_party/mesa3d/src/compiler/nir/
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()