diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-10-31 16:49:55 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-10-31 16:49:55 +0000 |
commit | f81173f70eb71def77a4f835e6fec616fe1101ce (patch) | |
tree | e3c660201f8f084f65d2ae80bee45579bbcfee1d /lib/Target/Alpha/AlphaInstrInfo.h | |
parent | b191e0ab51174cfb86502308f520f139daa9e4a0 (diff) | |
download | external_llvm-f81173f70eb71def77a4f835e6fec616fe1101ce.zip external_llvm-f81173f70eb71def77a4f835e6fec616fe1101ce.tar.gz external_llvm-f81173f70eb71def77a4f835e6fec616fe1101ce.tar.bz2 |
Add all that branch mangling niftiness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaInstrInfo.h')
-rw-r--r-- | lib/Target/Alpha/AlphaInstrInfo.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaInstrInfo.h b/lib/Target/Alpha/AlphaInstrInfo.h index 25a4841..f5f55d9 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.h +++ b/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; }; } |