Sam Clegg | 04cf0d7 | 2018-05-10 22:16:44 +0000 | [diff] [blame] | 1 | //===- WebAssemblyDisassemblerEmitter.h - Disassembler tables ---*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file is part of the WebAssembly Disassembler Emitter. |
| 11 | // It contains the interface of the disassembler tables. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H |
| 16 | #define LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H |
| 17 | |
| 18 | #include "CodeGenInstruction.h" |
| 19 | #include "llvm/ADT/ArrayRef.h" |
| 20 | #include "llvm/Support/raw_ostream.h" |
| 21 | |
| 22 | namespace llvm { |
| 23 | |
| 24 | void emitWebAssemblyDisassemblerTables( |
| 25 | raw_ostream &OS, |
| 26 | const ArrayRef<const CodeGenInstruction *> &NumberedInstructions); |
| 27 | |
| 28 | } // namespace llvm |
| 29 | |
| 30 | #endif |