diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-02-07 19:39:45 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-02-07 19:39:45 +0000 |
commit | 184f5c1545e06a99951f14d846a1d853ff19a2b8 (patch) | |
tree | 5da4b1285bd519d07c05833e3033392d3dfd32c9 /lib/Target/R600/SIInstrInfo.h | |
parent | 60fc58262f4dba20c1ea5ede63e5a2c322489d32 (diff) | |
download | external_llvm-184f5c1545e06a99951f14d846a1d853ff19a2b8.zip external_llvm-184f5c1545e06a99951f14d846a1d853ff19a2b8.tar.gz external_llvm-184f5c1545e06a99951f14d846a1d853ff19a2b8.tar.bz2 |
R600/SI: cleanup VGPR encoding
Remove all the unused code.
Patch by: Christian König
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/SIInstrInfo.h')
-rw-r--r-- | lib/Target/R600/SIInstrInfo.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/Target/R600/SIInstrInfo.h b/lib/Target/R600/SIInstrInfo.h index e4de4b8..a65f7b6 100644 --- a/lib/Target/R600/SIInstrInfo.h +++ b/lib/Target/R600/SIInstrInfo.h @@ -35,12 +35,6 @@ public: unsigned DestReg, unsigned SrcReg, bool KillSrc) const; - /// \returns the encoding type of this instruction. - unsigned getEncodingType(const MachineInstr &MI) const; - - /// \returns the size of this instructions encoding in number of bytes. - unsigned getEncodingBytes(const MachineInstr &MI) const; - virtual MachineInstr * getMovImmInstr(MachineFunction *MF, unsigned DstReg, int64_t Imm) const; @@ -81,9 +75,9 @@ public: namespace SIInstrFlags { enum Flags { // First 4 bits are the instruction encoding - VM_CNT = 1 << 4, - EXP_CNT = 1 << 5, - LGKM_CNT = 1 << 6 + VM_CNT = 1 << 0, + EXP_CNT = 1 << 1, + LGKM_CNT = 1 << 2 }; } |