summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcInstrInfo.h
diff options
context:
space:
mode:
authorVenkatraman Govindaraju <venkatra@cs.wisc.edu>2011-01-16 03:15:11 +0000
committerVenkatraman Govindaraju <venkatra@cs.wisc.edu>2011-01-16 03:15:11 +0000
commitc1a62834a2ad33a80ca2b1f3a549f4f7806cd320 (patch)
tree2a7de945c8823a7ca63200af88b2b378d31dc20c /lib/Target/Sparc/SparcInstrInfo.h
parent9cd3da47f9d67d345a94dddf85fcbb3ff2dd7200 (diff)
downloadllvm-c1a62834a2ad33a80ca2b1f3a549f4f7806cd320.tar.gz
llvm-c1a62834a2ad33a80ca2b1f3a549f4f7806cd320.tar.bz2
llvm-c1a62834a2ad33a80ca2b1f3a549f4f7806cd320.tar.xz
Implement AnalyzeBranch in Sparc Backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcInstrInfo.h')
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.h b/lib/Target/Sparc/SparcInstrInfo.h
index c00bd21987..b2d24f5250 100644
--- a/lib/Target/Sparc/SparcInstrInfo.h
+++ b/lib/Target/Sparc/SparcInstrInfo.h
@@ -58,8 +58,15 @@ public:
/// any side effects other than storing to the stack slot.
virtual unsigned isStoreToStackSlot(const MachineInstr *MI,
int &FrameIndex) const;
-
-
+
+
+ virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
+ MachineBasicBlock *&FBB,
+ SmallVectorImpl<MachineOperand> &Cond,
+ bool AllowModify = false) const ;
+
+ virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const;
+
virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
MachineBasicBlock *FBB,
const SmallVectorImpl<MachineOperand> &Cond,