Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / utils / TableGen / WebAssemblyDisassemblerEmitter.h
blobaba3a4bfd3024bbcf4af7c3a25823c6fc66eb2f5
1 //===- WebAssemblyDisassemblerEmitter.h - Disassembler tables ---*- C++ -*-===//
2 //
3 // 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
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is part of the WebAssembly Disassembler Emitter.
10 // It contains the interface of the disassembler tables.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H
15 #define LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H
17 #include "llvm/ADT/ArrayRef.h"
19 namespace llvm {
21 class CodeGenInstruction;
22 class raw_ostream;
24 void emitWebAssemblyDisassemblerTables(
25 raw_ostream &OS,
26 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
28 } // namespace llvm
30 #endif