v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
wasm-lowering-phase.cc
Go to the documentation of this file.
1
// Copyright 2023 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#include "
src/compiler/turboshaft/wasm-lowering-phase.h
"
6
7
#include "
src/compiler/js-heap-broker.h
"
8
#include "
src/compiler/turboshaft/copying-phase.h
"
9
#include "
src/compiler/turboshaft/machine-optimization-reducer.h
"
10
#include "
src/compiler/turboshaft/phase.h
"
11
#include "
src/compiler/turboshaft/required-optimization-reducer.h
"
12
#include "
src/compiler/turboshaft/variable-reducer.h
"
13
#include "
src/compiler/turboshaft/wasm-lowering-reducer.h
"
14
#include "
src/numbers/conversions-inl.h
"
15
16
namespace
v8::internal::compiler::turboshaft
{
17
18
void
WasmLoweringPhase::Run
(
PipelineData
* data,
Zone
* temp_zone) {
19
UnparkedScopeIfNeeded
scope(data->broker(),
20
v8_flags
.turboshaft_trace_reduction);
21
// Also run the MachineOptimizationReducer as it can help the late load
22
// elimination that follows this phase eliminate more loads.
23
CopyingPhase<WasmLoweringReducer, MachineOptimizationReducer>::Run
(data,
24
temp_zone);
25
}
26
27
}
// namespace v8::internal::compiler::turboshaft
v8::internal::Zone
Definition
zone.h:43
v8::internal::compiler::UnparkedScopeIfNeeded
Definition
js-heap-broker.h:548
v8::internal::compiler::turboshaft::CopyingPhase::Run
static void Run(PipelineData *data, Zone *phase_zone)
Definition
copying-phase.h:1067
v8::internal::compiler::turboshaft::PipelineData
Definition
phase.h:177
conversions-inl.h
copying-phase.h
js-heap-broker.h
machine-optimization-reducer.h
v8::internal::compiler::turboshaft
Definition
builtins.h:33
v8::internal::v8_flags
V8_EXPORT_PRIVATE FlagValues v8_flags
required-optimization-reducer.h
v8::internal::compiler::turboshaft::WasmLoweringPhase::Run
void Run(PipelineData *data, Zone *temp_zone)
Definition
wasm-lowering-phase.cc:18
phase.h
variable-reducer.h
wasm-lowering-phase.h
wasm-lowering-reducer.h
src
compiler
turboshaft
wasm-lowering-phase.cc
Generated on Sun Apr 6 2025 21:08:53 for v8 by
1.12.0