Home
last modified time | relevance | path

Searched refs:use_block (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_sink.c101 adjust_block_for_loops(nir_block *use_block, nir_block *def_block, in adjust_block_for_loops() argument
108 for (nir_block *cur_block = use_block; cur_block != def_block->imm_dom; in adjust_block_for_loops()
111 !loop_contains_block(def_loop, use_block)) { in adjust_block_for_loops()
112 use_block = cur_block; in adjust_block_for_loops()
119 if (loop_contains_block(following_loop, use_block)) { in adjust_block_for_loops()
120 use_block = cur_block; in adjust_block_for_loops()
126 return use_block; in adjust_block_for_loops()
142 nir_block *use_block = instr->block; in get_preferred_block() local
158 use_block = phi_lca; in get_preferred_block()
161 lca = nir_dominance_lca(lca, use_block); in get_preferred_block()
[all …]
Dnir_opt_dead_cf.c165 nir_block *use_block = in def_only_used_in_cf_node() local
168 if (use_block->index <= before->index || in def_only_used_in_cf_node()
169 use_block->index >= after->index) in def_only_used_in_cf_node()
Dnir_opt_if.c1008 nir_block *use_block = nir_cursor_current_block(cursor); in evaluate_if_condition() local
1009 if (nir_block_dominates(nir_if_first_then_block(nif), use_block)) { in evaluate_if_condition()
1012 } else if (nir_block_dominates(nir_if_first_else_block(nif), use_block)) { in evaluate_if_condition()
/third_party/spirv-tools/source/fuzz/
Dtransformation_outline_function.cpp430 auto use_block = ir_context->get_instr_block(use); in GetRegionInputIds() local
433 if (use_block && region_set.count(use_block) != 0) { in GetRegionInputIds()
466 auto use_block = ir_context->get_instr_block(use); in GetRegionInputIds() local
468 if (!use_block) { in GetRegionInputIds()
474 if (region_set.count(use_block) == 0) { in GetRegionInputIds()
480 if (use_block == region_exit_block && use->IsBlockTerminator()) { in GetRegionInputIds()
514 auto use_block = ir_context->get_instr_block(use); in GetRegionOutputIds() local
516 if (!use_block) { in GetRegionOutputIds()
522 if (region_set.count(use_block) != 0) { in GetRegionOutputIds()
524 if (use_block != region_exit_block || !use->IsBlockTerminator()) { in GetRegionOutputIds()
[all …]
Dtransformation_duplicate_region_with_selection.cpp256 opt::BasicBlock* use_block = in IsApplicable() local
258 return use_block == nullptr || in IsApplicable()
259 region_set.count(use_block) > 0; in IsApplicable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_outline_function.cpp442 auto use_block = ir_context->get_instr_block(use); in GetRegionInputIds() local
445 if (use_block && region_set.count(use_block) != 0) { in GetRegionInputIds()
478 auto use_block = ir_context->get_instr_block(use); in GetRegionInputIds() local
480 if (!use_block) { in GetRegionInputIds()
486 if (region_set.count(use_block) == 0) { in GetRegionInputIds()
492 if (use_block == region_exit_block && use->IsBlockTerminator()) { in GetRegionInputIds()
526 auto use_block = ir_context->get_instr_block(use); in GetRegionOutputIds() local
528 if (!use_block) { in GetRegionOutputIds()
534 if (region_set.count(use_block) != 0) { in GetRegionOutputIds()
536 if (use_block != region_exit_block || !use->IsBlockTerminator()) { in GetRegionOutputIds()
[all …]
Dtransformation_duplicate_region_with_selection.cpp256 opt::BasicBlock* use_block = in IsApplicable() local
258 return use_block == nullptr || in IsApplicable()
259 region_set.count(use_block) > 0; in IsApplicable()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_outline_function.cpp442 auto use_block = ir_context->get_instr_block(use); in GetRegionInputIds() local
445 if (use_block && region_set.count(use_block) != 0) { in GetRegionInputIds()
478 auto use_block = ir_context->get_instr_block(use); in GetRegionInputIds() local
480 if (!use_block) { in GetRegionInputIds()
486 if (region_set.count(use_block) == 0) { in GetRegionInputIds()
492 if (use_block == region_exit_block && use->IsBlockTerminator()) { in GetRegionInputIds()
526 auto use_block = ir_context->get_instr_block(use); in GetRegionOutputIds() local
528 if (!use_block) { in GetRegionOutputIds()
534 if (region_set.count(use_block) != 0) { in GetRegionOutputIds()
536 if (use_block != region_exit_block || !use->IsBlockTerminator()) { in GetRegionOutputIds()
[all …]
Dtransformation_duplicate_region_with_selection.cpp256 opt::BasicBlock* use_block = in IsApplicable() local
258 return use_block == nullptr || in IsApplicable()
259 region_set.count(use_block) > 0; in IsApplicable()
/third_party/spirv-tools/source/val/
Dvalidate_id.cpp72 if (const BasicBlock* use_block = use->block()) { in CheckIdDefinitionDominateUse() local
73 if (use_block->reachable() == false) continue; in CheckIdDefinitionDominateUse()
79 return _.diag(SPV_ERROR_INVALID_ID, use_block->label()) in CheckIdDefinitionDominateUse()
83 << _.getIdName(use_block->id()); in CheckIdDefinitionDominateUse()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_id.cpp72 if (const BasicBlock* use_block = use->block()) { in CheckIdDefinitionDominateUse() local
73 if (use_block->reachable() == false) continue; in CheckIdDefinitionDominateUse()
79 return _.diag(SPV_ERROR_INVALID_ID, use_block->label()) in CheckIdDefinitionDominateUse()
83 << _.getIdName(use_block->id()); in CheckIdDefinitionDominateUse()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_id.cpp72 if (const BasicBlock* use_block = use->block()) { in CheckIdDefinitionDominateUse() local
73 if (use_block->reachable() == false) continue; in CheckIdDefinitionDominateUse()
79 return _.diag(SPV_ERROR_INVALID_ID, use_block->label()) in CheckIdDefinitionDominateUse()
83 << _.getIdName(use_block->id()); in CheckIdDefinitionDominateUse()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_id.cpp3154 if (const BasicBlock* use_block = use->block()) { in CheckIdDefinitionDominateUse() local
3155 if (use_block->reachable() == false) continue; in CheckIdDefinitionDominateUse()
3163 << _.getIdName(use_block->id()); in CheckIdDefinitionDominateUse()