Home
last modified time | relevance | path

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

123

/external/deqp-deps/SPIRV-Tools/source/opt/
Dir_loader.cpp50 if (function_ != nullptr) { in AddInstruction()
54 function_ = MakeUnique<Function>(std::move(spv_inst)); in AddInstruction()
56 if (function_ == nullptr) { in AddInstruction()
65 function_->SetFunctionEnd(std::move(spv_inst)); in AddInstruction()
66 module_->AddFunction(std::move(function_)); in AddInstruction()
67 function_ = nullptr; in AddInstruction()
69 if (function_ == nullptr) { in AddInstruction()
79 if (function_ == nullptr) { in AddInstruction()
88 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
91 if (function_ == nullptr) { // Outside function definition in AddInstruction()
[all …]
Dmerge_return_pass.cpp42 function_ = function; in Process()
152 function_->AddBasicBlock(std::move(return_block)); in CreateReturnBlock()
153 final_return_block_ = &*(--function_->end()); in CreateReturnBlock()
157 final_return_block_->SetParent(function_); in CreateReturnBlock()
167 context(), SpvOpLoad, function_->type_id(), loadId, in CreateReturn()
496 uint32_t return_type_id = function_->type_id(); in AddReturnValue()
509 auto insert_iter = function_->begin()->begin(); in AddReturnValue()
511 BasicBlock* entry_block = &*function_->begin(); in AddReturnValue()
517 function_->result_id(), var_id, {SpvDecorationRelaxedPrecision}); in AddReturnValue()
545 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.cpp57 : function_(function), in LoopUnswitch()
91 Function::iterator it = function_->FindBlock(bb_to_find->id()); in FindBasicBlockPosition()
92 assert(it != function_->end() && "Basic Block not found"); in FindBasicBlockPosition()
106 bb->SetParent(function_); in CreateBasicBlock()
122 &context_->GetDominatorAnalysis(function_)->GetDomTree(); in PerformUnswitch()
375 function_->AddBasicBlocks(clone_result.cloned_bb_.begin(), in PerformUnswitch()
384 SimplifyLoop(make_range(function_->begin(), function_->end()), loop_, in PerformUnswitch()
410 CleanUpCFG(function_->begin(), dead_blocks, unreachable_merges); in PerformUnswitch()
451 Function* function_; member in spvtools::opt::__anon83c98a840211::LoopUnswitch
851 condition, function_->entry().get(), in IsConditionLoopInvariant()
[all …]
Dbasic_block.h63 void SetParent(Function* function) { function_ = function; } in SetParent()
66 inline Function* GetParent() const { return function_; } in GetParent()
225 Function* function_;
236 : function_(nullptr), label_(std::move(label)) {} in BasicBlock()
Dmerge_return_pass.h97 : function_(nullptr), in MergeReturnPass()
306 Function* function_; variable
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dir_loader.cpp50 if (function_ != nullptr) { in AddInstruction()
54 function_ = MakeUnique<Function>(std::move(spv_inst)); in AddInstruction()
56 if (function_ == nullptr) { in AddInstruction()
65 function_->SetFunctionEnd(std::move(spv_inst)); in AddInstruction()
66 module_->AddFunction(std::move(function_)); in AddInstruction()
67 function_ = nullptr; in AddInstruction()
69 if (function_ == nullptr) { in AddInstruction()
79 if (function_ == nullptr) { in AddInstruction()
88 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
91 if (function_ == nullptr) { // Outside function definition in AddInstruction()
[all …]
Dmerge_return_pass.cpp42 function_ = function; in Process()
152 function_->AddBasicBlock(std::move(return_block)); in CreateReturnBlock()
153 final_return_block_ = &*(--function_->end()); in CreateReturnBlock()
157 final_return_block_->SetParent(function_); in CreateReturnBlock()
167 context(), SpvOpLoad, function_->type_id(), loadId, in CreateReturn()
512 uint32_t return_type_id = function_->type_id(); in AddReturnValue()
525 auto insert_iter = function_->begin()->begin(); in AddReturnValue()
527 BasicBlock* entry_block = &*function_->begin(); in AddReturnValue()
533 function_->result_id(), var_id, {SpvDecorationRelaxedPrecision}); in AddReturnValue()
561 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::__anon308a08fe0211::LoopUnswitch
569 condition, function_->entry().get(), in IsConditionNonConstantLoopInvariant()
570 context_->GetPostDominatorAnalysis(function_)->GetDomTree()); in IsConditionNonConstantLoopInvariant()
Dbasic_block.h63 void SetParent(Function* function) { function_ = function; } in SetParent()
66 inline Function* GetParent() const { return function_; } in GetParent()
225 Function* function_;
236 : function_(nullptr), label_(std::move(label)) {} in BasicBlock()
/external/v8/src/compiler/
Dcompilation-dependencies.cc28 : function_(function), initial_map_(initial_map) { in InitialMapDependency()
29 DCHECK(function_.has_initial_map()); in InitialMapDependency()
30 DCHECK(function_.initial_map().equals(initial_map_)); in InitialMapDependency()
34 Handle<JSFunction> function = function_.object<JSFunction>(); in IsValid()
41 DependentCode::InstallDependency(function_.isolate(), code, in Install()
47 JSFunctionRef function_; member in v8::internal::compiler::InitialMapDependency
58 : function_(function), prototype_(prototype) { in PrototypePropertyDependency()
59 DCHECK(function_.has_prototype()); in PrototypePropertyDependency()
60 DCHECK(!function_.PrototypeRequiresRuntimeLookup()); in PrototypePropertyDependency()
61 DCHECK(function_.prototype().equals(prototype_)); in PrototypePropertyDependency()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcallback.h124 : function_(function), self_deleting_(self_deleting) {} in FunctionClosure0()
129 function_(); in Run()
134 FunctionType function_;
166 : function_(function), self_deleting_(self_deleting), in FunctionClosure1()
172 function_(arg1_); in Run()
177 FunctionType function_;
213 : function_(function), self_deleting_(self_deleting), in FunctionClosure2()
219 function_(arg1_, arg2_); in Run()
224 FunctionType function_;
261 : function_(function), self_deleting_(self_deleting) {} in FunctionResultCallback_0_0()
[all …]
/external/v8/src/debug/
Ddebug-coverage.cc106 : function_(function), in CoverageBlockIterator()
111 DCHECK(std::is_sorted(function_->blocks.begin(), function_->blocks.end(), in CoverageBlockIterator()
117 DCHECK(std::is_sorted(function_->blocks.begin(), function_->blocks.end(), in ~CoverageBlockIterator()
122 return read_index_ + 1 < static_cast<int>(function_->blocks.size()); in HasNext()
138 nesting_stack_.emplace_back(function_->start, function_->end, in Next()
139 function_->count); in Next()
155 DCHECK_IMPLIES(block.start >= function_->end, in Next()
165 return function_->blocks[read_index_]; in GetBlock()
171 return function_->blocks[read_index_ + 1]; in GetNextBlock()
177 return function_->blocks[read_index_ - 1]; in GetPreviousBlock()
[all …]
Ddebug-scopes.cc28 function_(frame_inspector_->GetFunction()), in ScopeIterator()
45 if (!function_.is_null()) return JSFunction::GetDebugName(function_); in GetFunctionDebugName()
71 function_(generator->function(), isolate), in ScopeIterator()
73 script_(Script::cast(function_->shared()->script()), isolate) { in ScopeIterator()
74 if (!function_->shared()->IsSubjectToDebugging()) { in ScopeIterator()
83 function_ = frame_inspector_->GetFunction(); in Restart()
92 Handle<SharedFunctionInfo> shared_info(function_->shared(), isolate_); in TryParseAndRetrieveScopes()
96 context_ = handle(function_->context(), isolate_); in TryParseAndRetrieveScopes()
97 function_ = Handle<JSFunction>(); in TryParseAndRetrieveScopes()
210 details->set(kScopeDetailsFunctionIndex, *function_); in MaterializeScopeDetails()
[all …]
Ddebug-frames.h25 Handle<JSFunction> GetFunction() const { return function_; } in GetFunction()
57 Handle<JSFunction> 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/swiftshader/third_party/SPIRV-Tools/source/val/
Dinstruction.h48 const Function* function() const { return function_; } in function()
49 void set_function(Function* func) { function_ = func; } in set_function()
107 Function* function_ = nullptr; variable
/external/deqp-deps/SPIRV-Tools/source/val/
Dinstruction.h48 const Function* function() const { return function_; } in function()
49 void set_function(Function* func) { function_ = func; } in set_function()
107 Function* function_ = nullptr; variable
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_function.cc143 function_ = llvm_ir::CreateCpuFunction(function_type, linkage, module_config, in Initialize()
147 llvm::Function::arg_iterator arg_iter = function_->arg_begin(); in Initialize()
166 for (llvm::Argument& argument : function_->args()) { in Initialize()
172 function_->addAttribute(argument.getArgNo() + 1, llvm::Attribute::NoAlias); in Initialize()
178 /*Parent=*/function_)); in Initialize()
Dir_function.h71 llvm::Function* function() { return function_; } in function()
107 llvm::Function* function_; variable
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dperiodic_function.cc29 : function_(function), in PeriodicFunction()
77 function_(); in RunLoop()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc195 function_(function), in XlaLocalLaunchBase()
325 << Canonicalize(function_.name(), AttrSlice(&function_.attr())); in Compute()
334 ctx, function_, platform_info_, resources_, constants_, /*lazy=*/false, in Compute()
437 function_(FunctionAttr(ctx)), in XlaCompileOp()
460 ctx, function_, platform_info_, resources_, constants_, in Compute()
Dxla_ops.h120 const NameAttrList function_; variable
154 const NameAttrList function_; variable
/external/v8/src/
Daccessors.cc580 if (!next().ToHandle(&function_)) return false; in Find()
581 } while (!function_.is_identical_to(function)); in Find()
589 if (!next().ToHandle(&function_)) return false; in FindNextNonTopLevel()
590 } while (function_->shared()->is_toplevel()); in FindNextNonTopLevel()
599 while (!function_->shared()->native() && in FindFirstNativeOrUserJavaScript()
600 !function_->shared()->IsUserJavaScript()) { in FindFirstNativeOrUserJavaScript()
601 if (!next().ToHandle(&function_)) return false; in FindFirstNativeOrUserJavaScript()
612 if (inlined_frame_index_ == 0) return function_; in MaterializeFunction()
662 Handle<JSFunction> function_; member in v8::internal::FrameFunctionIterator

123