2011-04-16 05:51:11 +08:00
|
|
|
//===-- Mips.h - Top-level interface for Mips representation ----*- C++ -*-===//
|
2007-06-06 15:42:06 +08:00
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2007-06-06 15:42:06 +08:00
|
|
|
//
|
2011-04-16 05:51:11 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2007-06-06 15:42:06 +08:00
|
|
|
//
|
2011-03-05 01:51:39 +08:00
|
|
|
// This file contains the entry points for global functions defined in
|
2007-06-06 15:42:06 +08:00
|
|
|
// the LLVM Mips back-end.
|
|
|
|
//
|
2011-04-16 05:51:11 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2007-06-06 15:42:06 +08:00
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_MIPS_MIPS_H
|
|
|
|
#define LLVM_LIB_TARGET_MIPS_MIPS_H
|
2007-06-06 15:42:06 +08:00
|
|
|
|
2011-07-15 04:59:42 +08:00
|
|
|
#include "MCTargetDesc/MipsMCTargetDesc.h"
|
2009-04-30 07:29:43 +08:00
|
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
|
2007-06-06 15:42:06 +08:00
|
|
|
namespace llvm {
|
|
|
|
class MipsTargetMachine;
|
2015-03-14 16:34:25 +08:00
|
|
|
class ModulePass;
|
2007-06-06 15:42:06 +08:00
|
|
|
class FunctionPass;
|
2018-02-23 19:06:40 +08:00
|
|
|
class MipsRegisterBankInfo;
|
|
|
|
class MipsSubtarget;
|
|
|
|
class MipsTargetMachine;
|
|
|
|
class InstructionSelector;
|
2018-06-13 20:51:37 +08:00
|
|
|
class PassRegistry;
|
2007-06-06 15:42:06 +08:00
|
|
|
|
2017-05-19 01:21:13 +08:00
|
|
|
ModulePass *createMipsOs16Pass();
|
|
|
|
ModulePass *createMips16HardFloatPass();
|
2015-03-14 16:34:25 +08:00
|
|
|
|
2017-05-19 01:21:13 +08:00
|
|
|
FunctionPass *createMipsModuleISelDagPass();
|
|
|
|
FunctionPass *createMipsOptimizePICCallPass();
|
|
|
|
FunctionPass *createMipsDelaySlotFillerPass();
|
2018-05-22 21:24:38 +08:00
|
|
|
FunctionPass *createMipsBranchExpansion();
|
2016-06-28 22:26:39 +08:00
|
|
|
FunctionPass *createMipsConstantIslandPass();
|
2018-06-13 20:51:37 +08:00
|
|
|
FunctionPass *createMicroMipsSizeReducePass();
|
2018-07-05 17:27:05 +08:00
|
|
|
FunctionPass *createMipsExpandPseudoPass();
|
2019-01-14 18:27:05 +08:00
|
|
|
FunctionPass *createMipsPreLegalizeCombiner();
|
2018-02-23 19:06:40 +08:00
|
|
|
|
|
|
|
InstructionSelector *createMipsInstructionSelector(const MipsTargetMachine &,
|
|
|
|
MipsSubtarget &,
|
|
|
|
MipsRegisterBankInfo &);
|
2018-05-12 00:13:53 +08:00
|
|
|
|
|
|
|
void initializeMipsDelaySlotFillerPass(PassRegistry &);
|
2018-05-22 21:24:38 +08:00
|
|
|
void initializeMipsBranchExpansionPass(PassRegistry &);
|
2018-06-13 20:51:37 +08:00
|
|
|
void initializeMicroMipsSizeReducePass(PassRegistry &);
|
2019-01-14 18:27:05 +08:00
|
|
|
void initializeMipsPreLegalizerCombinerPass(PassRegistry&);
|
2015-06-23 17:49:53 +08:00
|
|
|
} // end namespace llvm;
|
2007-06-06 15:42:06 +08:00
|
|
|
|
|
|
|
#endif
|