diff options
author | Eric Christopher <echristo@apple.com> | 2010-09-18 18:52:28 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-09-18 18:52:28 +0000 |
commit | 50880d08ec32857fa557281046c81a0506e7f64d (patch) | |
tree | 6c9556b109d89b999fdc92088733123af2ac5bbf /lib/Target/PTX/PTXInstrInfo.cpp | |
parent | 168705049c55feec88aec65af0aef07fc1376ce6 (diff) | |
download | external_llvm-50880d08ec32857fa557281046c81a0506e7f64d.zip external_llvm-50880d08ec32857fa557281046c81a0506e7f64d.tar.gz external_llvm-50880d08ec32857fa557281046c81a0506e7f64d.tar.bz2 |
Add the exit instruction to the PTX target.
Patch by Che-Liang Chiou <clchiou@gmail.com>!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PTX/PTXInstrInfo.cpp')
-rw-r--r-- | lib/Target/PTX/PTXInstrInfo.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/Target/PTX/PTXInstrInfo.cpp b/lib/Target/PTX/PTXInstrInfo.cpp new file mode 100644 index 0000000..59979dc --- /dev/null +++ b/lib/Target/PTX/PTXInstrInfo.cpp @@ -0,0 +1,22 @@ +//===- PTXInstrInfo.cpp - PTX Instruction Information ---------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file contains the PTX implementation of the TargetInstrInfo class. +// +//===----------------------------------------------------------------------===// + +#include "PTXInstrInfo.h" + +using namespace llvm; + +#include "PTXGenInstrInfo.inc" + +PTXInstrInfo::PTXInstrInfo(PTXTargetMachine &_TM) + : TargetInstrInfoImpl(PTXInsts, array_lengthof(PTXInsts)), + RI(_TM, *this), TM(_TM) {} |