Home
last modified time | relevance | path

Searched refs:enclosing_function (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dstructured_construct_to_block_reduction_opportunity.cpp28 auto* enclosing_function = header_block->GetParent(); in Apply() local
32 auto* dominators = context_->GetDominatorAnalysis(enclosing_function); in Apply()
33 auto* postdominators = context_->GetPostDominatorAnalysis(enclosing_function); in Apply()
37 for (auto block_it = enclosing_function->begin(); in Apply()
38 block_it != enclosing_function->end();) { in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dstructured_construct_to_block_reduction_opportunity.cpp28 auto* enclosing_function = header_block->GetParent(); in Apply() local
32 auto* dominators = context_->GetDominatorAnalysis(enclosing_function); in Apply()
33 auto* postdominators = context_->GetPostDominatorAnalysis(enclosing_function); in Apply()
37 for (auto block_it = enclosing_function->begin(); in Apply()
38 block_it != enclosing_function->end();) { in Apply()
/third_party/spirv-tools/source/fuzz/
Dtransformation_wrap_early_terminator_in_function.cpp68 auto enclosing_function = in IsApplicable() local
72 if (wrapper_function->result_id() == enclosing_function->result_id()) { in IsApplicable()
76 ->GetType(enclosing_function->type_id()) in IsApplicable()
85 enclosing_function->type_id()) { in IsApplicable()
102 auto enclosing_function = enclosing_block->GetParent(); in Apply() local
129 ->GetType(enclosing_function->type_id()) in Apply()
Dtransformation_duplicate_region_with_selection.cpp106 auto enclosing_function = entry_block->GetParent(); in IsApplicable() local
109 if (&*enclosing_function->begin() == entry_block) { in IsApplicable()
136 for (auto& block : *enclosing_function) { in IsApplicable()
303 auto enclosing_function = entry_block->GetParent(); in Apply() local
405 for (auto& block : *enclosing_function) { in Apply()
475 enclosing_function->InsertBasicBlockAfter(std::move(duplicated_block), in Apply()
478 enclosing_function->InsertBasicBlockAfter(std::move(duplicated_block), in Apply()
623 enclosing_function->InsertBasicBlockAfter(std::move(merge_block), in Apply()
628 enclosing_function->InsertBasicBlockBefore(std::move(new_entry_block), in Apply()
645 auto enclosing_function = entry_block->GetParent(); in GetRegionBlocks() local
[all …]
Dtransformation_outline_function.cpp419 auto enclosing_function = region_exit_block->GetParent(); in GetRegionInputIds() local
422 enclosing_function->ForEachParam( in GetRegionInputIds()
443 for (auto& block : *enclosing_function) { in GetRegionInputIds()
542 auto enclosing_function = entry_block->GetParent(); in GetRegionBlocks() local
544 ir_context->GetDominatorAnalysis(enclosing_function); in GetRegionBlocks()
546 ir_context->GetPostDominatorAnalysis(enclosing_function); in GetRegionBlocks()
549 for (auto& block : *enclosing_function) { in GetRegionBlocks()
796 auto enclosing_function = original_region_entry_block.GetParent(); in PopulateOutlinedFunction() local
797 for (auto block_it = enclosing_function->begin(); in PopulateOutlinedFunction()
798 block_it != enclosing_function->end();) { in PopulateOutlinedFunction()
[all …]
Dtransformation_add_copy_memory.cpp121 opt::Function* enclosing_function = enclosing_block->GetParent(); in Apply() local
124 enclosing_function->result_id(), message_.initializer_id()); in Apply()
126 ir_context->set_instr_block(new_local, &*enclosing_function->entry()); in Apply()
Dtransformation_add_dead_block.cpp122 auto enclosing_function = existing_block->GetParent(); in Apply() local
156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
Dtransformation_function_call.cpp87 auto enclosing_function = block->GetParent(); in IsApplicable() local
148 if (message_.callee_id() == enclosing_function->result_id()) { in IsApplicable()
Dtransformation_flatten_conditional_branch.cpp444 auto enclosing_function = header->GetParent(); in GetProblematicInstructionsIfConditionalCanBeFlattened() local
446 ir_context->GetDominatorAnalysis(enclosing_function); in GetProblematicInstructionsIfConditionalCanBeFlattened()
448 ir_context->GetPostDominatorAnalysis(enclosing_function); in GetProblematicInstructionsIfConditionalCanBeFlattened()
Dfuzzer_util.cpp289 auto enclosing_function = bb->GetParent(); in BlockIsReachableInItsFunction() local
290 return context->GetDominatorAnalysis(enclosing_function) in BlockIsReachableInItsFunction()
291 ->Dominates(enclosing_function->entry().get(), bb); in BlockIsReachableInItsFunction()
647 auto enclosing_function = in IdIsAvailableAtUse() local
653 enclosing_function); in IdIsAvailableAtUse()
663 auto dominator_analysis = context->GetDominatorAnalysis(enclosing_function); in IdIsAvailableAtUse()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_wrap_early_terminator_in_function.cpp68 auto enclosing_function = in IsApplicable() local
72 if (wrapper_function->result_id() == enclosing_function->result_id()) { in IsApplicable()
76 ->GetType(enclosing_function->type_id()) in IsApplicable()
85 enclosing_function->type_id()) { in IsApplicable()
102 auto enclosing_function = enclosing_block->GetParent(); in Apply() local
129 ->GetType(enclosing_function->type_id()) in Apply()
Dtransformation_duplicate_region_with_selection.cpp106 auto enclosing_function = entry_block->GetParent(); in IsApplicable() local
109 if (&*enclosing_function->begin() == entry_block) { in IsApplicable()
136 for (auto& block : *enclosing_function) { in IsApplicable()
303 auto enclosing_function = entry_block->GetParent(); in Apply() local
405 for (auto& block : *enclosing_function) { in Apply()
475 enclosing_function->InsertBasicBlockAfter(std::move(duplicated_block), in Apply()
478 enclosing_function->InsertBasicBlockAfter(std::move(duplicated_block), in Apply()
623 enclosing_function->InsertBasicBlockAfter(std::move(merge_block), in Apply()
628 enclosing_function->InsertBasicBlockBefore(std::move(new_entry_block), in Apply()
645 auto enclosing_function = entry_block->GetParent(); in GetRegionBlocks() local
[all …]
Dtransformation_outline_function.cpp431 auto enclosing_function = region_exit_block->GetParent(); in GetRegionInputIds() local
434 enclosing_function->ForEachParam( in GetRegionInputIds()
455 for (auto& block : *enclosing_function) { in GetRegionInputIds()
554 auto enclosing_function = entry_block->GetParent(); in GetRegionBlocks() local
556 ir_context->GetDominatorAnalysis(enclosing_function); in GetRegionBlocks()
558 ir_context->GetPostDominatorAnalysis(enclosing_function); in GetRegionBlocks()
561 for (auto& block : *enclosing_function) { in GetRegionBlocks()
808 auto enclosing_function = original_region_entry_block.GetParent(); in PopulateOutlinedFunction() local
809 for (auto block_it = enclosing_function->begin(); in PopulateOutlinedFunction()
810 block_it != enclosing_function->end();) { in PopulateOutlinedFunction()
[all …]
Dtransformation_add_copy_memory.cpp121 opt::Function* enclosing_function = enclosing_block->GetParent(); in Apply() local
124 enclosing_function->result_id(), message_.initializer_id()); in Apply()
126 ir_context->set_instr_block(new_local, &*enclosing_function->entry()); in Apply()
Dtransformation_add_dead_block.cpp122 auto enclosing_function = existing_block->GetParent(); in Apply() local
156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
Dtransformation_function_call.cpp87 auto enclosing_function = block->GetParent(); in IsApplicable() local
148 if (message_.callee_id() == enclosing_function->result_id()) { in IsApplicable()
Dtransformation_flatten_conditional_branch.cpp449 auto enclosing_function = header->GetParent(); in GetProblematicInstructionsIfConditionalCanBeFlattened() local
451 ir_context->GetDominatorAnalysis(enclosing_function); in GetProblematicInstructionsIfConditionalCanBeFlattened()
453 ir_context->GetPostDominatorAnalysis(enclosing_function); in GetProblematicInstructionsIfConditionalCanBeFlattened()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_wrap_early_terminator_in_function.cpp68 auto enclosing_function = in IsApplicable() local
72 if (wrapper_function->result_id() == enclosing_function->result_id()) { in IsApplicable()
76 ->GetType(enclosing_function->type_id()) in IsApplicable()
85 enclosing_function->type_id()) { in IsApplicable()
102 auto enclosing_function = enclosing_block->GetParent(); in Apply() local
129 ->GetType(enclosing_function->type_id()) in Apply()
Dtransformation_duplicate_region_with_selection.cpp106 auto enclosing_function = entry_block->GetParent(); in IsApplicable() local
109 if (&*enclosing_function->begin() == entry_block) { in IsApplicable()
136 for (auto& block : *enclosing_function) { in IsApplicable()
303 auto enclosing_function = entry_block->GetParent(); in Apply() local
405 for (auto& block : *enclosing_function) { in Apply()
475 enclosing_function->InsertBasicBlockAfter(std::move(duplicated_block), in Apply()
478 enclosing_function->InsertBasicBlockAfter(std::move(duplicated_block), in Apply()
623 enclosing_function->InsertBasicBlockAfter(std::move(merge_block), in Apply()
628 enclosing_function->InsertBasicBlockBefore(std::move(new_entry_block), in Apply()
645 auto enclosing_function = entry_block->GetParent(); in GetRegionBlocks() local
[all …]
Dtransformation_outline_function.cpp431 auto enclosing_function = region_exit_block->GetParent(); in GetRegionInputIds() local
434 enclosing_function->ForEachParam( in GetRegionInputIds()
455 for (auto& block : *enclosing_function) { in GetRegionInputIds()
554 auto enclosing_function = entry_block->GetParent(); in GetRegionBlocks() local
556 ir_context->GetDominatorAnalysis(enclosing_function); in GetRegionBlocks()
558 ir_context->GetPostDominatorAnalysis(enclosing_function); in GetRegionBlocks()
561 for (auto& block : *enclosing_function) { in GetRegionBlocks()
808 auto enclosing_function = original_region_entry_block.GetParent(); in PopulateOutlinedFunction() local
809 for (auto block_it = enclosing_function->begin(); in PopulateOutlinedFunction()
810 block_it != enclosing_function->end();) { in PopulateOutlinedFunction()
[all …]
Dtransformation_add_copy_memory.cpp121 opt::Function* enclosing_function = enclosing_block->GetParent(); in Apply() local
124 enclosing_function->result_id(), message_.initializer_id()); in Apply()
126 ir_context->set_instr_block(new_local, &*enclosing_function->entry()); in Apply()
Dtransformation_function_call.cpp87 auto enclosing_function = block->GetParent(); in IsApplicable() local
148 if (message_.callee_id() == enclosing_function->result_id()) { in IsApplicable()
Dtransformation_add_dead_block.cpp122 auto enclosing_function = existing_block->GetParent(); in Apply() local
156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
Dtransformation_flatten_conditional_branch.cpp449 auto enclosing_function = header->GetParent(); in GetProblematicInstructionsIfConditionalCanBeFlattened() local
451 ir_context->GetDominatorAnalysis(enclosing_function); in GetProblematicInstructionsIfConditionalCanBeFlattened()
453 ir_context->GetPostDominatorAnalysis(enclosing_function); in GetProblematicInstructionsIfConditionalCanBeFlattened()
/third_party/spirv-tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.h34 opt::Function* enclosing_function) in StructuredLoopToSelectionReductionOpportunity() argument
37 enclosing_function_(enclosing_function) {} in StructuredLoopToSelectionReductionOpportunity()

12