Path: blob/main/contrib/llvm-project/llvm/lib/Target/Lanai/Disassembler/LanaiDisassembler.h
35295 views
//===- LanaiDisassembler.cpp - Disassembler for Lanai -----------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file is part of the Lanai Disassembler.9//10//===----------------------------------------------------------------------===//1112#ifndef LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H13#define LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H1415#include "llvm/MC/MCDisassembler/MCDisassembler.h"1617#define DEBUG_TYPE "lanai-disassembler"1819namespace llvm {2021class LanaiDisassembler : public MCDisassembler {22public:23LanaiDisassembler(const MCSubtargetInfo &STI, MCContext &Ctx);2425~LanaiDisassembler() override = default;2627// getInstruction - See MCDisassembler.28MCDisassembler::DecodeStatus29getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,30uint64_t Address, raw_ostream &CStream) const override;31};3233} // end namespace llvm3435#endif // LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H363738