1 //===-- PTX.h - Top-level interface for PTX representation ------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the entry points for global functions defined in the LLVM
13 //===----------------------------------------------------------------------===//
18 #include "llvm/Target/TargetMachine.h"
21 class PTXTargetMachine;
26 GLOBAL = 0, // default to global state space
34 FunctionPass *createPTXISelDag(PTXTargetMachine &TM,
35 CodeGenOpt::Level OptLevel);
37 FunctionPass *createPTXMFInfoExtract(PTXTargetMachine &TM,
38 CodeGenOpt::Level OptLevel);
40 extern Target ThePTXTarget;
43 // Defines symbolic names for PTX registers.
44 #include "PTXGenRegisterNames.inc"
46 // Defines symbolic names for the PTX instructions.
47 #include "PTXGenInstrNames.inc"