summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUFrameLowering.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-29 07:57:24 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-29 07:57:24 +0000
commit5656db4a8ba682c7436eac98c65570b62b3a138f (patch)
tree427bda509c4ed721b2ac5baadb1d71a6d180a7e3 /llvm/lib/Target/R600/AMDGPUFrameLowering.h
parentb0c941bebd251611303a1e14639dbd2c3ada871f (diff)
downloadbcm5719-llvm-5656db4a8ba682c7436eac98c65570b62b3a138f.tar.gz
bcm5719-llvm-5656db4a8ba682c7436eac98c65570b62b3a138f.zip
[C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. R600 edition
llvm-svn: 207503
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUFrameLowering.h')
-rw-r--r--llvm/lib/Target/R600/AMDGPUFrameLowering.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUFrameLowering.h b/llvm/lib/Target/R600/AMDGPUFrameLowering.h
index cf5742ee095..ad5de7c309a 100644
--- a/llvm/lib/Target/R600/AMDGPUFrameLowering.h
+++ b/llvm/lib/Target/R600/AMDGPUFrameLowering.h
@@ -33,12 +33,13 @@ public:
/// \returns The number of 32-bit sub-registers that are used when storing
/// values to the stack.
- virtual unsigned getStackWidth(const MachineFunction &MF) const;
- virtual int getFrameIndexOffset(const MachineFunction &MF, int FI) const;
- virtual const SpillSlot *getCalleeSavedSpillSlots(unsigned &NumEntries) const;
- virtual void emitPrologue(MachineFunction &MF) const;
- virtual void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
- virtual bool hasFP(const MachineFunction &MF) const;
+ virtual unsigned getStackWidth(const MachineFunction &MF) const final;
+ int getFrameIndexOffset(const MachineFunction &MF, int FI) const override;
+ const SpillSlot *
+ getCalleeSavedSpillSlots(unsigned &NumEntries) const override;
+ void emitPrologue(MachineFunction &MF) const override;
+ void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
+ bool hasFP(const MachineFunction &MF) const override;
};
} // namespace llvm
#endif // AMDILFRAME_LOWERING_H
OpenPOWER on IntegriCloud