1 //===-- AMDGPU.h - MachineFunction passes hw codegen --------------*- C++ -*-=//
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 //===----------------------------------------------------------------------===//
13 #include "AMDGPUTargetMachine.h"
14 #include "llvm/Support/TargetRegistry.h"
15 #include "llvm/Target/TargetMachine.h"
20 class AMDGPUTargetMachine
;
23 FunctionPass
* createR600KernelParametersPass(const TargetData
* TD
);
24 FunctionPass
*createR600ExpandSpecialInstrsPass(TargetMachine
&tm
);
27 FunctionPass
*createSIAssignInterpRegsPass(TargetMachine
&tm
);
28 FunctionPass
*createSILowerFlowControlPass(TargetMachine
&tm
);
29 FunctionPass
*createSICodeEmitterPass(formatted_raw_ostream
&OS
);
30 FunctionPass
*createSILowerLiteralConstantsPass(TargetMachine
&tm
);
32 // Passes common to R600 and SI
33 FunctionPass
*createAMDGPUConvertToISAPass(TargetMachine
&tm
);
35 } // End namespace llvm
37 namespace ShaderType
{