mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
[C++11] Add 'override' keyword to virtual methods that override their base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203220 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -256,21 +256,20 @@ public:
|
||||
RAGreedy();
|
||||
|
||||
/// Return the pass name.
|
||||
virtual const char* getPassName() const {
|
||||
const char* getPassName() const override {
|
||||
return "Greedy Register Allocator";
|
||||
}
|
||||
|
||||
/// RAGreedy analysis usage.
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
|
||||
virtual void releaseMemory();
|
||||
virtual Spiller &spiller() { return *SpillerInstance; }
|
||||
virtual void enqueue(LiveInterval *LI);
|
||||
virtual LiveInterval *dequeue();
|
||||
virtual unsigned selectOrSplit(LiveInterval&,
|
||||
SmallVectorImpl<unsigned>&);
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const override;
|
||||
void releaseMemory() override;
|
||||
Spiller &spiller() override { return *SpillerInstance; }
|
||||
void enqueue(LiveInterval *LI) override;
|
||||
LiveInterval *dequeue() override;
|
||||
unsigned selectOrSplit(LiveInterval&, SmallVectorImpl<unsigned>&) override;
|
||||
|
||||
/// Perform register allocation.
|
||||
virtual bool runOnMachineFunction(MachineFunction &mf);
|
||||
bool runOnMachineFunction(MachineFunction &mf) override;
|
||||
|
||||
static char ID;
|
||||
|
||||
@@ -278,9 +277,9 @@ private:
|
||||
unsigned selectOrSplitImpl(LiveInterval &, SmallVectorImpl<unsigned> &,
|
||||
SmallVirtRegSet &, unsigned = 0);
|
||||
|
||||
bool LRE_CanEraseVirtReg(unsigned);
|
||||
void LRE_WillShrinkVirtReg(unsigned);
|
||||
void LRE_DidCloneVirtReg(unsigned, unsigned);
|
||||
bool LRE_CanEraseVirtReg(unsigned) override;
|
||||
void LRE_WillShrinkVirtReg(unsigned) override;
|
||||
void LRE_DidCloneVirtReg(unsigned, unsigned) override;
|
||||
void enqueue(PQueue &CurQueue, LiveInterval *LI);
|
||||
LiveInterval *dequeue(PQueue &CurQueue);
|
||||
|
||||
|
Reference in New Issue
Block a user