diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-10-18 22:40:57 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-10-18 22:40:57 +0000 |
commit | 463e2ab0ac7de966ba1b2289efa6b92d4509cd7b (patch) | |
tree | 1dd6d3acac71171ab947d2aba2c56be720d3bce8 /llvm/lib/Target/ARM/ARMRegisterInfo.h | |
parent | eee59ebb15a4421c99ab262ca52e081cb28846df (diff) | |
download | bcm5719-llvm-463e2ab0ac7de966ba1b2289efa6b92d4509cd7b.tar.gz bcm5719-llvm-463e2ab0ac7de966ba1b2289efa6b92d4509cd7b.zip |
- Added getOpcodeAfterMemoryUnfold(). It doesn't unfold an instruction, but only returns the opcode of the instruction post unfolding.
- Fix some copy+paste bugs.
llvm-svn: 43153
Diffstat (limited to 'llvm/lib/Target/ARM/ARMRegisterInfo.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMRegisterInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMRegisterInfo.h b/llvm/lib/Target/ARM/ARMRegisterInfo.h index 26602527b2a..e0a2493d77f 100644 --- a/llvm/lib/Target/ARM/ARMRegisterInfo.h +++ b/llvm/lib/Target/ARM/ARMRegisterInfo.h @@ -52,7 +52,7 @@ public: const TargetRegisterClass *RC) const; void storeRegToAddr(MachineFunction &MF, unsigned SrcReg, - SmallVectorImpl<MachineOperand> Addr, + SmallVectorImpl<MachineOperand> &Addr, const TargetRegisterClass *RC, SmallVectorImpl<MachineInstr*> &NewMIs) const; @@ -62,7 +62,7 @@ public: const TargetRegisterClass *RC) const; void loadRegFromAddr(MachineFunction &MF, unsigned DestReg, - SmallVectorImpl<MachineOperand> Addr, + SmallVectorImpl<MachineOperand> &Addr, const TargetRegisterClass *RC, SmallVectorImpl<MachineInstr*> &NewMIs) const; |