23 #define DEBUG_TYPE "si-fix-vgpr-copies" 38 StringRef getPassName()
const override {
return "SI Fix VGPR copies"; }
57 switch (
MI.getOpcode()) {
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
AMDGPU specific subclass of TargetSubtarget.
bool isVGPRCopy(const MachineInstr &MI) const
This class represents lattice values for constants.
void initializeSIFixVGPRCopiesPass(PassRegistry &)
const SIInstrInfo * getInstrInfo() const override
unsigned const TargetRegisterInfo * TRI
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, bool isRenamable=false)
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
const HexagonInstrInfo * TII
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
#define INITIALIZE_PASS(passName, arg, name, cfg, analysis)
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
Provides AMDGPU specific target descriptions.
Representation of each machine instruction.
Interface definition for SIInstrInfo.
StringRef - Represent a constant reference to a string, i.e.
const SIRegisterInfo * getRegisterInfo() const override