diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-02 18:21:47 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-02 18:21:47 +0000 |
commit | af2662606745bdebaa2cb43096274ce3d33b665f (patch) | |
tree | ee6b25aeea484706945d5e2d243661c0cacdd1a4 /lib/Target/Mips/MipsInstrInfo.h | |
parent | bddf83614a5e32297458e96375c533d231a5cd37 (diff) |
Move the code that creates instances of MipsInstrInfo and MipsFrameLowering out
of MipsTargetMachine.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsInstrInfo.h')
-rw-r--r-- | lib/Target/Mips/MipsInstrInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsInstrInfo.h b/lib/Target/Mips/MipsInstrInfo.h index 51fedc4fe4..7d56259062 100644 --- a/lib/Target/Mips/MipsInstrInfo.h +++ b/lib/Target/Mips/MipsInstrInfo.h @@ -33,6 +33,8 @@ protected: public: explicit MipsInstrInfo(MipsTargetMachine &TM, unsigned UncondBrOpc); + static const MipsInstrInfo *create(MipsTargetMachine &TM); + /// Branch Analysis virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, @@ -98,6 +100,10 @@ namespace Mips { MipsAnalyzeImmediate::Inst *LastInst); } +/// Create MipsInstrInfo objects. +const MipsInstrInfo *createMips16InstrInfo(MipsTargetMachine &TM); +const MipsInstrInfo *createMipsSEInstrInfo(MipsTargetMachine &TM); + } #endif |