v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
typed-optimizations-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/typed-optimizations-phase.h
"
6
7
#include "
src/compiler/js-heap-broker.h
"
8
#include "
src/compiler/turboshaft/copying-phase.h
"
9
#include "
src/compiler/turboshaft/phase.h
"
10
#include "
src/compiler/turboshaft/type-inference-reducer.h
"
11
#include "
src/compiler/turboshaft/typed-optimizations-reducer.h
"
12
13
namespace
v8::internal::compiler::turboshaft
{
14
15
void
TypedOptimizationsPhase::Run
(
PipelineData
* data,
Zone
* temp_zone) {
16
#ifdef DEBUG
17
UnparkedScopeIfNeeded
scope(data->broker(),
v8_flags
.turboshaft_trace_typing);
18
#endif
19
20
turboshaft::TypeInferenceReducerArgs::Scope
typing_args{
21
turboshaft::TypeInferenceReducerArgs::InputGraphTyping::kPrecise
,
22
turboshaft::TypeInferenceReducerArgs::OutputGraphTyping::kNone
};
23
24
turboshaft::CopyingPhase
<
turboshaft::TypedOptimizationsReducer
,
25
turboshaft::TypeInferenceReducer
>
::Run
(data,
26
temp_zone);
27
}
28
29
}
// namespace v8::internal::compiler::turboshaft
v8::base::ContextualVariable::Scope
Definition
contextual.h:36
v8::internal::Zone
Definition
zone.h:43
v8::internal::compiler::UnparkedScopeIfNeeded
Definition
js-heap-broker.h:548
v8::internal::compiler::turboshaft::CopyingPhase
Definition
copying-phase.h:1065
v8::internal::compiler::turboshaft::PipelineData
Definition
phase.h:177
v8::internal::compiler::turboshaft::TypeInferenceReducer
Definition
value-numbering-reducer.h:73
v8::internal::compiler::turboshaft::TypedOptimizationsReducer
Definition
typed-optimizations-reducer.h:21
copying-phase.h
js-heap-broker.h
v8::internal::compiler::turboshaft
Definition
builtins.h:33
v8::internal::v8_flags
V8_EXPORT_PRIVATE FlagValues v8_flags
v8::internal::compiler::turboshaft::TypeInferenceReducerArgs::InputGraphTyping::kPrecise
@ kPrecise
v8::internal::compiler::turboshaft::TypeInferenceReducerArgs::OutputGraphTyping::kNone
@ kNone
v8::internal::compiler::turboshaft::TypedOptimizationsPhase::Run
void Run(PipelineData *data, Zone *temp_zone)
Definition
typed-optimizations-phase.cc:15
phase.h
type-inference-reducer.h
typed-optimizations-phase.h
typed-optimizations-reducer.h
src
compiler
turboshaft
typed-optimizations-phase.cc
Generated on Sun Apr 6 2025 21:08:53 for v8 by
1.12.0