Home
last modified time | relevance | path

Searched refs:num_functions (Results 1 – 17 of 17) sorted by relevance

/third_party/node/deps/v8/src/compiler/
Djs-inlining-heuristic.cc102 out.num_functions = 1; in CollectFunctions()
109 out.num_functions = 0; in CollectFunctions()
115 out.num_functions = 0; in CollectFunctions()
125 out.num_functions = value_input_count; in CollectFunctions()
135 out.num_functions = 1; in CollectFunctions()
147 out.num_functions = 1; in CollectFunctions()
150 out.num_functions = 0; in CollectFunctions()
176 if (candidate.num_functions == 0) { in Reduce()
178 } else if (candidate.num_functions > 1 && !FLAG_polymorphic_inlining) { in Reduce()
190 for (int i = 0; i < candidate.num_functions; ++i) { in Reduce()
[all …]
Djs-inlining-heuristic.h65 int num_functions; member
/third_party/node/deps/v8/src/execution/
Dsimulator-base.cc101 unsigned num_functions) { in RegisterFunctionsAndSignatures() argument
103 for (unsigned i = 0; i < num_functions; ++i) { in RegisterFunctionsAndSignatures()
Dsimulator-base.h211 unsigned num_functions);
/third_party/node/deps/v8/src/wasm/
Dstreaming-decoder.h44 virtual bool ProcessCodeSectionHeader(int num_functions, uint32_t offset,
Dwasm-code-manager.cc1331 DCHECK_LT(code->index(), num_functions()); in PublishCodeLocked()
1391 DCHECK_LT(code->index(), num_functions()); in ReinstallDebugCode()
2073 int num_functions = static_cast<int>(module->num_declared_functions); in EstimateNativeModuleCodeSize() local
2076 if (num_functions > 0) { in EstimateNativeModuleCodeSize()
2077 DCHECK_EQ(module->functions.size(), num_imported_functions + num_functions); in EstimateNativeModuleCodeSize()
2083 return EstimateNativeModuleCodeSize(num_functions, num_imported_functions, in EstimateNativeModuleCodeSize()
2090 int num_functions, int num_imported_functions, int code_section_length, in EstimateNativeModuleCodeSize() argument
2099 size_t size_of_turbofan = overhead_per_function_turbofan * num_functions + in EstimateNativeModuleCodeSize()
2104 size_t size_of_liftoff = overhead_per_function_liftoff * num_functions + in EstimateNativeModuleCodeSize()
Dstreaming-decoder.cc186 void StartCodeSection(int num_functions, in StartCodeSection() argument
193 num_functions, module_offset() - 1, std::move(wire_bytes_storage), in StartCodeSection()
Dfunction-compiler.cc162 DCHECK_LT(function->func_index, native_module->num_functions()); in CompileWasmFunction()
Dmodule-compiler.cc1173 DCHECK_LT(func_index, native_module->num_functions()); in CompileLazy()
2059 bool ProcessCodeSectionHeader(int num_functions,
2814 int num_functions, uint32_t functions_mismatch_error_offset, in ProcessCodeSectionHeader() argument
2820 num_functions); in ProcessCodeSectionHeader()
2822 if (!decoder_.CheckFunctionsCount(static_cast<uint32_t>(num_functions), in ProcessCodeSectionHeader()
2847 num_functions, num_imported_functions, code_section_length, in ProcessCodeSectionHeader()
3039 compilation_unit_queues_(native_module->num_functions()), in CompilationStateImpl()
3527 DCHECK_LT(code->index(), native_module_->num_functions()); in OnFinishedUnits()
3700 DCHECK_LT(func_index, native_module_->num_functions()); in PublishCompilationResults()
Dwasm-code-manager.h754 uint32_t num_functions() const { in num_functions() function
1039 static size_t EstimateNativeModuleCodeSize(int num_functions,
Dmodule-instantiate.cc685 int num_functions = static_cast<int>(module_->num_declared_functions); in Build() local
687 isolate_->factory()->NewFixedArray(num_functions, AllocationType::kOld); in Build()
689 for (int i = 0; i < num_functions; i++) { in Build()
Dwasm-engine.cc304 uint32_t num_functions = decoder.consume_u32v("num functions"); in PrefixHash() local
307 if (num_functions != 0) { in PrefixHash()
Dwasm-serialization.cc653 uint32_t total_fns = native_module_->num_functions(); in Read()
/third_party/node/deps/v8/src/codegen/
Dexternal-reference.h414 const CFunctionInfo* const* c_signatures, unsigned num_functions);
Dexternal-reference.cc185 const CFunctionInfo* const* c_signatures, unsigned num_functions) { in Create() argument
188 c_functions, c_signatures, num_functions); in Create()
/third_party/node/deps/v8/src/runtime/
Druntime-debug.cc774 int num_functions = static_cast<int>(script_data.functions.size()); in RUNTIME_FUNCTION() local
775 for (int j = 0; j < num_functions; j++) { in RUNTIME_FUNCTION()
/third_party/mesa3d/src/compiler/nir/
Dnir_serialize.c2186 unsigned num_functions = blob_read_uint32(blob); in nir_deserialize() local
2187 for (unsigned i = 0; i < num_functions; i++) in nir_deserialize()