summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUInstrInfo.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-30 05:53:27 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-30 05:53:27 +0000
commitee7b0f395671d0b62fc7a00d870eb4b2d30f9ef2 (patch)
tree16ea0724b8761f2b96c5414864f122c319b12f8c /llvm/lib/Target/R600/AMDGPUInstrInfo.h
parentef550a6d013fcdb315e395daade1e0074fe97d31 (diff)
downloadbcm5719-llvm-ee7b0f395671d0b62fc7a00d870eb4b2d30f9ef2.tar.gz
bcm5719-llvm-ee7b0f395671d0b62fc7a00d870eb4b2d30f9ef2.zip
De-virtualize or remove some methods that have no overrides nor override anything. In some cases remove all together if there are no callers either.
llvm-svn: 207610
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUInstrInfo.h')
-rw-r--r--llvm/lib/Target/R600/AMDGPUInstrInfo.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUInstrInfo.h b/llvm/lib/Target/R600/AMDGPUInstrInfo.h
index 3e5640b60b1..74baf6b2a6f 100644
--- a/llvm/lib/Target/R600/AMDGPUInstrInfo.h
+++ b/llvm/lib/Target/R600/AMDGPUInstrInfo.h
@@ -103,11 +103,11 @@ protected:
MachineInstr *LoadMI) const override;
/// \returns the smallest register index that will be accessed by an indirect
/// read or write or -1 if indirect addressing is not used by this program.
- virtual int getIndirectIndexBegin(const MachineFunction &MF) const final;
+ int getIndirectIndexBegin(const MachineFunction &MF) const;
/// \returns the largest register index that will be accessed by an indirect
/// read or write or -1 if indirect addressing is not used by this program.
- virtual int getIndirectIndexEnd(const MachineFunction &MF) const final;
+ int getIndirectIndexEnd(const MachineFunction &MF) const;
public:
bool canFoldMemoryOperand(const MachineInstr *MI,
@@ -188,8 +188,7 @@ public:
/// \brief Convert the AMDIL MachineInstr to a supported ISA
/// MachineInstr
- virtual void convertToISA(MachineInstr & MI, MachineFunction &MF,
- DebugLoc DL) const final;
+ void convertToISA(MachineInstr & MI, MachineFunction &MF, DebugLoc DL) const;
/// \brief Build a MOV instruction.
virtual MachineInstr *buildMovInstr(MachineBasicBlock *MBB,
OpenPOWER on IntegriCloud