LLVM API Documentation
00001 //===- SkeletonInstrInfo.cpp - Instruction Information ----------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file was developed by the LLVM research group and is distributed under 00006 // the University of Illinois Open Source License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This is where you implement methods for the TargetInstrInfo class. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #include "SkeletonInstrInfo.h" 00015 #include "llvm/CodeGen/MachineInstrBuilder.h" 00016 #include "SkeletonGenInstrInfo.inc" // Get info from Tablegen 00017 using namespace llvm; 00018 00019 SkeletonInstrInfo::SkeletonInstrInfo() 00020 : TargetInstrInfo(SkeletonInsts, 00021 sizeof(SkeletonInsts)/sizeof(SkeletonInsts[0])){ 00022 }