Home
last modified time | relevance | path

Searched refs:wasm_code (Results 1 - 24 of 24) sorted by relevance

/third_party/node/deps/v8/src/codegen/
H A Dcode-reference.h24 explicit CodeReference(const wasm::WasmCode* wasm_code) in CodeReference() argument
25 : kind_(Kind::WASM), wasm_code_(wasm_code) {} in CodeReference()
/third_party/node/deps/v8/src/execution/
H A Dframes.cc635 // returned {wasm_code} to be null and fall back to {GetContainingCode}. in ComputeType()
637 if (wasm::WasmCode* wasm_code = in ComputeType()
639 switch (wasm_code->kind()) { in ComputeType()
1045 if (auto* wasm_code = wasm::GetWasmCodeManager()->LookupCode(inner_pointer)) { in IterateCompiledFrame()
1047 SafepointTable table(wasm_code); in IterateCompiledFrame()
1049 stack_slots = wasm_code->stack_slots(); in IterateCompiledFrame()
1051 wasm_code->kind() != wasm::WasmCode::kWasmFunction && in IterateCompiledFrame()
1052 wasm_code->kind() != wasm::WasmCode::kWasmToCapiWrapper; in IterateCompiledFrame()
1053 first_tagged_parameter_slot = wasm_code->first_tagged_parameter_slot(); in IterateCompiledFrame()
1054 num_tagged_parameter_slots = wasm_code in IterateCompiledFrame()
2077 wasm::WasmCode* WasmFrame::wasm_code() const { wasm_code() function in v8::internal::WasmFrame
[all...]
H A Disolate.cc1978 wasm::WasmCode* wasm_code = in ThrowInternal() local
1987 wasm_code->stack_slots() * kSystemPointerSize; in ThrowInternal()
1993 return FoundHandler(Context(), wasm_code->instruction_start(), offset, in ThrowInternal()
1994 wasm_code->constant_pool(), return_sp, frame->fp(), in ThrowInternal()
H A Dframes.h971 wasm::WasmCode* wasm_code() const;
/third_party/node/deps/v8/src/wasm/
H A Dwasm-debug.cc42 Address FindNewPC(WasmFrame* frame, WasmCode* wasm_code, int byte_offset, in FindNewPC() argument
44 base::Vector<const uint8_t> new_pos_table = wasm_code->source_positions(); in FindNewPC()
50 WasmCode* old_code = frame->wasm_code(); in FindNewPC()
73 return wasm_code->instruction_start() + it.code_offset() + in FindNewPC()
83 return wasm_code->instruction_start() + code_offset + call_instruction_size; in FindNewPC()
397 DCHECK(frame->wasm_code()->is_liftoff()); in FloodWithBreakpoints()
409 wasm::WasmCode* code = frame->wasm_code(); in PrepareStep()
418 wasm::WasmCode* code = frame->wasm_code(); in PrepareStepOutTo()
426 auto* code = frame->wasm_code(); in ClearStepping()
689 if (!frame->wasm_code() in UpdateReturnAddresses()
[all...]
H A Dmodule-instantiate.cc1146 WasmCode* wasm_code = in ProcessImportedFunction() local
1148 if (wasm_code == nullptr) { in ProcessImportedFunction()
1151 wasm_code = in ProcessImportedFunction()
1155 cache_scope[key] = wasm_code; in ProcessImportedFunction()
1156 wasm_code->IncRef(); in ProcessImportedFunction()
1158 wasm_code->instructions().length()); in ProcessImportedFunction()
1160 wasm_code->reloc_info().length()); in ProcessImportedFunction()
1166 entry.SetWasmToJs(isolate_, js_receiver, wasm_code, in ProcessImportedFunction()
1176 WasmCode* wasm_code = compiler::CompileWasmJSFastCallWrapper( in ProcessImportedFunction() local
1179 entry.SetWasmToJs(isolate_, js_receiver, wasm_code, in ProcessImportedFunction()
1199 WasmCode* wasm_code = native_module->import_wrapper_cache()->Get( ProcessImportedFunction() local
[all...]
H A Dwasm-objects.cc587 wasm::WasmCode* wasm_code = in UpdateDispatchTables() local
589 if (wasm_code == nullptr) { in UpdateDispatchTables()
592 wasm_code = compiler::CompileWasmCapiCallWrapper(native_module, &sig); in UpdateDispatchTables()
595 cache_scope[key] = wasm_code; in UpdateDispatchTables()
596 wasm_code->IncRef(); in UpdateDispatchTables()
598 wasm_code->instructions().length()); in UpdateDispatchTables()
600 wasm_code->reloc_info().length()); in UpdateDispatchTables()
606 ->Set(entry_index, sig_id, wasm_code->instruction_start(), in UpdateDispatchTables()
1487 std::unique_ptr<wasm::WasmCode> wasm_code = native_module->AddCode( in ImportWasmJSFunctionIntoTable() local
1494 native_module->PublishCode(std::move(wasm_code)); in ImportWasmJSFunctionIntoTable()
[all...]
H A Dwasm-serialization.cc830 for (auto* wasm_code : published_codes) { in Publish()
831 wasm_code->MaybePrint(); in Publish()
832 wasm_code->Validate(); in Publish()
H A Dwasm-engine.cc1372 live_wasm_code.insert(WasmFrame::cast(frame)->wasm_code()); in ReportLiveCodeFromFrameForGC()
1374 if (WasmFrame::cast(frame)->wasm_code()->for_debugging()) { in ReportLiveCodeFromFrameForGC()
H A Dmodule-compiler.cc3963 std::unique_ptr<WasmCode> wasm_code = native_module->AddCode( in CompileImportWrapper() local
3969 published_code = native_module->PublishCode(std::move(wasm_code)); in CompileImportWrapper()
/third_party/node/deps/v8/src/diagnostics/
H A Ddisassembler.cc106 if (auto* wasm_code = wasm::GetWasmCodeManager()->LookupCode( in NameOfAddress()
109 wasm::GetWasmCodeKindAsString(wasm_code->kind())); in NameOfAddress()
H A Dobjects-printer.cc2871 if (auto* wasm_code = i::wasm::GetWasmCodeManager()->LookupCode(address)) { in _v8_internal_Print_Code()
2873 wasm_code->Disassemble(nullptr, os, address); in _v8_internal_Print_Code()
/third_party/node/deps/v8/src/runtime/
H A Druntime-test-wasm.cc166 wasm::WasmCode* code = frame->wasm_code(); in RUNTIME_FUNCTION()
422 wasm::ExecutionTier tier = frame->wasm_code()->is_liftoff() in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/compiler/backend/ppc/
H A Dcode-generator-ppc.cc834 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
836 Address wasm_code = static_cast<Address>(constant.ToInt32()); in AssembleArchInstruction() local
838 __ Call(wasm_code, constant.rmode()); in AssembleArchInstruction()
853 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
855 Address wasm_code = static_cast<Address>(constant.ToInt32()); in AssembleArchInstruction() local
857 __ Jump(wasm_code, constant.rmode()); in AssembleArchInstruction()
/third_party/node/deps/v8/src/compiler/backend/loong64/
H A Dcode-generator-loong64.cc589 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
590 __ Call(wasm_code, constant.rmode()); in AssembleArchInstruction()
601 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
602 __ Jump(wasm_code, constant.rmode()); in AssembleArchInstruction()
/third_party/node/deps/v8/src/compiler/backend/ia32/
H A Dcode-generator-ia32.cc726 Address wasm_code = static_cast<Address>(constant.ToInt32()); in AssembleArchInstruction() local
728 __ wasm_call(wasm_code, constant.rmode()); in AssembleArchInstruction()
730 __ call(wasm_code, constant.rmode()); in AssembleArchInstruction()
742 Address wasm_code = static_cast<Address>(constant.ToInt32()); in AssembleArchInstruction() local
743 __ jmp(wasm_code, constant.rmode()); in AssembleArchInstruction()
/third_party/node/deps/v8/src/compiler/backend/arm64/
H A Dcode-generator-arm64.cc713 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
714 __ Call(wasm_code, constant.rmode()); in AssembleArchInstruction()
726 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
727 __ Jump(wasm_code, constant.rmode()); in AssembleArchInstruction()
/third_party/node/deps/v8/src/compiler/backend/arm/
H A Dcode-generator-arm.cc700 Address wasm_code = static_cast<Address>(constant.ToInt32()); in AssembleArchInstruction() local
701 __ Call(wasm_code, constant.rmode()); in AssembleArchInstruction()
713 Address wasm_code = static_cast<Address>(constant.ToInt32()); in AssembleArchInstruction() local
714 __ Jump(wasm_code, constant.rmode()); in AssembleArchInstruction()
/third_party/node/deps/v8/src/compiler/backend/s390/
H A Dcode-generator-s390.cc1196 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
1197 __ Call(wasm_code, constant.rmode()); in AssembleArchInstruction()
1210 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
1211 __ Jump(wasm_code, constant.rmode()); in AssembleArchInstruction()
/third_party/node/deps/v8/src/compiler/backend/x64/
H A Dcode-generator-x64.cc1224 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
1226 __ near_call(wasm_code, constant.rmode()); in AssembleArchInstruction()
1228 __ Call(wasm_code, constant.rmode()); in AssembleArchInstruction()
1240 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
1242 __ near_jmp(wasm_code, constant.rmode()); in AssembleArchInstruction()
1244 __ Move(kScratchRegister, wasm_code, constant.rmode()); in AssembleArchInstruction()
/third_party/node/deps/v8/src/compiler/backend/mips64/
H A Dcode-generator-mips64.cc605 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
606 __ Call(wasm_code, constant.rmode()); in AssembleArchInstruction()
618 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
619 __ Jump(wasm_code, constant.rmode()); in AssembleArchInstruction()
/third_party/node/deps/v8/src/compiler/backend/mips/
H A Dcode-generator-mips.cc641 Address wasm_code = static_cast<Address>(constant.ToInt32()); in AssembleArchInstruction() local
642 __ Call(wasm_code, constant.rmode()); in AssembleArchInstruction()
653 Address wasm_code = static_cast<Address>(constant.ToInt32()); in AssembleArchInstruction() local
654 __ Jump(wasm_code, constant.rmode()); in AssembleArchInstruction()
/third_party/node/deps/v8/src/compiler/backend/riscv64/
H A Dcode-generator-riscv64.cc659 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
660 __ Call(wasm_code, constant.rmode()); in AssembleArchInstruction()
686 Address wasm_code = static_cast<Address>(constant.ToInt64()); in AssembleArchInstruction() local
687 __ Jump(wasm_code, constant.rmode()); in AssembleArchInstruction()
/third_party/node/deps/v8/src/compiler/
H A Dwasm-compiler.cc6955 const int args_count = wasm_param_count + 1; // +1 for wasm_code.
8152 std::unique_ptr<wasm::WasmCode> wasm_code = native_module->AddCode(
8158 published_code = native_module->PublishCode(std::move(wasm_code));
8205 std::unique_ptr<wasm::WasmCode> wasm_code = native_module->AddCode(
8211 return native_module->PublishCode(std::move(wasm_code));

Completed in 103 milliseconds