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* createR600TextureIntrinsicsReplacer();
25 FunctionPass* createR600KernelParametersPass(const DataLayout *TD);
26 FunctionPass *createR600VectorRegMerger(TargetMachine &tm);
27 FunctionPass *createR600ExpandSpecialInstrsPass(TargetMachine &tm);
28 FunctionPass *createR600EmitClauseMarkers(TargetMachine &tm);
29 FunctionPass *createR600Packetizer(TargetMachine &tm);
30 FunctionPass *createR600ControlFlowFinalizer(TargetMachine &tm);
33 FunctionPass *createSIAnnotateControlFlowPass();
34 FunctionPass *createSILowerControlFlowPass(TargetMachine &tm);
35 FunctionPass *createSICodeEmitterPass(formatted_raw_ostream &OS);
36 FunctionPass *createSIInsertWaits(TargetMachine &tm);
38 // Passes common to R600 and SI
39 Pass *createAMDGPUStructurizeCFGPass();
40 FunctionPass *createAMDGPUConvertToISAPass(TargetMachine &tm);
41 FunctionPass* createAMDGPUIndirectAddressingPass(TargetMachine &tm);
43 } // End namespace llvm
45 namespace ShaderType {