summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/Mips.h
diff options
context:
space:
mode:
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>2019-01-14 10:27:05 +0000
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>2019-01-14 10:27:05 +0000
commit7d370a36bb9fee7bd2b2d2b9ae72314e32cffcdd (patch)
tree980ca4a4105c0b0875a610468985fd799a80b397 /llvm/lib/Target/Mips/Mips.h
parent1f73310e1e8cd8943ac59ede3d4927bf7f341531 (diff)
downloadbcm5719-llvm-7d370a36bb9fee7bd2b2d2b9ae72314e32cffcdd.tar.gz
bcm5719-llvm-7d370a36bb9fee7bd2b2d2b9ae72314e32cffcdd.zip
[MIPS GlobalISel] Add pre legalizer combiner pass
Introduce GlobalISel pre legalizer pass for MIPS. It will be used to cope with instructions that require combining before legalization. Differential Revision: https://reviews.llvm.org/D56269 llvm-svn: 351046
Diffstat (limited to 'llvm/lib/Target/Mips/Mips.h')
-rw-r--r--llvm/lib/Target/Mips/Mips.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/Mips.h b/llvm/lib/Target/Mips/Mips.h
index ef3a807c764..6bb7aecc867 100644
--- a/llvm/lib/Target/Mips/Mips.h
+++ b/llvm/lib/Target/Mips/Mips.h
@@ -38,6 +38,7 @@ namespace llvm {
FunctionPass *createMipsConstantIslandPass();
FunctionPass *createMicroMipsSizeReducePass();
FunctionPass *createMipsExpandPseudoPass();
+ FunctionPass *createMipsPreLegalizeCombiner();
InstructionSelector *createMipsInstructionSelector(const MipsTargetMachine &,
MipsSubtarget &,
@@ -46,6 +47,7 @@ namespace llvm {
void initializeMipsDelaySlotFillerPass(PassRegistry &);
void initializeMipsBranchExpansionPass(PassRegistry &);
void initializeMicroMipsSizeReducePass(PassRegistry &);
+ void initializeMipsPreLegalizerCombinerPass(PassRegistry&);
} // end namespace llvm;
#endif
OpenPOWER on IntegriCloud