~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to lib/Target/PTX/MCTargetDesc/PTXMCTargetDesc.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//===-- PTXMCTargetDesc.h - PTX Target Descriptions ------------*- C++ -*-===//
 
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 provides PTX specific target descriptions.
 
11
//
 
12
//===----------------------------------------------------------------------===//
 
13
 
 
14
#ifndef PTXMCTARGETDESC_H
 
15
#define PTXMCTARGETDESC_H
 
16
 
 
17
namespace llvm {
 
18
class Target;
 
19
 
 
20
extern Target ThePTX32Target;
 
21
extern Target ThePTX64Target;
 
22
 
 
23
} // End llvm namespace
 
24
 
 
25
// Defines symbolic names for PTX registers.
 
26
#define GET_REGINFO_ENUM
 
27
#include "PTXGenRegisterInfo.inc"
 
28
 
 
29
// Defines symbolic names for the PTX instructions.
 
30
#define GET_INSTRINFO_ENUM
 
31
#include "PTXGenInstrInfo.inc"
 
32
 
 
33
#define GET_SUBTARGETINFO_ENUM
 
34
#include "PTXGenSubtargetInfo.inc"
 
35
 
 
36
#endif