Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_sink.c104 adjust_block_for_loops(nir_block *use_block, nir_block *def_block, in adjust_block_for_loops() argument
111 for (nir_block *cur_block = use_block; cur_block != def_block->imm_dom; in adjust_block_for_loops()
114 !loop_contains_block(def_loop, use_block)) { in adjust_block_for_loops()
115 use_block = cur_block; in adjust_block_for_loops()
122 if (loop_contains_block(following_loop, use_block)) { in adjust_block_for_loops()
123 use_block = cur_block; in adjust_block_for_loops()
129 return use_block; in adjust_block_for_loops()
145 nir_block *use_block = instr->block; in get_preferred_block() local
161 use_block = phi_lca; in get_preferred_block()
164 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.c1200 nir_block *use_block = nir_cursor_current_block(cursor); in evaluate_if_condition() local
1201 if (nir_block_dominates(nir_if_first_then_block(nif), use_block)) { in evaluate_if_condition()
1204 } 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.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/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/node/deps/v8/src/compiler/
Dscheduler.cc1643 BasicBlock* use_block = GetBlockForUse(edge); in SplitNode() local
1644 if (use_block == nullptr || IsMarked(use_block)) continue; in SplitNode()
1645 if (use_block == block) { in SplitNode()
1651 MarkBlock(use_block); in SplitNode()
1686 BasicBlock* use_block = GetBlockForUse(edge); in SplitNode() local
1687 if (use_block == nullptr) continue; in SplitNode()
1688 while (IsMarked(use_block->dominator())) { in SplitNode()
1689 use_block = use_block->dominator(); in SplitNode()
1691 auto& use_node = dominators[use_block]; in SplitNode()
1695 block = use_block; in SplitNode()
[all …]
Dverifier.cc1903 BasicBlock* container, BasicBlock* use_block, in HasDominatingDef() argument
1905 BasicBlock* block = use_block; in HasDominatingDef()
1936 BasicBlock* use_block = block; in CheckInputsDominate() local
1938 use_block = use_block->PredecessorAt(j); in CheckInputsDominate()
1939 use_pos = static_cast<int>(use_block->NodeCount()) - 1; in CheckInputsDominate()
1942 if (!HasDominatingDef(schedule, node->InputAt(j), block, use_block, in CheckInputsDominate()
/third_party/rust/crates/bindgen/bindgen/codegen/
Dmod.rs4645 let use_block = if ctx.options().block_extern_crate { in prepend_block_header() localVariable
4655 let items = vec![use_block]; in prepend_block_header()