diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 23:26:06 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 23:26:06 +0000 |
commit | b8e9ac834a9c253e3f8f5caa8f229bafba0b4fcf (patch) | |
tree | a2469a5504599ca629811636fb79cf2886441435 /lib/Target/ARM/Thumb2InstrInfo.h | |
parent | 2df5e554e262c9c2b31b401387fee8678d16cec2 (diff) | |
download | external_llvm-b8e9ac834a9c253e3f8f5caa8f229bafba0b4fcf.zip external_llvm-b8e9ac834a9c253e3f8f5caa8f229bafba0b4fcf.tar.gz external_llvm-b8e9ac834a9c253e3f8f5caa8f229bafba0b4fcf.tar.bz2 |
Emit cross regclass register moves for thumb2.
Minor code duplication cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/Thumb2InstrInfo.h')
-rw-r--r-- | lib/Target/ARM/Thumb2InstrInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/ARM/Thumb2InstrInfo.h b/lib/Target/ARM/Thumb2InstrInfo.h index d408a7c..ac31707 100644 --- a/lib/Target/ARM/Thumb2InstrInfo.h +++ b/lib/Target/ARM/Thumb2InstrInfo.h @@ -37,6 +37,12 @@ public: // Return true if the block does not fall through. bool BlockHasNoFallThrough(const MachineBasicBlock &MBB) const; + bool copyRegToReg(MachineBasicBlock &MBB, + MachineBasicBlock::iterator I, + unsigned DestReg, unsigned SrcReg, + const TargetRegisterClass *DestRC, + const TargetRegisterClass *SrcRC) const; + /// getRegisterInfo - TargetInstrInfo is a superset of MRegister info. As /// such, whenever a client has an instance of instruction info, it should /// always be able to get register info as well (through this method). |