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.
9 //===----------------------------------------------------------------------===//
14 #include "AMDGPUTargetMachine.h"
15 #include "llvm/Support/TargetRegistry.h"
16 #include "llvm/Target/TargetMachine.h"
21 class AMDGPUTargetMachine;
24 FunctionPass* createR600KernelParametersPass(const DataLayout *TD);
25 FunctionPass *createR600ExpandSpecialInstrsPass(TargetMachine &tm);
28 FunctionPass *createSIAnnotateControlFlowPass();
29 FunctionPass *createSIAssignInterpRegsPass(TargetMachine &tm);
30 FunctionPass *createSILowerControlFlowPass(TargetMachine &tm);
31 FunctionPass *createSICodeEmitterPass(formatted_raw_ostream &OS);
32 FunctionPass *createSILowerLiteralConstantsPass(TargetMachine &tm);
34 // Passes common to R600 and SI
35 Pass *createAMDGPUStructurizeCFGPass();
36 FunctionPass *createAMDGPUConvertToISAPass(TargetMachine &tm);
38 } // End namespace llvm
40 namespace ShaderType {