summaryrefslogtreecommitdiff
path: root/lib/Target/Nios2/Nios2InstrInfo.cpp
blob: 412cfcef3afbf0c8dfd7b4c7ef9fc71c6f0e145f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//===-- Nios2InstrInfo.cpp - Nios2 Instruction Information ----------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the Nios2 implementation of the TargetInstrInfo class.
//
//===----------------------------------------------------------------------===//

#include "Nios2InstrInfo.h"
#include "Nios2TargetMachine.h"

using namespace llvm;

#define GET_INSTRINFO_CTOR_DTOR
#include "Nios2GenInstrInfo.inc"

const Nios2InstrInfo *Nios2InstrInfo::create(Nios2Subtarget &STI) {
  return new Nios2InstrInfo(STI);
}

const Nios2RegisterInfo &Nios2InstrInfo::getRegisterInfo() const { return RI; }