//===- LanaiInstrInfo.h - Lanai Instruction Information ---------*- 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 contains the Lanai implementation of the TargetInstrInfo class. // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_TARGET_LANAI_LANAIINSTRINFO_H #define LLVM_LIB_TARGET_LANAI_LANAIINSTRINFO_H #include "LanaiRegisterInfo.h" #include "MCTargetDesc/LanaiMCTargetDesc.h" #include "llvm/CodeGen/TargetInstrInfo.h" #define GET_INSTRINFO_HEADER #include "LanaiGenInstrInfo.inc" namespace llvm { class LanaiInstrInfo : public LanaiGenInstrInfo { … }; static inline bool isSPLSOpcode(unsigned Opcode) { … } static inline bool isRMOpcode(unsigned Opcode) { … } static inline bool isRRMOpcode(unsigned Opcode) { … } } // namespace llvm #endif // LLVM_LIB_TARGET_LANAI_LANAIINSTRINFO_H