Move JITInfo from PPCTM to PPC32TM
[oota-llvm.git] / lib / Target / PowerPC / PPCTargetMachine.h
index f26009a120e2851bee39014c25f3015b122b4cdf..278d31a267c85ed93e9cb149270bc7bcfb39d4ac 100644 (file)
@@ -15,6 +15,7 @@
 #define POWERPC32_TARGETMACHINE_H
 
 #include "PowerPCTargetMachine.h"
+#include "PPC32JITInfo.h"
 #include "PPC32InstrInfo.h"
 #include "llvm/PassManager.h"
 
@@ -24,6 +25,7 @@ class IntrinsicLowering;
 
 class PPC32TargetMachine : public PowerPCTargetMachine {
   PPC32InstrInfo InstrInfo;
+  PPC32JITInfo JITInfo;
 
 public:
   PPC32TargetMachine(const Module &M, IntrinsicLowering *IL);
@@ -32,6 +34,12 @@ public:
     return &InstrInfo.getRegisterInfo();
   }
 
+  virtual TargetJITInfo *getJITInfo() {
+    return &JITInfo;
+  }
+
+  static unsigned getJITMatchQuality();
+
   static unsigned getModuleMatchQuality(const Module &M);
 
   bool addPassesToEmitMachineCode(FunctionPassManager &PM,