Home
last modified time | relevance | path

Searched refs:function_ (Results 1 – 25 of 109) sorted by relevance

12345

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dir_loader.cpp113 if (function_ != nullptr) { in AddInstruction()
117 function_ = MakeUnique<Function>(std::move(spv_inst)); in AddInstruction()
119 if (function_ == nullptr) { in AddInstruction()
128 function_->SetFunctionEnd(std::move(spv_inst)); in AddInstruction()
129 module_->AddFunction(std::move(function_)); in AddInstruction()
130 function_ = nullptr; in AddInstruction()
132 if (function_ == nullptr) { in AddInstruction()
142 if (function_ == nullptr) { in AddInstruction()
153 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
159 if (function_ == nullptr) { // Outside function definition in AddInstruction()
[all …]
Dmerge_return_pass.cpp51 function_ = function; in Process()
180 function_->AddBasicBlock(std::move(return_block)); in CreateReturnBlock()
181 final_return_block_ = &*(--function_->end()); in CreateReturnBlock()
185 assert(final_return_block_->GetParent() == function_ && in CreateReturnBlock()
196 context(), SpvOpLoad, function_->type_id(), loadId, in CreateReturn()
585 uint32_t return_type_id = function_->type_id(); in AddReturnValue()
598 auto insert_iter = function_->begin()->begin(); in AddReturnValue()
600 BasicBlock* entry_block = &*function_->begin(); in AddReturnValue()
606 function_->result_id(), var_id, {SpvDecorationRelaxedPrecision}); in AddReturnValue()
634 auto insert_iter = function_->begin()->begin(); in AddReturnFlag()
[all …]
Dloop_utils.h71 function_(*loop_->GetHeaderBlock()->GetParent()) {} in LoopUtils()
162 Function* GetFunction() const { return &function_; } in GetFunction()
168 Function& function_; variable
Dloop_unswitch_pass.cpp55 : function_(function), in LoopUnswitch()
93 Function::iterator it = function_->FindBlock(bb_to_find->id()); in FindBasicBlockPosition()
94 assert(it != function_->end() && "Basic Block not found"); in FindBasicBlockPosition()
108 bb->SetParent(function_); in CreateBasicBlock()
153 &context_->GetDominatorAnalysis(function_)->GetDomTree(); in PerformUnswitch()
388 function_->AddBasicBlocks(clone_result.cloned_bb_.begin(), in PerformUnswitch()
432 Function* function_; member in spvtools::opt::__anonddf24c8f0211::LoopUnswitch
569 condition, function_->entry().get(), in IsConditionNonConstantLoopInvariant()
570 context_->GetPostDominatorAnalysis(function_)->GetDomTree()); in IsConditionNonConstantLoopInvariant()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dir_loader.cpp113 if (function_ != nullptr) { in AddInstruction()
117 function_ = MakeUnique<Function>(std::move(spv_inst)); in AddInstruction()
119 if (function_ == nullptr) { in AddInstruction()
128 function_->SetFunctionEnd(std::move(spv_inst)); in AddInstruction()
129 module_->AddFunction(std::move(function_)); in AddInstruction()
130 function_ = nullptr; in AddInstruction()
132 if (function_ == nullptr) { in AddInstruction()
142 if (function_ == nullptr) { in AddInstruction()
153 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
159 if (function_ == nullptr) { // Outside function definition in AddInstruction()
[all …]
Dmerge_return_pass.cpp51 function_ = function; in Process()
180 function_->AddBasicBlock(std::move(return_block)); in CreateReturnBlock()
181 final_return_block_ = &*(--function_->end()); in CreateReturnBlock()
185 assert(final_return_block_->GetParent() == function_ && in CreateReturnBlock()
196 context(), SpvOpLoad, function_->type_id(), loadId, in CreateReturn()
585 uint32_t return_type_id = function_->type_id(); in AddReturnValue()
598 auto insert_iter = function_->begin()->begin(); in AddReturnValue()
600 BasicBlock* entry_block = &*function_->begin(); in AddReturnValue()
606 function_->result_id(), var_id, {SpvDecorationRelaxedPrecision}); in AddReturnValue()
634 auto insert_iter = function_->begin()->begin(); in AddReturnFlag()
[all …]
Dloop_utils.h71 function_(*loop_->GetHeaderBlock()->GetParent()) {} in LoopUtils()
162 Function* GetFunction() const { return &function_; } in GetFunction()
168 Function& function_; variable
Dloop_unswitch_pass.cpp55 : function_(function), in LoopUnswitch()
93 Function::iterator it = function_->FindBlock(bb_to_find->id()); in FindBasicBlockPosition()
94 assert(it != function_->end() && "Basic Block not found"); in FindBasicBlockPosition()
108 bb->SetParent(function_); in CreateBasicBlock()
153 &context_->GetDominatorAnalysis(function_)->GetDomTree(); in PerformUnswitch()
388 function_->AddBasicBlocks(clone_result.cloned_bb_.begin(), in PerformUnswitch()
432 Function* function_; member in spvtools::opt::__anon45a5931c0211::LoopUnswitch
569 condition, function_->entry().get(), in IsConditionNonConstantLoopInvariant()
570 context_->GetPostDominatorAnalysis(function_)->GetDomTree()); in IsConditionNonConstantLoopInvariant()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dir_loader.cpp113 if (function_ != nullptr) { in AddInstruction()
117 function_ = MakeUnique<Function>(std::move(spv_inst)); in AddInstruction()
119 if (function_ == nullptr) { in AddInstruction()
128 function_->SetFunctionEnd(std::move(spv_inst)); in AddInstruction()
129 module_->AddFunction(std::move(function_)); in AddInstruction()
130 function_ = nullptr; in AddInstruction()
132 if (function_ == nullptr) { in AddInstruction()
142 if (function_ == nullptr) { in AddInstruction()
153 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
159 if (function_ == nullptr) { // Outside function definition in AddInstruction()
[all …]
Dmerge_return_pass.cpp51 function_ = function; in Process()
180 function_->AddBasicBlock(std::move(return_block)); in CreateReturnBlock()
181 final_return_block_ = &*(--function_->end()); in CreateReturnBlock()
185 assert(final_return_block_->GetParent() == function_ && in CreateReturnBlock()
196 context(), SpvOpLoad, function_->type_id(), loadId, in CreateReturn()
585 uint32_t return_type_id = function_->type_id(); in AddReturnValue()
598 auto insert_iter = function_->begin()->begin(); in AddReturnValue()
600 BasicBlock* entry_block = &*function_->begin(); in AddReturnValue()
606 function_->result_id(), var_id, {SpvDecorationRelaxedPrecision}); in AddReturnValue()
634 auto insert_iter = function_->begin()->begin(); in AddReturnFlag()
[all …]
Dloop_utils.h71 function_(*loop_->GetHeaderBlock()->GetParent()) {} in LoopUtils()
162 Function* GetFunction() const { return &function_; } in GetFunction()
168 Function& function_; variable
Dloop_unswitch_pass.cpp55 : function_(function), in LoopUnswitch()
93 Function::iterator it = function_->FindBlock(bb_to_find->id()); in FindBasicBlockPosition()
94 assert(it != function_->end() && "Basic Block not found"); in FindBasicBlockPosition()
108 bb->SetParent(function_); in CreateBasicBlock()
153 &context_->GetDominatorAnalysis(function_)->GetDomTree(); in PerformUnswitch()
388 function_->AddBasicBlocks(clone_result.cloned_bb_.begin(), in PerformUnswitch()
432 Function* function_; member in spvtools::opt::__anon94fc98220211::LoopUnswitch
569 condition, function_->entry().get(), in IsConditionNonConstantLoopInvariant()
570 context_->GetPostDominatorAnalysis(function_)->GetDomTree()); in IsConditionNonConstantLoopInvariant()
/external/protobuf/src/google/protobuf/stubs/
Dcallback.h127 : function_(function), self_deleting_(self_deleting) {} in FunctionClosure0()
132 function_(); in Run()
137 FunctionType function_;
169 : function_(function), self_deleting_(self_deleting), in FunctionClosure1()
175 function_(arg1_); in Run()
180 FunctionType function_;
216 : function_(function), self_deleting_(self_deleting), in FunctionClosure2()
222 function_(arg1_, arg2_); in Run()
227 FunctionType function_;
264 : function_(function), self_deleting_(self_deleting) {} in FunctionResultCallback_0_0()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/reduce/
Dmerge_blocks_reduction_opportunity.cpp28 function_ = function; in MergeBlocksReductionOpportunity()
66 for (auto bi = function_->begin(); bi != function_->end(); ++bi) { in Apply()
68 opt::blockmergeutil::MergeWithSuccessor(context_, function_, bi); in Apply()
Dremove_block_reduction_opportunity.cpp24 : context_(context), function_(function), block_(block) { in RemoveBlockReductionOpportunity()
38 for (auto bi = function_->begin(); bi != function_->end(); ++bi) { in Apply()
Dremove_function_reduction_opportunity.h31 : context_(context), function_(function) {} in RemoveFunctionReductionOpportunity()
43 opt::Function* function_; variable
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dmerge_blocks_reduction_opportunity.cpp28 function_ = function; in MergeBlocksReductionOpportunity()
66 for (auto bi = function_->begin(); bi != function_->end(); ++bi) { in Apply()
68 opt::blockmergeutil::MergeWithSuccessor(context_, function_, bi); in Apply()
Dremove_block_reduction_opportunity.cpp24 : function_(function), block_(block) { in RemoveBlockReductionOpportunity()
39 for (auto bi = function_->begin(); bi != function_->end(); ++bi) { in Apply()
Dremove_function_reduction_opportunity.h31 : context_(context), function_(function) {} in RemoveFunctionReductionOpportunity()
43 opt::Function* function_; variable
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dmerge_blocks_reduction_opportunity.cpp28 function_ = function; in MergeBlocksReductionOpportunity()
66 for (auto bi = function_->begin(); bi != function_->end(); ++bi) { in Apply()
68 opt::blockmergeutil::MergeWithSuccessor(context_, function_, bi); in Apply()
Dremove_block_reduction_opportunity.cpp24 : function_(function), block_(block) { in RemoveBlockReductionOpportunity()
39 for (auto bi = function_->begin(); bi != function_->end(); ++bi) { in Apply()
Dremove_function_reduction_opportunity.h31 : context_(context), function_(function) {} in RemoveFunctionReductionOpportunity()
43 opt::Function* function_; variable
/external/libchrome/base/memory/
Dprotected_memory_cfi.h37 explicit UnsanitizedCfiCall(FunctionType function) : function_(function) {} in UnsanitizedCfiCall()
43 return function_(std::forward<Args>(args)...); in operator()
47 FunctionType function_;
/external/tensorflow/tensorflow/core/platform/
Dmutex.h132 bool (*function_)(void*); // predicate of form (*function_)(arg_) variable
259 bool (*fn)(T*) = reinterpret_cast<bool (*)(T*)>(cond->function_); in CallFunction()
266 function_(reinterpret_cast<bool (*)(void*)>(func)), in Condition()
280 function_(nullptr), in Condition()
287 function_(nullptr), in Condition()
298 function_(nullptr), in Condition()
/external/pigweed/pw_kvs/public/pw_kvs/
Dio.h78 : function_(function) {}
82 return function_(data);
85 StatusWithSize (*function_)(std::span<const std::byte>);

12345