summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/Mips.h
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@mips.com>2018-02-23 11:06:40 +0000
committerPetar Jovanovic <petar.jovanovic@mips.com>2018-02-23 11:06:40 +0000
commitfac93e28f066b6a25b480c0d4334f94473ea1571 (patch)
treedaa696312dda8de6c1bbe32fc1437d203e18dc0a /llvm/lib/Target/Mips/Mips.h
parentdb1a06244758537fe831a680ce2b1aedcafafe23 (diff)
downloadbcm5719-llvm-fac93e28f066b6a25b480c0d4334f94473ea1571.tar.gz
bcm5719-llvm-fac93e28f066b6a25b480c0d4334f94473ea1571.zip
[MIPS GlobalISel] Adding GlobalISel
Add GlobalISel infrastructure up to the point where we can select a ret void. Patch by Petar Avramovic. Differential Revision: https://reviews.llvm.org/D43583 llvm-svn: 325888
Diffstat (limited to 'llvm/lib/Target/Mips/Mips.h')
-rw-r--r--llvm/lib/Target/Mips/Mips.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/Mips.h b/llvm/lib/Target/Mips/Mips.h
index 008b9505ee2..f722388a5b1 100644
--- a/llvm/lib/Target/Mips/Mips.h
+++ b/llvm/lib/Target/Mips/Mips.h
@@ -22,6 +22,10 @@ namespace llvm {
class MipsTargetMachine;
class ModulePass;
class FunctionPass;
+ class MipsRegisterBankInfo;
+ class MipsSubtarget;
+ class MipsTargetMachine;
+ class InstructionSelector;
ModulePass *createMipsOs16Pass();
ModulePass *createMips16HardFloatPass();
@@ -33,6 +37,10 @@ namespace llvm {
FunctionPass *createMipsLongBranchPass();
FunctionPass *createMipsConstantIslandPass();
FunctionPass *createMicroMipsSizeReductionPass();
+
+ InstructionSelector *createMipsInstructionSelector(const MipsTargetMachine &,
+ MipsSubtarget &,
+ MipsRegisterBankInfo &);
} // end namespace llvm;
#endif
OpenPOWER on IntegriCloud