summaryrefslogtreecommitdiff
path: root/lib/Target/CellSPU/TargetInfo/CellSPUTargetInfo.cpp
blob: 049ea236e99229a258c74f086fd12a13fd98b0ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//===-- CellSPUTargetInfo.cpp - CellSPU Target Implementation -------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "SPU.h"
#include "llvm/Module.h"
#include "llvm/Target/TargetRegistry.h"
using namespace llvm;

Target llvm::TheCellSPUTarget;

extern "C" void LLVMInitializeCellSPUTargetInfo() { 
  RegisterTarget<Triple::cellspu> 
    X(TheCellSPUTarget, "cellspu", "STI CBEA Cell SPU [experimental]");
}