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 "MCTargetDesc/PTXMCTargetDesc.h"
19 #include "llvm/Target/TargetMachine.h"
22 class PTXTargetMachine;
27 GLOBAL = 0, // default to global state space
40 FunctionPass *createPTXISelDag(PTXTargetMachine &TM,
41 CodeGenOpt::Level OptLevel);
43 FunctionPass *createPTXMFInfoExtract(PTXTargetMachine &TM,
44 CodeGenOpt::Level OptLevel);