LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AMDGPUTargetInfo.cpp
Go to the documentation of this file.
1 //===-- TargetInfo/AMDGPUTargetInfo.cpp - TargetInfo for AMDGPU -----------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 /// \file
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "AMDGPUTargetMachine.h"
16 
17 using namespace llvm;
18 
19 /// \brief The target for the AMDGPU backend
21 
22 /// \brief Extern function to initialize the targets for the AMDGPU backend
23 extern "C" void LLVMInitializeR600TargetInfo() {
25  R600(TheAMDGPUTarget, "r600", "AMD GPUs HD2XXX-HD6XXX");
26 }
Target TheAMDGPUTarget
The target for the AMDGPU backend.
The AMDGPU TargetMachine interface definition for hw codgen targets.
void LLVMInitializeR600TargetInfo()
Extern function to initialize the targets for the AMDGPU backend.