2012-12-11 21:25:42 +00:00
|
|
|
//===-- AMDGPUMCTargetDesc.h - AMDGPU Target Descriptions -----*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
/// \file
|
|
|
|
/// \brief Provides AMDGPU specific target descriptions.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef AMDGPUMCTARGETDESC_H
|
|
|
|
#define AMDGPUMCTARGETDESC_H
|
|
|
|
|
|
|
|
#include "llvm/ADT/StringRef.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class MCAsmBackend;
|
|
|
|
class MCCodeEmitter;
|
|
|
|
class MCContext;
|
|
|
|
class MCInstrInfo;
|
2013-04-15 17:51:21 +00:00
|
|
|
class MCObjectWriter;
|
2012-12-11 21:25:42 +00:00
|
|
|
class MCRegisterInfo;
|
|
|
|
class MCSubtargetInfo;
|
|
|
|
class Target;
|
2013-04-15 17:51:21 +00:00
|
|
|
class raw_ostream;
|
2012-12-11 21:25:42 +00:00
|
|
|
|
|
|
|
extern Target TheAMDGPUTarget;
|
|
|
|
|
|
|
|
MCCodeEmitter *createR600MCCodeEmitter(const MCInstrInfo &MCII,
|
2013-05-17 15:23:12 +00:00
|
|
|
const MCRegisterInfo &MRI,
|
|
|
|
const MCSubtargetInfo &STI);
|
2012-12-11 21:25:42 +00:00
|
|
|
|
|
|
|
MCCodeEmitter *createSIMCCodeEmitter(const MCInstrInfo &MCII,
|
|
|
|
const MCRegisterInfo &MRI,
|
|
|
|
const MCSubtargetInfo &STI,
|
|
|
|
MCContext &Ctx);
|
|
|
|
|
|
|
|
MCAsmBackend *createAMDGPUAsmBackend(const Target &T, StringRef TT,
|
|
|
|
StringRef CPU);
|
2013-04-15 17:51:21 +00:00
|
|
|
|
|
|
|
MCObjectWriter *createAMDGPUELFObjectWriter(raw_ostream &OS);
|
2012-12-11 21:25:42 +00:00
|
|
|
} // End llvm namespace
|
|
|
|
|
|
|
|
#define GET_REGINFO_ENUM
|
|
|
|
#include "AMDGPUGenRegisterInfo.inc"
|
|
|
|
|
|
|
|
#define GET_INSTRINFO_ENUM
|
|
|
|
#include "AMDGPUGenInstrInfo.inc"
|
|
|
|
|
|
|
|
#define GET_SUBTARGETINFO_ENUM
|
|
|
|
#include "AMDGPUGenSubtargetInfo.inc"
|
|
|
|
|
|
|
|
#endif // AMDGPUMCTARGETDESC_H
|