//===- WebAssemblyDisassemblerEmitter.cpp - Disassembler tables -*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file is part of the WebAssembly Disassembler Emitter. // It contains the implementation of the disassembler tables. // Documentation for the disassembler emitter in general can be found in // WebAssemblyDisassemblerEmitter.h. // //===----------------------------------------------------------------------===// #include "WebAssemblyDisassemblerEmitter.h" #include "Common/CodeGenInstruction.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Support/raw_ostream.h" #include "llvm/TableGen/Record.h" static constexpr int WebAssemblyInstructionTableSize = …; void llvm::emitWebAssemblyDisassemblerTables( raw_ostream &OS, ArrayRef<const CodeGenInstruction *> NumberedInstructions) { … }