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);
26 FunctionPass *createR600EmitClauseMarkers(TargetMachine &tm);
27 FunctionPass *createR600ControlFlowFinalizer(TargetMachine &tm);
30 FunctionPass *createSIAnnotateControlFlowPass();
31 FunctionPass *createSILowerControlFlowPass(TargetMachine &tm);
32 FunctionPass *createSICodeEmitterPass(formatted_raw_ostream &OS);
33 FunctionPass *createSIInsertWaits(TargetMachine &tm);
35 // Passes common to R600 and SI
36 Pass *createAMDGPUStructurizeCFGPass();
37 FunctionPass *createAMDGPUConvertToISAPass(TargetMachine &tm);
38 FunctionPass* createAMDGPUIndirectAddressingPass(TargetMachine &tm);
40 } // End namespace llvm
42 namespace ShaderType {