14 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUINSTRUCTIONSELECTOR_H
15 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUINSTRUCTIONSELECTOR_H
24 class AMDGPUInstrInfo;
25 class AMDGPURegisterBankInfo;
28 class MachineRegisterInfo;
bool select(MachineInstr &I) const override
Select the (possibly generic) instruction I to only use target-specific opcodes.
OpenCL uses address spaces to differentiate between various memory regions on the hardware...
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
AMDGPUInstructionSelector(const SISubtarget &STI, const AMDGPURegisterBankInfo &RBI)
unsigned const MachineRegisterInfo * MRI
MachineOperand class - Representation of each machine instruction operand.
MachineRegisterInfo - Keep track of information for virtual and physical registers, including vreg register classes, use/def chains for registers, etc.
Provides the logic to select generic machine instructions.
Representation of each machine instruction.