Chris Lattner | 5ad021c | 2004-07-16 07:11:15 +0000 | [diff] [blame] | 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 | } |