CMake build fixes, from Xerxes Ranby
[oota-llvm.git] / lib / Target / Mips / MipsInstrInfo.h
index 334244e6601aa39653deeb085cbf49edf14c9b22..6655c6749fdf78f296a950b6e15e6eb8d1821f87 100644 (file)
@@ -216,6 +216,12 @@ public:
   /// Insert nop instruction when hazard condition is found
   virtual void insertNoop(MachineBasicBlock &MBB, 
                           MachineBasicBlock::iterator MI) const;
+
+  /// getGlobalBaseReg - Return a virtual register initialized with the
+  /// the global base register value. Output instructions required to
+  /// initialize the register in the function entry block, if necessary.
+  ///
+  unsigned getGlobalBaseReg(MachineFunction *MF) const;
 };
 
 }