aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Skeleton/SkeletonInstrInfo.cpp
blob: e81f64f334fd1bb924619d84a67a5ef8df796da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//===- SkeletonInstrInfo.cpp - Instruction Information ----------*- C++ -*-===//
// 
//                     The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
// 
//===----------------------------------------------------------------------===//
//
// This is where you implement methods for the TargetInstrInfo class.
//
//===----------------------------------------------------------------------===//

#include "SkeletonInstrInfo.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "SkeletonGenInstrInfo.inc"  // Get info from Tablegen
using namespace llvm;

SkeletonInstrInfo::SkeletonInstrInfo()
  : TargetInstrInfo(SkeletonInsts,
                    sizeof(SkeletonInsts)/sizeof(SkeletonInsts[0])){
}