blob: 59979dc8dfb1baeebfcac6b6bc8fa365fb72b267 [file] [log] [blame]
Eric Christopher50880d02010-09-18 18:52:28 +00001//===- PTXInstrInfo.cpp - PTX Instruction Information ---------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the PTX implementation of the TargetInstrInfo class.
11//
12//===----------------------------------------------------------------------===//
13
14#include "PTXInstrInfo.h"
15
16using namespace llvm;
17
18#include "PTXGenInstrInfo.inc"
19
20PTXInstrInfo::PTXInstrInfo(PTXTargetMachine &_TM)
21 : TargetInstrInfoImpl(PTXInsts, array_lengthof(PTXInsts)),
22 RI(_TM, *this), TM(_TM) {}