diff options
author | Wesley Peck <peckw@wesleypeck.com> | 2010-12-02 16:17:11 +0000 |
---|---|---|
committer | Wesley Peck <peckw@wesleypeck.com> | 2010-12-02 16:17:11 +0000 |
commit | 2e06398405c61d6d2aa99785fe34d34c33808330 (patch) | |
tree | aae9084cec2d4682244988348422fc990c8c8be9 /lib/Target/MBlaze/MBlazeInstrInfo.h | |
parent | 5d87255969560d47c08db9382ef3d3fa70fe3ec2 (diff) | |
download | llvm-2e06398405c61d6d2aa99785fe34d34c33808330.tar.gz llvm-2e06398405c61d6d2aa99785fe34d34c33808330.tar.bz2 llvm-2e06398405c61d6d2aa99785fe34d34c33808330.tar.xz |
Teaching MBlaze backend how to reverse branch conditions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze/MBlazeInstrInfo.h')
-rw-r--r-- | lib/Target/MBlaze/MBlazeInstrInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/MBlaze/MBlazeInstrInfo.h b/lib/Target/MBlaze/MBlazeInstrInfo.h index 91392f92e4..b7300c1408 100644 --- a/lib/Target/MBlaze/MBlazeInstrInfo.h +++ b/lib/Target/MBlaze/MBlazeInstrInfo.h @@ -257,6 +257,11 @@ public: const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const; virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const; + + virtual bool ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) + const; + + virtual void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, unsigned DestReg, unsigned SrcReg, |