aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PTX/PTX.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PTX/PTX.h')
-rw-r--r--lib/Target/PTX/PTX.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Target/PTX/PTX.h b/lib/Target/PTX/PTX.h
index ddd9e24..cbcfa51 100644
--- a/lib/Target/PTX/PTX.h
+++ b/lib/Target/PTX/PTX.h
@@ -19,6 +19,9 @@
#include "llvm/Target/TargetMachine.h"
namespace llvm {
+ class MachineInstr;
+ class MCInst;
+ class PTXAsmPrinter;
class PTXTargetMachine;
class FunctionPass;
@@ -33,7 +36,8 @@ namespace llvm {
enum Predicate {
PRED_NORMAL = 0,
- PRED_NEGATE = 1
+ PRED_NEGATE = 1,
+ PRED_NONE = 2
};
} // namespace PTX
@@ -45,6 +49,9 @@ namespace llvm {
FunctionPass *createPTXRegisterAllocator();
+ void LowerPTXMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
+ PTXAsmPrinter &AP);
+
} // namespace llvm;
#endif // PTX_H