2 // The LLVM Compiler Infrastructure
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
7 //===----------------------------------------------------------------------===//
9 // This file contains the entry points for global functions defined in the LLVM
12 //===----------------------------------------------------------------------===//
17 #include "MCTargetDesc/PTXBaseInfo.h"
18 #include "llvm/Target/TargetMachine.h"
24 class PTXTargetMachine;
27 FunctionPass *createPTXISelDag(PTXTargetMachine &TM,
28 CodeGenOpt::Level OptLevel);
30 FunctionPass *createPTXMFInfoExtract(PTXTargetMachine &TM,
31 CodeGenOpt::Level OptLevel);
33 FunctionPass *createPTXFPRoundingModePass(PTXTargetMachine &TM,
34 CodeGenOpt::Level OptLevel);
36 FunctionPass *createPTXRegisterAllocator();
38 void LowerPTXMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,