18#define GET_REGINFO_ENUM
19#include "SPIRVGenRegisterInfo.inc"
21#define GET_TARGET_REGBANK_IMPL
22#include "SPIRVGenRegisterBank.inc"
31 if (RC.
getID() == SPIRV::TYPERegClassID)
32 return SPIRV::TYPERegBank;
33 return SPIRV::IDRegBank;
This class implements the register bank concept.
const RegisterBank & getRegBankFromRegClass(const TargetRegisterClass &RC, LLT Ty) const override
Get a register bank that covers RC.
unsigned getID() const
Return the register class ID number.
This is an optimization pass for GlobalISel generic memory operations.