xref: /freebsd-src/contrib/llvm-project/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h (revision 1fd87a682ad7442327078e1eeb63edc4258f9815)
10b57cec5SDimitry Andric //===- WebAssemblyDisassemblerEmitter.h - Disassembler tables ---*- C++ -*-===//
20b57cec5SDimitry Andric //
30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric //
70b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
80b57cec5SDimitry Andric //
90b57cec5SDimitry Andric // This file is part of the WebAssembly Disassembler Emitter.
100b57cec5SDimitry Andric // It contains the interface of the disassembler tables.
110b57cec5SDimitry Andric //
120b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
130b57cec5SDimitry Andric 
140b57cec5SDimitry Andric #ifndef LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H
150b57cec5SDimitry Andric #define LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H
160b57cec5SDimitry Andric 
170b57cec5SDimitry Andric #include "llvm/ADT/ArrayRef.h"
180b57cec5SDimitry Andric 
190b57cec5SDimitry Andric namespace llvm {
200b57cec5SDimitry Andric 
21*1fd87a68SDimitry Andric class CodeGenInstruction;
22*1fd87a68SDimitry Andric class raw_ostream;
23*1fd87a68SDimitry Andric 
240b57cec5SDimitry Andric void emitWebAssemblyDisassemblerTables(
250b57cec5SDimitry Andric     raw_ostream &OS,
260b57cec5SDimitry Andric     const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
270b57cec5SDimitry Andric 
280b57cec5SDimitry Andric } // namespace llvm
290b57cec5SDimitry Andric 
300b57cec5SDimitry Andric #endif
31