/third_party/node/deps/v8/src/codegen/ |
H A D | code-reference.h | 24 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 D | frames.cc | 635 // 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 D | isolate.cc | 1978 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 D | frames.h | 971 wasm::WasmCode* wasm_code() const;
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-debug.cc | 42 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 D | module-instantiate.cc | 1146 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 D | wasm-objects.cc | 587 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 D | wasm-serialization.cc | 830 for (auto* wasm_code : published_codes) { in Publish() 831 wasm_code->MaybePrint(); in Publish() 832 wasm_code->Validate(); in Publish()
|
H A D | wasm-engine.cc | 1372 live_wasm_code.insert(WasmFrame::cast(frame)->wasm_code()); in ReportLiveCodeFromFrameForGC() 1374 if (WasmFrame::cast(frame)->wasm_code()->for_debugging()) { in ReportLiveCodeFromFrameForGC()
|
H A D | module-compiler.cc | 3963 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 D | disassembler.cc | 106 if (auto* wasm_code = wasm::GetWasmCodeManager()->LookupCode( in NameOfAddress() 109 wasm::GetWasmCodeKindAsString(wasm_code->kind())); in NameOfAddress()
|
H A D | objects-printer.cc | 2871 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 D | runtime-test-wasm.cc | 166 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 D | code-generator-ppc.cc | 834 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 D | code-generator-loong64.cc | 589 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 D | code-generator-ia32.cc | 726 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 D | code-generator-arm64.cc | 713 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 D | code-generator-arm.cc | 700 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 D | code-generator-s390.cc | 1196 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 D | code-generator-x64.cc | 1224 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 D | code-generator-mips64.cc | 605 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 D | code-generator-mips.cc | 641 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 D | code-generator-riscv64.cc | 659 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 D | wasm-compiler.cc | 6955 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));
|