diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-24 16:41:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-24 16:41:36 +0000 |
commit | 0476b2852541575cc1628685cdb1d02d38ba6f87 (patch) | |
tree | 47041b8018ee5af8bbedf51cdf3d4daf62470e37 /lib/Target/Alpha/AlphaInstrInfo.h | |
parent | e87146ace88464be4ea4f8869830642c40178f1f (diff) | |
download | external_llvm-0476b2852541575cc1628685cdb1d02d38ba6f87.zip external_llvm-0476b2852541575cc1628685cdb1d02d38ba6f87.tar.gz external_llvm-0476b2852541575cc1628685cdb1d02d38ba6f87.tar.bz2 |
implement uncond branch insertion so alpha works work branchfolding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31158 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaInstrInfo.h')
-rw-r--r-- | lib/Target/Alpha/AlphaInstrInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaInstrInfo.h b/lib/Target/Alpha/AlphaInstrInfo.h index 7eed9ef..25a4841 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.h +++ b/lib/Target/Alpha/AlphaInstrInfo.h @@ -38,6 +38,10 @@ public: virtual unsigned isLoadFromStackSlot(MachineInstr *MI, int &FrameIndex) const; virtual unsigned isStoreToStackSlot(MachineInstr *MI, int &FrameIndex) const; + + virtual void InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, + MachineBasicBlock *FBB, + const std::vector<MachineOperand> &Cond) const; }; } |