Add the exit instruction to the PTX target.
[oota-llvm.git] / lib / Target / PTX / PTXInstrInfo.cpp
1 //===- 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
16 using namespace llvm;
17
18 #include "PTXGenInstrInfo.inc"
19
20 PTXInstrInfo::PTXInstrInfo(PTXTargetMachine &_TM)
21   : TargetInstrInfoImpl(PTXInsts, array_lengthof(PTXInsts)),
22     RI(_TM, *this), TM(_TM) {}