Home
last modified time | relevance | path

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

12

/external/deqp-deps/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/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()
/external/deqp-deps/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()
/external/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()
810 auto enclosing_function = original_region_entry_block.GetParent(); in PopulateOutlinedFunction() local
811 for (auto block_it = enclosing_function->begin(); in PopulateOutlinedFunction()
812 block_it != enclosing_function->end();) { in PopulateOutlinedFunction()
[all …]
Dtransformation_add_copy_memory.cpp124 opt::Function* enclosing_function = enclosing_block->GetParent(); in Apply() local
127 enclosing_function->result_id(), message_.initializer_id()); in Apply()
129 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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
810 auto enclosing_function = original_region_entry_block.GetParent(); in PopulateOutlinedFunction() local
811 for (auto block_it = enclosing_function->begin(); in PopulateOutlinedFunction()
812 block_it != enclosing_function->end();) { in PopulateOutlinedFunction()
[all …]
Dtransformation_add_copy_memory.cpp124 opt::Function* enclosing_function = enclosing_block->GetParent(); in Apply() local
127 enclosing_function->result_id(), message_.initializer_id()); in Apply()
129 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()
/external/tensorflow/tensorflow/dtensor/mlir/
Dshape_utils.cc55 auto enclosing_function = op->getParentOfType<mlir::func::FuncOp>(); in ExtractGlobalInputShape() local
56 if (!enclosing_function) in ExtractGlobalInputShape()
64 enclosing_function.getArgAttrOfType<mlir::TF::ShapeAttr>( in ExtractGlobalInputShape()

12