/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | structured_construct_to_block_reduction_opportunity.cpp | 28 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/ |
D | structured_construct_to_block_reduction_opportunity.cpp | 28 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/ |
D | transformation_wrap_early_terminator_in_function.cpp | 68 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()
|
D | transformation_duplicate_region_with_selection.cpp | 106 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 …]
|
D | transformation_outline_function.cpp | 419 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 …]
|
D | transformation_add_copy_memory.cpp | 121 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()
|
D | transformation_add_dead_block.cpp | 122 auto enclosing_function = existing_block->GetParent(); in Apply() local 156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
|
D | transformation_function_call.cpp | 87 auto enclosing_function = block->GetParent(); in IsApplicable() local 148 if (message_.callee_id() == enclosing_function->result_id()) { in IsApplicable()
|
D | transformation_flatten_conditional_branch.cpp | 444 auto enclosing_function = header->GetParent(); in GetProblematicInstructionsIfConditionalCanBeFlattened() local 446 ir_context->GetDominatorAnalysis(enclosing_function); in GetProblematicInstructionsIfConditionalCanBeFlattened() 448 ir_context->GetPostDominatorAnalysis(enclosing_function); in GetProblematicInstructionsIfConditionalCanBeFlattened()
|
D | fuzzer_util.cpp | 289 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/ |
D | transformation_wrap_early_terminator_in_function.cpp | 68 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()
|
D | transformation_duplicate_region_with_selection.cpp | 106 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 …]
|
D | transformation_outline_function.cpp | 431 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 …]
|
D | transformation_add_copy_memory.cpp | 121 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()
|
D | transformation_add_dead_block.cpp | 122 auto enclosing_function = existing_block->GetParent(); in Apply() local 156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
|
D | transformation_function_call.cpp | 87 auto enclosing_function = block->GetParent(); in IsApplicable() local 148 if (message_.callee_id() == enclosing_function->result_id()) { in IsApplicable()
|
D | transformation_flatten_conditional_branch.cpp | 449 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/ |
D | transformation_wrap_early_terminator_in_function.cpp | 68 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()
|
D | transformation_duplicate_region_with_selection.cpp | 106 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 …]
|
D | transformation_outline_function.cpp | 431 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 …]
|
D | transformation_add_copy_memory.cpp | 121 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()
|
D | transformation_function_call.cpp | 87 auto enclosing_function = block->GetParent(); in IsApplicable() local 148 if (message_.callee_id() == enclosing_function->result_id()) { in IsApplicable()
|
D | transformation_add_dead_block.cpp | 122 auto enclosing_function = existing_block->GetParent(); in Apply() local 156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
|
D | transformation_flatten_conditional_branch.cpp | 449 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/ |
D | structured_loop_to_selection_reduction_opportunity.h | 34 opt::Function* enclosing_function) in StructuredLoopToSelectionReductionOpportunity() argument 37 enclosing_function_(enclosing_function) {} in StructuredLoopToSelectionReductionOpportunity()
|