Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: src/compiler/simd-lowering.h

Issue 1991143002: Convert SIMD wasm ops to runtime function calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler/simd-lowering.h
diff --git a/src/compiler/simd-lowering.h b/src/compiler/simd-lowering.h
new file mode 100644
index 0000000000000000000000000000000000000000..f22e8a86a856c3bab0413a5e80fd1673a0ef03c2
--- /dev/null
+++ b/src/compiler/simd-lowering.h
@@ -0,0 +1,32 @@
+// Copyright 2016 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8_COMPILER_SIMD_LOWERING_H_
+#define V8_COMPILER_SIMD_LOWERING_H_
+
+#include "src/compiler/graph-reducer.h"
+#include "src/compiler/wasm-compiler.h"
+#include "src/runtime/runtime.h"
+
+namespace v8 {
+namespace internal {
+namespace compiler {
+
+class SimdLowering final : public Reducer {
+ public:
+ SimdLowering(Zone* zone, WasmGraphBuilder* builder)
+ : builder_(builder), zone_(zone) {}
+ virtual ~SimdLowering();
+ Reduction Reduce(Node* node) override;
+
+ private:
+ WasmGraphBuilder* builder_;
+ Zone* zone_;
+};
+
+} // namespace compiler
+} // namespace internal
+} // namespace v8
+
+#endif // V8_COMPILER_SIMD_LOWERING_H_
« no previous file with comments | « BUILD.gn ('k') | src/compiler/simd-lowering.cc » ('j') | src/compiler/simd-lowering.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698