1 //===-- AMDGPULowerShaderInstructions.h - TODO: Add brief description -------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // TODO: Add full description
12 //===----------------------------------------------------------------------===//
15 #ifndef AMDGPU_LOWER_SHADER_INSTRUCTIONS
16 #define AMDGPU_LOWER_SHADER_INSTRUCTIONS
20 class MachineFunction;
21 class MachineRegisterInfo;
22 class TargetInstrInfo;
24 class AMDGPULowerShaderInstructionsPass {
27 MachineRegisterInfo * MRI;
29 * @param physReg The physical register that will be preloaded.
30 * @param virtReg The virtual register that currently holds the
33 void preloadRegister(MachineFunction * MF, const TargetInstrInfo * TII,
34 unsigned physReg, unsigned virtReg) const;
37 } // end namespace llvm
40 #endif // AMDGPU_LOWER_SHADER_INSTRUCTIONS