22 #define DEBUG_TYPE "si-fix-vgpr-copies"
37 StringRef getPassName()
const override {
return "SI Fix VGPR copies"; }
44 char SIFixVGPRCopies::
ID = 0;
56 switch (
MI.getOpcode()) {
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
AMDGPU specific subclass of TargetSubtarget.
void initializeSIFixVGPRCopiesPass(PassRegistry &)
const SIInstrInfo * getInstrInfo() const override
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
const HexagonInstrInfo * TII
static MachineOperand CreateReg(unsigned Reg, bool isDef, bool isImp=false, bool isKill=false, bool isDead=false, bool isUndef=false, bool isEarlyClobber=false, unsigned SubReg=0, bool isDebug=false, bool isInternalRead=false)
#define INITIALIZE_PASS(passName, arg, name, cfg, analysis)
const SIRegisterInfo * getRegisterInfo() const override
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
Representation of each machine instruction.
Interface definition for SIInstrInfo.
bool isVGPRCopy(const MachineInstr &MI) const
StringRef - Represent a constant reference to a string, i.e.