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/PTXBaseInfo.h"
19 #include "llvm/Target/TargetMachine.h"
25 class PTXTargetMachine;
28 FunctionPass *createPTXISelDag(PTXTargetMachine &TM,
29 CodeGenOpt::Level OptLevel);
31 FunctionPass *createPTXMFInfoExtract(PTXTargetMachine &TM,
32 CodeGenOpt::Level OptLevel);
34 FunctionPass *createPTXFPRoundingModePass(PTXTargetMachine &TM,
35 CodeGenOpt::Level OptLevel);
37 FunctionPass *createPTXRegisterAllocator();
39 void LowerPTXMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,