summaryrefslogtreecommitdiff
path: root/lib/Target/MBlaze/MBlazeInstrInfo.h
diff options
context:
space:
mode:
authorWesley Peck <peckw@wesleypeck.com>2010-12-02 16:17:11 +0000
committerWesley Peck <peckw@wesleypeck.com>2010-12-02 16:17:11 +0000
commit2e06398405c61d6d2aa99785fe34d34c33808330 (patch)
treeaae9084cec2d4682244988348422fc990c8c8be9 /lib/Target/MBlaze/MBlazeInstrInfo.h
parent5d87255969560d47c08db9382ef3d3fa70fe3ec2 (diff)
downloadllvm-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.h5
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,