/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_sink.c | 101 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 …]
|
D | nir_opt_dead_cf.c | 165 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()
|
D | nir_opt_if.c | 1008 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/ |
D | transformation_outline_function.cpp | 430 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 …]
|
D | transformation_duplicate_region_with_selection.cpp | 256 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/ |
D | transformation_outline_function.cpp | 442 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 …]
|
D | transformation_duplicate_region_with_selection.cpp | 256 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/ |
D | transformation_outline_function.cpp | 442 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 …]
|
D | transformation_duplicate_region_with_selection.cpp | 256 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/ |
D | validate_id.cpp | 72 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/ |
D | validate_id.cpp | 72 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/ |
D | validate_id.cpp | 72 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/ |
D | validate_id.cpp | 3154 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()
|