diff options
author | Ed Schouten <ed@FreeBSD.org> | 2009-06-03 21:10:15 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-03 21:10:15 +0000 |
commit | 68eb509bdc5c7007520d5231cd92de28106236df (patch) | |
tree | db103e2a0755ab86f18c181a2d208a6a63284c97 /lib/Target/Alpha/AlphaInstrInfo.h | |
parent | 33a8e4360f5050416130517e5c7a1007d06aa90f (diff) |
Diffstat (limited to 'lib/Target/Alpha/AlphaInstrInfo.h')
-rw-r--r-- | lib/Target/Alpha/AlphaInstrInfo.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaInstrInfo.h b/lib/Target/Alpha/AlphaInstrInfo.h index 182aa32f447a..ea0988553acc 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.h +++ b/lib/Target/Alpha/AlphaInstrInfo.h @@ -90,6 +90,18 @@ public: MachineBasicBlock::iterator MI) const; bool BlockHasNoFallThrough(const MachineBasicBlock &MBB) const; bool ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) 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; + + /// getGlobalRetAddr - Return a virtual register initialized with the + /// the global return address register value. Output instructions required to + /// initialize the register in the function entry block, if necessary. + /// + unsigned getGlobalRetAddr(MachineFunction *MF) const; }; } |