diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-12-02 08:30:39 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-12-02 08:30:39 +0000 |
commit | f45a1d623cce45fb716555214a92ef3a759c9592 (patch) | |
tree | 04a2dba71ecb5aa16b79ee39d26ec97d49caf65d /llvm/lib/Target/Mips/MipsRegisterInfo.h | |
parent | 310369fb8440064d623ae8f63354c815de47dcc6 (diff) | |
download | bcm5719-llvm-f45a1d623cce45fb716555214a92ef3a759c9592.tar.gz bcm5719-llvm-f45a1d623cce45fb716555214a92ef3a759c9592.zip |
Remove redundant foldMemoryOperand variants and other code clean up.
llvm-svn: 44517
Diffstat (limited to 'llvm/lib/Target/Mips/MipsRegisterInfo.h')
-rw-r--r-- | llvm/lib/Target/Mips/MipsRegisterInfo.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/llvm/lib/Target/Mips/MipsRegisterInfo.h b/llvm/lib/Target/Mips/MipsRegisterInfo.h index 123f6e87dc8..4ebb7369756 100644 --- a/llvm/lib/Target/Mips/MipsRegisterInfo.h +++ b/llvm/lib/Target/Mips/MipsRegisterInfo.h @@ -55,22 +55,12 @@ struct MipsRegisterInfo : public MipsGenRegisterInfo { void reMaterialize(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned DestReg, const MachineInstr *Orig) const; - MachineInstr* foldMemoryOperand(MachineInstr* MI, unsigned OpNum, - int FrameIndex) const; - MachineInstr* foldMemoryOperand(MachineInstr* MI, - SmallVectorImpl<unsigned> &UseOps, - int FrameIndex) const { - return 0; - } - - MachineInstr* foldMemoryOperand(MachineInstr* MI, unsigned OpNum, - MachineInstr* LoadMI) const { - return 0; - } + SmallVectorImpl<unsigned> &Ops, + int FrameIndex) const; MachineInstr* foldMemoryOperand(MachineInstr* MI, - SmallVectorImpl<unsigned> &UseOps, + SmallVectorImpl<unsigned> &Ops, MachineInstr* LoadMI) const { return 0; } |