15#ifndef LLVM_LIB_TARGET_M68K_M68K_H
16#define LLVM_LIB_TARGET_M68K_M68K_H
21class InstructionSelector;
22class M68kRegisterBankInfo;
24class M68kTargetMachine;
const char LLVMTargetMachineRef TM
FunctionPass class - This class is used to implement most global optimizations.
Provides the logic to select generic machine instructions.
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 * createM68kGlobalBaseRegPass()
This pass initializes a global base register for PIC on M68k.
FunctionPass * createM68kCollapseMOVEMPass()
Finds sequential MOVEM instruction and collapse them into a single one.
FunctionPass * createM68kISelDag(M68kTargetMachine &TM)
This pass converts a legalized DAG into a M68k-specific DAG, ready for instruction scheduling.
void initializeM68kDAGToDAGISelPass(PassRegistry &)
FunctionPass * createM68kExpandPseudoPass()
Return a Machine IR pass that expands M68k-specific pseudo instructions into a sequence of actual ins...
InstructionSelector * createM68kInstructionSelector(const M68kTargetMachine &TM, const M68kSubtarget &Subtarget, const M68kRegisterBankInfo &RBI)
FunctionPass * createM68kConvertMOVToMOVMPass()
Finds MOVE instructions before any conditioanl branch instruction and replaces them with MOVEM instru...