21 #define DEBUG_TYPE "riscv-isel" 25 #define GET_GLOBALISEL_PREDICATE_BITSET 26 #include "RISCVGenGlobalISel.inc" 27 #undef GET_GLOBALISEL_PREDICATE_BITSET 53 #define GET_GLOBALISEL_PREDICATES_DECL 54 #include "RISCVGenGlobalISel.inc" 55 #undef GET_GLOBALISEL_PREDICATES_DECL 57 #define GET_GLOBALISEL_TEMPORARIES_DECL 58 #include "RISCVGenGlobalISel.inc" 59 #undef GET_GLOBALISEL_TEMPORARIES_DECL 64 #define GET_GLOBALISEL_IMPL 65 #include "RISCVGenGlobalISel.inc" 66 #undef GET_GLOBALISEL_IMPL 68 RISCVInstructionSelector::RISCVInstructionSelector(
72 TRI(*STI.getRegisterInfo()), RBI(RBI),
75 #include
"RISCVGenGlobalISel.inc" 78 #include
"RISCVGenGlobalISel.inc" 101 return new RISCVInstructionSelector(TM, Subtarget, RBI);
This class represents lattice values for constants.
static uint64_t selectImpl(uint64_t CandidateMask, uint64_t &NextInSequenceMask)
InstructionSelector * createRISCVInstructionSelector(const RISCVTargetMachine &, RISCVSubtarget &, RISCVRegisterBankInfo &)
unsigned const TargetRegisterInfo * TRI
This class provides the information for the target register banks.
const HexagonInstrInfo * TII
static StringRef getName(Value *V)
unsigned getOpcode() const
Returns the opcode of this MachineInstr.
#define GET_GLOBALISEL_PREDICATES_INIT
#define GET_GLOBALISEL_TEMPORARIES_INIT
Provides the logic to select generic machine instructions.
Representation of each machine instruction.
bool isPreISelGenericOpcode(unsigned Opcode)
Check whether the given Opcode is a generic opcode that is not supposed to appear after ISel...
This file declares the targeting of the RegisterBankInfo class for RISCV.