1 //===-- TargetInfo/AMDILTargetInfo.cpp - TODO: Add brief description -------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // TODO: Add full description
12 //===----------------------------------------------------------------------===//
15 #include "llvm/Support/TargetRegistry.h"
19 /// The target for the AMDIL backend
20 Target llvm::TheAMDILTarget;
22 /// The target for the AMDGPU backend
23 Target llvm::TheAMDGPUTarget;
25 /// Extern function to initialize the targets for the AMDIL backend
26 extern "C" void LLVMInitializeAMDILTargetInfo() {
27 RegisterTarget<Triple::amdil, false>
28 IL(TheAMDILTarget, "amdil", "ATI graphics cards");
30 RegisterTarget<Triple::r600, false>
31 R600(TheAMDGPUTarget, "r600", "AMD GPUs HD2XXX-HD6XXX");