LLVM API Documentation

BlackfinTargetInfo.cpp

Go to the documentation of this file.
00001 //===-- BlackfinTargetInfo.cpp - Blackfin Target Implementation -----------===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 
00010 #include "Blackfin.h"
00011 #include "llvm/Module.h"
00012 #include "llvm/Target/TargetRegistry.h"
00013 
00014 using namespace llvm;
00015 
00016 Target llvm::TheBlackfinTarget;
00017 
00018 extern "C" void LLVMInitializeBlackfinTargetInfo() {
00019   RegisterTarget<Triple::bfin> X(TheBlackfinTarget, "bfin",
00020                                  "Analog Devices Blackfin [experimental]");
00021 }