summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreInstrInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-05-22 01:47:14 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-05-22 01:47:14 +0000
commit2457f2c66184e978d4ed8fa9e2128effff26cb0b (patch)
tree03c6a5233110f4bf94d5c13134bc803e1dbbdd3c /lib/Target/XCore/XCoreInstrInfo.h
parent5eb195153950bc7ebfc30649494a78b2096b5ef8 (diff)
downloadllvm-2457f2c66184e978d4ed8fa9e2128effff26cb0b.tar.gz
llvm-2457f2c66184e978d4ed8fa9e2128effff26cb0b.tar.bz2
llvm-2457f2c66184e978d4ed8fa9e2128effff26cb0b.tar.xz
Implement @llvm.returnaddress. rdar://8015977.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreInstrInfo.h')
-rw-r--r--lib/Target/XCore/XCoreInstrInfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/XCore/XCoreInstrInfo.h b/lib/Target/XCore/XCoreInstrInfo.h
index 7f0a669965..9035ea90c9 100644
--- a/lib/Target/XCore/XCoreInstrInfo.h
+++ b/lib/Target/XCore/XCoreInstrInfo.h
@@ -84,11 +84,13 @@ public:
virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI,
- const std::vector<CalleeSavedInfo> &CSI) const;
+ const std::vector<CalleeSavedInfo> &CSI,
+ const TargetRegisterInfo *TRI) const;
virtual bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI,
- const std::vector<CalleeSavedInfo> &CSI) const;
+ const std::vector<CalleeSavedInfo> &CSI,
+ const TargetRegisterInfo *TRI) const;
virtual bool ReverseBranchCondition(
SmallVectorImpl<MachineOperand> &Cond) const;