v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
loop-peeling-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/loop-peeling-phase.h
"
6
7
#include "
src/compiler/turboshaft/copying-phase.h
"
8
#include "
src/compiler/turboshaft/loop-peeling-reducer.h
"
9
#include "
src/compiler/turboshaft/machine-optimization-reducer.h
"
10
#include "
src/compiler/turboshaft/required-optimization-reducer.h
"
11
#include "
src/compiler/turboshaft/value-numbering-reducer.h
"
12
#include "
src/compiler/turboshaft/variable-reducer.h
"
13
#include "
src/numbers/conversions-inl.h
"
14
15
namespace
v8::internal::compiler::turboshaft
{
16
17
void
LoopPeelingPhase::Run
(
PipelineData
* data,
Zone
* temp_zone) {
18
// Note that for wasm-gc it is relevant that the MachineOptimizationReducer is
19
// run prior to other phases. Any attempt to skip the loop peeling phase (e.g.
20
// if no loops are present) should evaluate how to run the
21
// MachineOptimizationReducer then.
22
turboshaft::CopyingPhase
<
turboshaft::LoopPeelingReducer
,
23
turboshaft::MachineOptimizationReducer
,
24
turboshaft::ValueNumberingReducer
>
::Run
(data,
25
temp_zone);
26
}
27
28
}
// 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::LoopPeelingReducer
Definition
loop-unrolling-reducer.h:300
v8::internal::compiler::turboshaft::MachineOptimizationReducer
Definition
machine-optimization-reducer.h:181
v8::internal::compiler::turboshaft::PipelineData
Definition
phase.h:177
v8::internal::compiler::turboshaft::ValueNumberingReducer
Definition
value-numbering-reducer.h:107
conversions-inl.h
copying-phase.h
loop-peeling-phase.h
loop-peeling-reducer.h
machine-optimization-reducer.h
v8::internal::compiler::turboshaft
Definition
builtins.h:33
required-optimization-reducer.h
v8::internal::compiler::turboshaft::LoopPeelingPhase::Run
void Run(PipelineData *data, Zone *temp_zone)
Definition
loop-peeling-phase.cc:17
value-numbering-reducer.h
variable-reducer.h
src
compiler
turboshaft
loop-peeling-phase.cc
Generated on Sun Apr 6 2025 21:08:52 for v8 by
1.12.0