WebAssemblyDisassemblerEmitter.h 956 B

123456789101112131415161718192021222324252627282930
  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.
  11. //
  12. //===----------------------------------------------------------------------===//
  13. #ifndef LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H
  14. #define LLVM_UTILS_TABLEGEN_WEBASSEMBLYDISASSEMBLEREMITTER_H
  15. #include "llvm/ADT/ArrayRef.h"
  16. namespace llvm {
  17. class CodeGenInstruction;
  18. class raw_ostream;
  19. void emitWebAssemblyDisassemblerTables(
  20. raw_ostream &OS,
  21. const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
  22. } // namespace llvm
  23. #endif