v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
machine-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/machine-lowering-phase.h
"
6
7
#include "
src/compiler/turboshaft/copying-phase.h
"
8
#include "
src/compiler/turboshaft/dataview-lowering-reducer.h
"
9
#include "
src/compiler/turboshaft/fast-api-call-lowering-reducer.h
"
10
#include "
src/compiler/turboshaft/js-generic-lowering-reducer.h
"
11
#include "
src/compiler/turboshaft/machine-lowering-reducer-inl.h
"
12
#include "
src/compiler/turboshaft/machine-optimization-reducer.h
"
13
#include "
src/compiler/turboshaft/required-optimization-reducer.h
"
14
#include "
src/compiler/turboshaft/select-lowering-reducer.h
"
15
#include "
src/compiler/turboshaft/string-escape-analysis-reducer.h
"
16
#include "
src/compiler/turboshaft/variable-reducer.h
"
17
18
namespace
v8::internal::compiler::turboshaft
{
19
20
void
MachineLoweringPhase::Run
(
PipelineData
* data,
Zone
* temp_zone) {
21
// TODO(dmercadier): It would make sense to run JSGenericLoweringReducer
22
// during SimplifiedLowering. However, SimplifiedLowering is currently WIP,
23
// and it would be better to not tie the Maglev graph builder to
24
// SimplifiedLowering just yet, so I'm hijacking MachineLoweringPhase to run
25
// JSGenericLoweringReducer without requiring a whole phase just for that.
26
CopyingPhase
<
StringEscapeAnalysisReducer
,
JSGenericLoweringReducer
,
27
DataViewLoweringReducer
,
MachineLoweringReducer
,
28
FastApiCallLoweringReducer
,
VariableReducer
,
29
SelectLoweringReducer
,
30
MachineOptimizationReducer
>
::Run
(data, temp_zone);
31
}
32
33
}
// namespace v8::internal::compiler::turboshaft
v8::internal::Zone
Definition
zone.h:43
v8::internal::compiler::turboshaft::CopyingPhase
Definition
copying-phase.h:1065
v8::internal::compiler::turboshaft::DataViewLoweringReducer
Definition
dataview-lowering-reducer.h:15
v8::internal::compiler::turboshaft::FastApiCallLoweringReducer
Definition
fast-api-call-lowering-reducer.h:23
v8::internal::compiler::turboshaft::JSGenericLoweringReducer
Definition
js-generic-lowering-reducer.h:27
v8::internal::compiler::turboshaft::MachineLoweringReducer
Definition
machine-lowering-reducer-inl.h:49
v8::internal::compiler::turboshaft::MachineOptimizationReducer
Definition
machine-optimization-reducer.h:181
v8::internal::compiler::turboshaft::PipelineData
Definition
phase.h:177
v8::internal::compiler::turboshaft::SelectLoweringReducer
Definition
select-lowering-reducer.h:36
v8::internal::compiler::turboshaft::StringEscapeAnalysisReducer
Definition
string-escape-analysis-reducer.h:105
v8::internal::compiler::turboshaft::VariableReducer
Definition
variable-reducer.h:58
copying-phase.h
dataview-lowering-reducer.h
fast-api-call-lowering-reducer.h
js-generic-lowering-reducer.h
machine-lowering-phase.h
machine-lowering-reducer-inl.h
machine-optimization-reducer.h
v8::internal::compiler::turboshaft
Definition
builtins.h:33
required-optimization-reducer.h
select-lowering-reducer.h
string-escape-analysis-reducer.h
v8::internal::compiler::turboshaft::MachineLoweringPhase::Run
void Run(PipelineData *data, Zone *temp_zone)
Definition
machine-lowering-phase.cc:20
variable-reducer.h
src
compiler
turboshaft
machine-lowering-phase.cc
Generated on Sun Apr 6 2025 21:08:52 for v8 by
1.12.0