summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-03-11 22:42:13 +0000
committerEric Christopher <echristo@gmail.com>2015-03-11 22:42:13 +0000
commit9deb75d1766f7082dfd3aeae0e2970383c0e624c (patch)
tree237dfe8edcdb1b52a974ad1d7ee68be0120b47b0 /llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
parent1c6ff0ac2e71ecbc5118e18262986abed4d5c3c9 (diff)
downloadbcm5719-llvm-9deb75d1766f7082dfd3aeae0e2970383c0e624c.tar.gz
bcm5719-llvm-9deb75d1766f7082dfd3aeae0e2970383c0e624c.zip
Have getCallPreservedMask and getThisCallPreservedMask take a
MachineFunction argument so that we can grab subtarget specific features off of it. llvm-svn: 231979
Diffstat (limited to 'llvm/lib/Target/ARM/ARMBaseRegisterInfo.h')
-rw-r--r--llvm/lib/Target/ARM/ARMBaseRegisterInfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
index b5b4f9236a0..9db60586d34 100644
--- a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
+++ b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
@@ -101,7 +101,8 @@ protected:
public:
/// Code Generation virtual methods...
const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
- const uint32_t *getCallPreservedMask(CallingConv::ID) const override;
+ const uint32_t *getCallPreservedMask(const MachineFunction &MF,
+ CallingConv::ID) const override;
const uint32_t *getNoPreservedMask() const;
/// getThisReturnPreservedMask - Returns a call preserved mask specific to the
@@ -112,7 +113,8 @@ public:
///
/// Should return NULL in the case that the calling convention does not have
/// this property
- const uint32_t *getThisReturnPreservedMask(CallingConv::ID) const;
+ const uint32_t *getThisReturnPreservedMask(const MachineFunction &MF,
+ CallingConv::ID) const;
BitVector getReservedRegs(const MachineFunction &MF) const override;
OpenPOWER on IntegriCloud