14#ifndef LLVM_LIB_TARGET_MIPS_MIPS_H
15#define LLVM_LIB_TARGET_MIPS_MIPS_H
20#define IsMFLOMFHI(instr) \
21 (instr == Mips::MFLO || instr == Mips::MFLO64 || instr == Mips::MFHI || \
22 instr == Mips::MFHI64)
23#define IsDIVMULT(instr) \
24 (instr == Mips::SDIV || instr == Mips::PseudoSDIV || instr == Mips::DSDIV || \
25 instr == Mips::PseudoDSDIV || instr == Mips::UDIV || \
26 instr == Mips::PseudoUDIV || instr == Mips::DUDIV || \
27 instr == Mips::PseudoDUDIV || instr == Mips::MULT || \
28 instr == Mips::PseudoMULT || instr == Mips::DMULT || \
29 instr == Mips::PseudoDMULT)
33class InstructionSelector;
34class MipsRegisterBankInfo;
36class MipsTargetMachine;
37class MipsTargetMachine;
FunctionPass class - This class is used to implement most global optimizations.
This class provides the information for the target register banks.
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
This is an optimization pass for GlobalISel generic memory operations.
FunctionPass * createMipsConstantIslandPass()
Returns a pass that converts branches to long branches.
void initializeMipsPreLegalizerCombinerPass(PassRegistry &)
void initializeMipsBranchExpansionPass(PassRegistry &)
void initializeMipsDelaySlotFillerPass(PassRegistry &)
void initializeMipsMulMulBugFixPass(PassRegistry &)
FunctionPass * createMipsOptimizePICCallPass()
Return an OptimizeCall object.
void initializeMipsDAGToDAGISelLegacyPass(PassRegistry &)
FunctionPass * createMipsModuleISelDagPass()
InstructionSelector * createMipsInstructionSelector(const MipsTargetMachine &, const MipsSubtarget &, const MipsRegisterBankInfo &)
FunctionPass * createMipsPreLegalizeCombiner()
void initializeMipsPostLegalizerCombinerPass(PassRegistry &)
FunctionPass * createMicroMipsSizeReducePass()
Returns an instance of the MicroMips size reduction pass.
FunctionPass * createMipsBranchExpansion()
FunctionPass * createMipsMulMulBugPass()
void initializeMicroMipsSizeReducePass(PassRegistry &)
ModulePass * createMips16HardFloatPass()
FunctionPass * createMipsExpandPseudoPass()
createMipsExpandPseudoPass - returns an instance of the pseudo instruction expansion pass.
FunctionPass * createMipsDelaySlotFillerPass()
createMipsDelaySlotFillerPass - Returns a pass that fills in delay slots in Mips MachineFunctions
ModulePass * createMipsOs16Pass()
FunctionPass * createMipsPostLegalizeCombiner(bool IsOptNone)