30 lines · c
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-exception6//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_H15#define LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H16 17#include "llvm/ADT/ArrayRef.h"18 19namespace llvm {20 21class CodeGenInstruction;22class raw_ostream;23 24void emitWebAssemblyDisassemblerTables(25 raw_ostream &OS, ArrayRef<const CodeGenInstruction *> NumberedInstructions);26 27} // namespace llvm28 29#endif30