[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32TargetMachine.h
Chris Lattner
lattner at persephone.cs.uiuc.edu
Mon Nov 22 21:56:57 PST 2004
Changes in directory llvm/lib/Target/PowerPC:
PPC32TargetMachine.h updated: 1.5 -> 1.6
---
Log message:
Move JITInfo from PPCTM to PPC32TM
---
Diffs of the changes: (+8 -0)
Index: llvm/lib/Target/PowerPC/PPC32TargetMachine.h
diff -u llvm/lib/Target/PowerPC/PPC32TargetMachine.h:1.5 llvm/lib/Target/PowerPC/PPC32TargetMachine.h:1.6
--- llvm/lib/Target/PowerPC/PPC32TargetMachine.h:1.5 Sat Sep 4 00:00:00 2004
+++ llvm/lib/Target/PowerPC/PPC32TargetMachine.h Mon Nov 22 23:56:40 2004
@@ -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 PPC32TargetMachine : public PowerPCTargetMachine {
PPC32InstrInfo InstrInfo;
+ PPC32JITInfo JITInfo;
public:
PPC32TargetMachine(const Module &M, IntrinsicLowering *IL);
@@ -31,6 +33,12 @@
virtual const MRegisterInfo *getRegisterInfo() const {
return &InstrInfo.getRegisterInfo();
}
+
+ virtual TargetJITInfo *getJITInfo() {
+ return &JITInfo;
+ }
+
+ static unsigned getJITMatchQuality();
static unsigned getModuleMatchQuality(const Module &M);
More information about the llvm-commits
mailing list