Move XForm instructions over to the auto-generated asm writer
[oota-llvm.git] / lib / Target / Skeleton / SkeletonInstrInfo.cpp
1 //===- SkeletonInstrInfo.cpp - Instruction Information ----------*- C++ -*-===//
2 // 
3 //                     The LLVM Compiler Infrastructure
4 //
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.
7 // 
8 //===----------------------------------------------------------------------===//
9 //
10 // This is where you implement methods for the TargetInstrInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "SkeletonInstrInfo.h"
15 #include "llvm/CodeGen/MachineInstrBuilder.h"
16 #include "SkeletonGenInstrInfo.inc"  // Get info from Tablegen
17 using namespace llvm;
18
19 SkeletonInstrInfo::SkeletonInstrInfo()
20   : TargetInstrInfo(SkeletonInsts,
21                     sizeof(SkeletonInsts)/sizeof(SkeletonInsts[0])){
22 }