Jakob Stoklund Olesen | 2cfddbb | 2009-08-02 17:32:10 +0000 | [diff] [blame] | 1 | //===-- BlackfinTargetInfo.cpp - Blackfin Target Implementation -----------===// |
| 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 | #include "Blackfin.h" |
| 11 | #include "llvm/Module.h" |
| 12 | #include "llvm/Target/TargetRegistry.h" |
| 13 | |
| 14 | using namespace llvm; |
| 15 | |
| 16 | Target llvm::TheBlackfinTarget; |
| 17 | |
| 18 | extern "C" void LLVMInitializeBlackfinTargetInfo() { |
| 19 | RegisterTarget<Triple::bfin> X(TheBlackfinTarget, "bfin", |
| 20 | "Analog Devices Blackfin [experimental]"); |
| 21 | } |