summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit168ced94d84929f7cdb5d61c67ed79e7275f0ec6 (patch)
treea9b6a2f1562ee40a1a93d1ab2e9646610f8f1c3d /llvm/lib/Target/XCore/XCoreInstrInfo.h
parentbd9485db634dd2341f6e766e99bff758793d0d42 (diff)
downloadbcm5719-llvm-168ced94d84929f7cdb5d61c67ed79e7275f0ec6.tar.gz
bcm5719-llvm-168ced94d84929f7cdb5d61c67ed79e7275f0ec6.zip
Implement @llvm.returnaddress. rdar://8015977.
llvm-svn: 104421
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreInstrInfo.h')
-rw-r--r--llvm/lib/Target/XCore/XCoreInstrInfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/XCore/XCoreInstrInfo.h b/llvm/lib/Target/XCore/XCoreInstrInfo.h
index 7f0a6699659..9035ea90c9b 100644
--- a/llvm/lib/Target/XCore/XCoreInstrInfo.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud