blob: 60d3d9433eca14ff1a4b591149d65fe422d83e84 [file] [log] [blame]
Sam Clegg16c16822018-05-10 22:16:44 +00001//===- WebAssemblyDisassemblerEmitter.h - Disassembler tables ---*- C++ -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Sam Clegg16c16822018-05-10 22:16:44 +00006//
7//===----------------------------------------------------------------------===//
8//
9// This file is part of the WebAssembly Disassembler Emitter.
10// It contains the interface of the disassembler tables.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H
15#define LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H
16
17#include "CodeGenInstruction.h"
18#include "llvm/ADT/ArrayRef.h"
19#include "llvm/Support/raw_ostream.h"
20
21namespace llvm {
22
23void emitWebAssemblyDisassemblerTables(
24 raw_ostream &OS,
25 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
26
27} // namespace llvm
28
29#endif