mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160270 91177308-0d34-0410-b5e6-96231b3b80d8
36 lines
992 B
C++
36 lines
992 B
C++
//===-- AMDGPU.h - MachineFunction passes hw codegen --------------*- C++ -*-=//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef AMDGPU_H
|
|
#define AMDGPU_H
|
|
|
|
#include "AMDGPUTargetMachine.h"
|
|
#include "llvm/Support/TargetRegistry.h"
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
namespace llvm {
|
|
|
|
class FunctionPass;
|
|
class AMDGPUTargetMachine;
|
|
|
|
// R600 Passes
|
|
FunctionPass* createR600KernelParametersPass(const TargetData* TD);
|
|
FunctionPass *createR600CodeEmitterPass(formatted_raw_ostream &OS);
|
|
|
|
// SI Passes
|
|
FunctionPass *createSIAssignInterpRegsPass(TargetMachine &tm);
|
|
FunctionPass *createSICodeEmitterPass(formatted_raw_ostream &OS);
|
|
|
|
// Passes common to R600 and SI
|
|
FunctionPass *createAMDGPUConvertToISAPass(TargetMachine &tm);
|
|
|
|
} // End namespace llvm
|
|
|
|
#endif // AMDGPU_H
|