Home
last modified time | relevance | path

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

1234

/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dir_loader.cpp47 if (function_ != nullptr) { in AddInstruction()
51 function_.reset(new Function(std::move(spv_inst))); in AddInstruction()
53 if (function_ == nullptr) { in AddInstruction()
62 function_->SetFunctionEnd(std::move(spv_inst)); in AddInstruction()
63 module_->AddFunction(std::move(function_)); in AddInstruction()
64 function_ = nullptr; in AddInstruction()
66 if (function_ == nullptr) { in AddInstruction()
76 if (function_ == nullptr) { in AddInstruction()
85 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
88 if (function_ == nullptr) { // Outside function definition in AddInstruction()
[all …]
Dbasic_block.h44 void SetParent(Function* function) { function_ = function; } in SetParent()
90 Function* function_;
98 : function_(nullptr), label_(std::move(label)) {} in BasicBlock()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dir_loader.cpp134 if (function_ != nullptr) { in AddInstruction()
138 function_ = MakeUnique<Function>(std::move(spv_inst)); in AddInstruction()
140 if (function_ == nullptr) { in AddInstruction()
149 function_->SetFunctionEnd(std::move(spv_inst)); in AddInstruction()
150 module_->AddFunction(std::move(function_)); in AddInstruction()
151 function_ = nullptr; in AddInstruction()
153 if (function_ == nullptr) { in AddInstruction()
163 if (function_ == nullptr) { in AddInstruction()
174 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
180 if (function_ == nullptr) { // Outside function definition in AddInstruction()
[all …]
Dmerge_return_pass.cpp51 function_ = function; in Process()
182 function_->AddBasicBlock(std::move(return_block)); in CreateReturnBlock()
183 final_return_block_ = &*(--function_->end()); in CreateReturnBlock()
187 assert(final_return_block_->GetParent() == function_ && in CreateReturnBlock()
198 context(), SpvOpLoad, function_->type_id(), loadId, in CreateReturn()
587 uint32_t return_type_id = function_->type_id(); in AddReturnValue()
600 auto insert_iter = function_->begin()->begin(); in AddReturnValue()
602 BasicBlock* entry_block = &*function_->begin(); in AddReturnValue()
608 function_->result_id(), var_id, {SpvDecorationRelaxedPrecision}); in AddReturnValue()
636 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::__anon5ddd74ae0211::LoopUnswitch
569 condition, function_->entry().get(), in IsConditionNonConstantLoopInvariant()
570 context_->GetPostDominatorAnalysis(function_)->GetDomTree()); in IsConditionNonConstantLoopInvariant()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dir_loader.cpp134 if (function_ != nullptr) { in AddInstruction()
138 function_ = MakeUnique<Function>(std::move(spv_inst)); in AddInstruction()
140 if (function_ == nullptr) { in AddInstruction()
149 function_->SetFunctionEnd(std::move(spv_inst)); in AddInstruction()
150 module_->AddFunction(std::move(function_)); in AddInstruction()
151 function_ = nullptr; in AddInstruction()
153 if (function_ == nullptr) { in AddInstruction()
163 if (function_ == nullptr) { in AddInstruction()
174 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
180 if (function_ == nullptr) { // Outside function definition in AddInstruction()
[all …]
Dmerge_return_pass.cpp51 function_ = function; in Process()
182 function_->AddBasicBlock(std::move(return_block)); in CreateReturnBlock()
183 final_return_block_ = &*(--function_->end()); in CreateReturnBlock()
187 assert(final_return_block_->GetParent() == function_ && in CreateReturnBlock()
198 context(), SpvOpLoad, function_->type_id(), loadId, in CreateReturn()
587 uint32_t return_type_id = function_->type_id(); in AddReturnValue()
600 auto insert_iter = function_->begin()->begin(); in AddReturnValue()
602 BasicBlock* entry_block = &*function_->begin(); in AddReturnValue()
608 function_->result_id(), var_id, {SpvDecorationRelaxedPrecision}); in AddReturnValue()
636 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::__anon117f0e9a0211::LoopUnswitch
569 condition, function_->entry().get(), in IsConditionNonConstantLoopInvariant()
570 context_->GetPostDominatorAnalysis(function_)->GetDomTree()); in IsConditionNonConstantLoopInvariant()
/third_party/spirv-tools/source/opt/
Dir_loader.cpp134 if (function_ != nullptr) { in AddInstruction()
138 function_ = MakeUnique<Function>(std::move(spv_inst)); in AddInstruction()
140 if (function_ == nullptr) { in AddInstruction()
149 function_->SetFunctionEnd(std::move(spv_inst)); in AddInstruction()
150 module_->AddFunction(std::move(function_)); in AddInstruction()
151 function_ = nullptr; in AddInstruction()
153 if (function_ == nullptr) { in AddInstruction()
163 if (function_ == nullptr) { in AddInstruction()
174 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
180 if (function_ == nullptr) { // Outside function definition in AddInstruction()
[all …]
Dmerge_return_pass.cpp51 function_ = function; in Process()
182 function_->AddBasicBlock(std::move(return_block)); in CreateReturnBlock()
183 final_return_block_ = &*(--function_->end()); in CreateReturnBlock()
187 assert(final_return_block_->GetParent() == function_ && in CreateReturnBlock()
198 context(), SpvOpLoad, function_->type_id(), loadId, in CreateReturn()
588 uint32_t return_type_id = function_->type_id(); in AddReturnValue()
601 auto insert_iter = function_->begin()->begin(); in AddReturnValue()
603 BasicBlock* entry_block = &*function_->begin(); in AddReturnValue()
609 function_->result_id(), var_id, {SpvDecorationRelaxedPrecision}); in AddReturnValue()
637 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::__anon67cc45590211::LoopUnswitch
569 condition, function_->entry().get(), in IsConditionNonConstantLoopInvariant()
570 context_->GetPostDominatorAnalysis(function_)->GetDomTree()); in IsConditionNonConstantLoopInvariant()
/third_party/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 …]
/third_party/skia/third_party/externals/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 : context_(context), function_(function), block_(block) { in RemoveBlockReductionOpportunity()
38 for (auto bi = function_->begin(); bi != function_->end(); ++bi) { in Apply()
/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 : context_(context), function_(function), block_(block) { in RemoveBlockReductionOpportunity()
38 for (auto bi = function_->begin(); bi != function_->end(); ++bi) { in Apply()
/third_party/skia/third_party/externals/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 : context_(context), function_(function), block_(block) { in RemoveBlockReductionOpportunity()
38 for (auto bi = function_->begin(); bi != function_->end(); ++bi) { in Apply()
/third_party/cef/libcef/browser/extensions/
Dextension_function_details.cc141 : function_(function) {} in CefExtensionFunctionDetails()
146 return Profile::FromBrowserContext(function_->browser_context()); in GetProfile()
151 content::WebContents* web_contents = function_->GetSenderWebContents(); in GetSenderBrowser()
167 function_->include_incognito_information()); in GetCurrentBrowser()
208 function_->include_incognito_information(), target); in CanAccessBrowser()
227 browser = GetBrowserForTabId(tab_id, function_->browser_context()); in GetBrowserForTabIdFirstTime()
258 GetBrowserForTabId(tab_id, function_->browser_context()); in GetBrowserForTabIdAgain()
460 CefBrowserContext::FromBrowserContext(function_->browser_context()) in GetCefExtension()
461 ->GetExtension(function_->extension_id()); in GetCefExtension()
Dextension_function_details.h132 ExtensionFunction* function() { return function_; } in function()
133 const ExtensionFunction* function() const { return function_; } in function()
141 ExtensionFunction* function_;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dinstruction.h49 const Function* function() const { return function_; } in function()
50 void set_function(Function* func) { function_ = func; } in set_function()
119 Function* function_ = nullptr; variable
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dinstruction.h49 const Function* function() const { return function_; } in function()
50 void set_function(Function* func) { function_ = func; } in set_function()
119 Function* function_ = nullptr; variable

1234