Home
last modified time | relevance | path

Searched refs:num_declared_functions (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/wasm/
Dwasm-code-manager.cc572 int NumWasmFunctionsInFarJumpTable(uint32_t num_declared_functions) { in NumWasmFunctionsInFarJumpTable() argument
574 ? static_cast<int>(num_declared_functions) in NumWasmFunctionsInFarJumpTable()
580 size_t OverheadPerCodeSpace(uint32_t num_declared_functions) { in OverheadPerCodeSpace() argument
583 JumpTableAssembler::SizeForNumberOfSlots(num_declared_functions)); in OverheadPerCodeSpace()
595 NumWasmFunctionsInFarJumpTable(num_declared_functions))); in OverheadPerCodeSpace()
600 size_t ReservationSize(size_t code_size_estimate, int num_declared_functions, in ReservationSize() argument
602 size_t overhead = OverheadPerCodeSpace(num_declared_functions); in ReservationSize()
651 size, native_module->module()->num_declared_functions, total_reserved); in AllocateForCodeInRegion()
820 if (module_->num_declared_functions > 0) { in NativeModule()
822 std::make_unique<WasmCode*[]>(module_->num_declared_functions); in NativeModule()
[all …]
Dmodule-compiler.cc117 explicit CompilationUnitQueues(int num_declared_functions) in CompilationUnitQueues() argument
118 : num_declared_functions_(num_declared_functions) { in CompilationUnitQueues()
127 std::make_unique<std::atomic<bool>[]>(num_declared_functions); in CompilationUnitQueues()
129 for (int i = 0; i < num_declared_functions; i++) { in CompilationUnitQueues()
1049 uint32_t end = start + module->num_declared_functions; in ValidateSequentially()
1379 uint32_t end = start + module->num_declared_functions; in InitializeCompilationUnits()
1412 int end = start + module->num_declared_functions; in MayCompriseLazyFunctions()
1527 DCHECK_GE(kMaxInt, native_module->module()->num_declared_functions); in CompileNativeModule()
2176 int end = start + module->num_declared_functions; in RunInBackground()
2749 compilation_progress_.reserve(module->num_declared_functions); in InitializeCompilationProgress()
[all …]
Dmodule-decoder.cc689 module_->num_declared_functions = functions_count; in DecodeFunctionSection()
953 if (functions_count != module_->num_declared_functions) { in CheckFunctionsCount()
956 functions_count, module_->num_declared_functions); in CheckFunctionsCount()
1110 if (hint_count != module_->num_declared_functions) { in DecodeCompilationHintsSection()
1112 module_->num_declared_functions, hint_count); in DecodeCompilationHintsSection()
1188 if (module_->num_declared_functions != 0) { in CheckMismatchedCounts()
1194 module_->num_declared_functions); in CheckMismatchedCounts()
2199 metrics_event.function_count = result.value()->num_declared_functions; in DecodeWasmModule()
2201 metrics_event.function_count = module->num_declared_functions; in DecodeWasmModule()
Dwasm-module.h282 uint32_t num_declared_functions = 0; // excluding imported member
491 DCHECK_GT(module->num_declared_functions, declared_idx); in declared_function_index()
Dwasm-code-manager.h584 return module_->num_declared_functions + module_->num_imported_functions; in num_functions()
/external/v8/src/api/
Dapi.cc9984 DCHECK_IMPLIES(module->num_declared_functions > 0, in CodeOffset()