Home
last modified time | relevance | path

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

12

/external/mesa3d/src/compiler/nir/
Dnir_opt_sink.c99 adjust_block_for_loops(nir_block *use_block, nir_block *def_block, in adjust_block_for_loops() argument
106 for (nir_block *cur_block = use_block; cur_block != def_block->imm_dom; in adjust_block_for_loops()
109 !loop_contains_block(def_loop, use_block)) { in adjust_block_for_loops()
110 use_block = cur_block; in adjust_block_for_loops()
117 if (loop_contains_block(following_loop, use_block)) { in adjust_block_for_loops()
118 use_block = cur_block; in adjust_block_for_loops()
124 return use_block; in adjust_block_for_loops()
140 nir_block *use_block = instr->block; in get_preferred_block() local
156 use_block = phi_lca; in get_preferred_block()
159 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()
/external/clang/test/CodeGenObjCXX/
Dmrc-weak.mm105 extern "C" void use_block(void (^)(void));
109 use_block(^{ [p run ]; }); function
119 // CHECK: call void @use_block
130 use_block(^{ [p run ]; });
135 // CHECK: call void @use_block
149 use_block(^{ [p run]; });
158 use_block(^{ [p run]; });
169 use_block(^{ [p run]; });
180 use_block(^{ [p run]; });
/external/llvm-project/clang/test/CodeGenObjCXX/
Dmrc-weak.mm105 extern "C" void use_block(void (^)(void));
109 use_block(^{ [p run ]; }); function
119 // CHECK: call void @use_block
130 use_block(^{ [p run ]; });
135 // CHECK: call void @use_block
149 use_block(^{ [p run]; });
158 use_block(^{ [p run]; });
169 use_block(^{ [p run]; });
180 use_block(^{ [p run]; });
/external/deqp-deps/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.cpp257 opt::BasicBlock* use_block = in IsApplicable() local
259 return use_block == nullptr || in IsApplicable()
260 region_set.count(use_block) > 0; in IsApplicable()
/external/swiftshader/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.cpp257 opt::BasicBlock* use_block = in IsApplicable() local
259 return use_block == nullptr || in IsApplicable()
260 region_set.count(use_block) > 0; in IsApplicable()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/llvm-project/clang/test/CodeGenObjC/
Dmrc-weak.m125 extern void use_block(void (^)(void)); function
129 use_block(^{ [p run ]; });
139 // CHECK: call void @use_block
150 use_block(^{ [p run ]; });
155 // CHECK: call void @use_block
169 use_block(^{ [p run]; });
178 use_block(^{ [p run]; });
189 use_block(^{ [p run]; });
Darc-foreach.m7 extern void use_block(void (^)(void)); function
21 use_block(^{ use(x); });
73 // CHECK-LP64-NEXT: call void @use_block(void ()* [[BLOCK1]])
103 use_block(^{ use(x); });
123 // CHECK-LP64: call void @use_block
Darc-block-copy-escape.m4 void use_block(block_t); function
/external/clang/test/CodeGenObjC/
Dmrc-weak.m125 extern void use_block(void (^)(void)); function
129 use_block(^{ [p run ]; });
139 // CHECK: call void @use_block
150 use_block(^{ [p run ]; });
155 // CHECK: call void @use_block
169 use_block(^{ [p run]; });
178 use_block(^{ [p run]; });
189 use_block(^{ [p run]; });
Darc-foreach.m7 extern void use_block(void (^)(void)); function
21 use_block(^{ use(x); });
69 // CHECK-LP64: call void @use_block(
94 use_block(^{ use(x); });
115 // CHECK-LP64: call void @use_block
Darc-block-copy-escape.m4 void use_block(block_t); function
/external/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()
/external/deqp-deps/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/clang/test/SemaCXX/
Dblocks.cpp92 void use_block(void (^)());
97 use_block(^{ in test()
/external/llvm-project/clang/test/SemaCXX/
Dblocks.cpp92 void use_block(void (^)());
97 use_block(^{ in test()
/external/clang/test/CodeGenCXX/
Dblocks.cpp241 void use_block(void (^)());
250 use_block(^{ in test()
/external/llvm-project/clang/test/CodeGenCXX/
Dblocks.cpp246 void use_block(void (^)());
255 use_block(^{ in test()
/external/llvm/test/Transforms/ObjCARC/
Dweak-copies.ll67 call void @use_block(void ()* %4) nounwind
75 declare void @use_block(void ()*) nounwind
/external/llvm-project/llvm/test/Transforms/ObjCARC/
Dweak-copies.ll67 call void @use_block(void ()* %4) nounwind
75 declare void @use_block(void ()*) nounwind

12