summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/TargetInfo/AMDILTargetInfo.cpp
blob: 5dee0cb7c0508eea702b077c568213a8748a6f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//===-- TargetInfo/AMDILTargetInfo.cpp - TODO: Add brief description -------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// TODO: Add full description
//
//===----------------------------------------------------------------------===//

#include "AMDIL.h"
#include "llvm/Support/TargetRegistry.h"

using namespace llvm;

/// The target for the AMDIL backend
Target llvm::TheAMDILTarget;

/// The target for the AMDGPU backend
Target llvm::TheAMDGPUTarget;

/// Extern function to initialize the targets for the AMDIL backend
extern "C" void LLVMInitializeAMDILTargetInfo() {
  RegisterTarget<Triple::amdil, false>
    IL(TheAMDILTarget, "amdil", "ATI graphics cards");

  RegisterTarget<Triple::r600, false>
    R600(TheAMDGPUTarget, "r600", "AMD GPUs HD2XXX-HD6XXX");
}