v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
wasm-simd-phase.cc
Go to the documentation of this file.
1// Copyright 2025 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
6
9
11
12void WasmSimdPhase::Run(PipelineData* data, Zone* temp_zone) {
13 WasmShuffleAnalyzer analyzer(temp_zone, data->graph());
14
15 if (analyzer.ShouldReduce()) {
16 data->set_wasm_shuffle_analyzer(&analyzer);
18 data->clear_wasm_shuffle_analyzer();
19 }
20}
21
22} // namespace v8::internal::compiler::turboshaft
static void Run(PipelineData *data, Zone *phase_zone)
void Run(PipelineData *data, Zone *temp_zone)