~ubuntu-branches/ubuntu/quantal/mesa/quantal-proposed

« back to all changes in this revision

Viewing changes to src/gallium/drivers/radeon/TargetInfo/AMDGPUTargetInfo.cpp

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2012-09-17 13:24:35 UTC
  • mfrom: (1.7.9)
  • Revision ID: package-import@ubuntu.com-20120917132435-fqt9q6beebhc8t9r
Tags: 9.0~git20120917.7cfd42ce-0ubuntu1
Merge from unreleased debian git. (LP: #1047306)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//===-- TargetInfo/AMDGPUTargetInfo.cpp - TODO: Add brief description -------===//
 
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
// TODO: Add full description
 
11
//
 
12
//===----------------------------------------------------------------------===//
 
13
 
 
14
#include "AMDGPU.h"
 
15
#include "llvm/Support/TargetRegistry.h"
 
16
 
 
17
using namespace llvm;
 
18
 
 
19
/// The target for the AMDGPU backend
 
20
Target llvm::TheAMDGPUTarget;
 
21
 
 
22
/// Extern function to initialize the targets for the AMDGPU backend
 
23
extern "C" void LLVMInitializeAMDGPUTargetInfo() {
 
24
  RegisterTarget<Triple::r600, false>
 
25
    R600(TheAMDGPUTarget, "r600", "AMD GPUs HD2XXX-HD6XXX");
 
26
}