summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaInstrInfo.h
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-10-31 16:49:55 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-10-31 16:49:55 +0000
commit692e4155aa395696102da7773be07d3c0800561e (patch)
treea0bff7c912134796983de7b11ff65d23b69e0d0e /llvm/lib/Target/Alpha/AlphaInstrInfo.h
parent4e825336a0537c9e618d8011c9b1aad9a26e6dd8 (diff)
downloadbcm5719-llvm-692e4155aa395696102da7773be07d3c0800561e.tar.gz
bcm5719-llvm-692e4155aa395696102da7773be07d3c0800561e.zip
Add all that branch mangling niftiness
llvm-svn: 31313
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaInstrInfo.h')
-rw-r--r--llvm/lib/Target/Alpha/AlphaInstrInfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaInstrInfo.h b/llvm/lib/Target/Alpha/AlphaInstrInfo.h
index 25a4841c8ea..f5f55d9a6c8 100644
--- a/llvm/lib/Target/Alpha/AlphaInstrInfo.h
+++ b/llvm/lib/Target/Alpha/AlphaInstrInfo.h
@@ -42,6 +42,14 @@ public:
virtual void InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
MachineBasicBlock *FBB,
const std::vector<MachineOperand> &Cond) const;
+ bool AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB,
+ MachineBasicBlock *&FBB,
+ std::vector<MachineOperand> &Cond) const;
+ void RemoveBranch(MachineBasicBlock &MBB) const;
+ void insertNoop(MachineBasicBlock &MBB,
+ MachineBasicBlock::iterator MI) const;
+ bool BlockHasNoFallThrough(MachineBasicBlock &MBB) const;
+ bool ReverseBranchCondition(std::vector<MachineOperand> &Cond) const;
};
}
OpenPOWER on IntegriCloud