Home | History | Annotate | Download | only in TargetInfo
      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 }
     27