1 //===- SkeletonInstrInfo.h - Instruction Information ------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is where the target-specific implementation of the TargetInstrInfo
13 //===----------------------------------------------------------------------===//
15 #ifndef SKELETON_INSTRUCTIONINFO_H
16 #define SKELETON_INSTRUCTIONINFO_H
18 #include "llvm/Target/TargetInstrInfo.h"
19 #include "SkeletonRegisterInfo.h"
23 class SkeletonInstrInfo : public TargetInstrInfo {
24 const SkeletonRegisterInfo RI;
28 /// getRegisterInfo - TargetInstrInfo is a superset of MRegister info. As
29 /// such, whenever a client has an instance of instruction info, it should
30 /// always be able to get register info as well (through this method).
32 virtual const MRegisterInfo &getRegisterInfo() const { return RI; }