Searched refs:num_declared_functions (Results 1 – 8 of 8) sorted by relevance
/third_party/node/deps/v8/tools/wasm-compilation-hints/ |
D | inject-compilation-hints.py | 41 num_declared_functions = None variable 52 num_declared_functions, bs = peek_varuintN(fin) variable 59 assert len(hints_bs) == num_declared_functions, "unexpected number of hints"
|
/third_party/node/deps/v8/src/wasm/ |
D | wasm-code-manager.cc | 579 int NumWasmFunctionsInFarJumpTable(uint32_t num_declared_functions) { in NumWasmFunctionsInFarJumpTable() argument 581 ? static_cast<int>(num_declared_functions) in NumWasmFunctionsInFarJumpTable() 587 size_t OverheadPerCodeSpace(uint32_t num_declared_functions) { in OverheadPerCodeSpace() argument 590 JumpTableAssembler::SizeForNumberOfSlots(num_declared_functions)); in OverheadPerCodeSpace() 602 NumWasmFunctionsInFarJumpTable(num_declared_functions))); in OverheadPerCodeSpace() 608 size_t ReservationSize(size_t code_size_estimate, int num_declared_functions, in ReservationSize() argument 610 size_t overhead = OverheadPerCodeSpace(num_declared_functions); in ReservationSize() 729 size, native_module->module()->num_declared_functions, total_reserved); in AllocateForCodeInRegion() 998 if (module_->num_declared_functions > 0) { in NativeModule() 1000 std::make_unique<WasmCode*[]>(module_->num_declared_functions); in NativeModule() [all …]
|
D | module-compiler.cc | 117 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() 1112 uint32_t end = start + module->num_declared_functions; in ValidateSequentially() 1669 uint32_t end = start + module->num_declared_functions; in InitializeLazyCompilation() 1707 int end = start + module->num_declared_functions; in MayCompriseLazyFunctions() 1826 DCHECK_GE(kMaxInt, native_module->module()->num_declared_functions); in CompileNativeModule() 2513 int end = start + module->num_declared_functions; in RunInBackground() 3114 compilation_progress_.reserve(module->num_declared_functions); in InitializeCompilationProgress() [all …]
|
D | module-decoder.cc | 888 module_->num_declared_functions = functions_count; in DecodeFunctionSection() 1133 if (functions_count != module_->num_declared_functions) { in CheckFunctionsCount() 1135 functions_count, module_->num_declared_functions); in CheckFunctionsCount() 1289 if (hint_count != module_->num_declared_functions) { in DecodeCompilationHintsSection() 1291 module_->num_declared_functions, hint_count); in DecodeCompilationHintsSection() 1458 if (module_->num_declared_functions != 0) { in CheckMismatchedCounts() 1464 module_->num_declared_functions); in CheckMismatchedCounts() 2264 metrics_event.function_count = result.value()->num_declared_functions; in DecodeWasmModule() 2266 metrics_event.function_count = module->num_declared_functions; in DecodeWasmModule()
|
D | wasm-module.h | 432 uint32_t num_declared_functions = 0; // excluding imported member 674 DCHECK_GT(module->num_declared_functions, declared_idx); in declared_function_index()
|
D | wasm-code-manager.h | 755 return module_->num_declared_functions + module_->num_imported_functions; in num_functions()
|
D | module-instantiate.cc | 685 int num_functions = static_cast<int>(module_->num_declared_functions); in Build()
|
/third_party/node/deps/v8/src/debug/ |
D | debug-interface.cc | 776 DCHECK_IMPLIES(module->num_declared_functions > 0, in CodeOffset()
|