summaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h')
-rw-r--r--llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h b/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h
new file mode 100644
index 000000000000..60d3d9433eca
--- /dev/null
+++ b/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h
@@ -0,0 +1,29 @@
+//===- WebAssemblyDisassemblerEmitter.h - Disassembler tables ---*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file is part of the WebAssembly Disassembler Emitter.
+// It contains the interface of the disassembler tables.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H
+#define LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H
+
+#include "CodeGenInstruction.h"
+#include "llvm/ADT/ArrayRef.h"
+#include "llvm/Support/raw_ostream.h"
+
+namespace llvm {
+
+void emitWebAssemblyDisassemblerTables(
+ raw_ostream &OS,
+ const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
+
+} // namespace llvm
+
+#endif