16#define DEBUG_TYPE "m68k-isel"
20#define GET_GLOBALISEL_PREDICATE_BITSET
21#include "M68kGenGlobalISel.inc"
22#undef GET_GLOBALISEL_PREDICATE_BITSET
42#define GET_GLOBALISEL_PREDICATES_DECL
43#include "M68kGenGlobalISel.inc"
44#undef GET_GLOBALISEL_PREDICATES_DECL
46#define GET_GLOBALISEL_TEMPORARIES_DECL
47#include "M68kGenGlobalISel.inc"
48#undef GET_GLOBALISEL_TEMPORARIES_DECL
53#define GET_GLOBALISEL_IMPL
54#include "M68kGenGlobalISel.inc"
55#undef GET_GLOBALISEL_IMPL
57M68kInstructionSelector::M68kInstructionSelector(
61 TRI(*STI.getRegisterInfo()), RBI(RBI),
64#include
"M68kGenGlobalISel.inc"
67#include
"M68kGenGlobalISel.inc"
77 if (selectImpl(
I, *CoverageInfo))
88 return new M68kInstructionSelector(TM, Subtarget, RBI);
const HexagonInstrInfo * TII
#define GET_GLOBALISEL_PREDICATES_INIT
#define GET_GLOBALISEL_TEMPORARIES_INIT
This file declares the targeting of the RegisterBankInfo class for M68k.
This file declares the M68k specific subclass of TargetSubtargetInfo.
This file declares the M68k specific subclass of TargetMachine.
unsigned const TargetRegisterInfo * TRI
static StringRef getName(Value *V)
virtual bool select(MachineInstr &I)=0
Select the (possibly generic) instruction I to only use target-specific opcodes.
This class provides the information for the target register banks.
Representation of each machine instruction.
This is an optimization pass for GlobalISel generic memory operations.
bool isPreISelGenericOpcode(unsigned Opcode)
Check whether the given Opcode is a generic opcode that is not supposed to appear after ISel.
InstructionSelector * createM68kInstructionSelector(const M68kTargetMachine &TM, const M68kSubtarget &Subtarget, const M68kRegisterBankInfo &RBI)