Wesley Peck | 5fbf150 | 2010-02-23 19:15:24 +0000 | [diff] [blame^] | 1 | //===-- MBlazeTargetInfo.cpp - MBlaze 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 "MBlaze.h" |
| 11 | #include "llvm/Module.h" |
| 12 | #include "llvm/Target/TargetRegistry.h" |
| 13 | using namespace llvm; |
| 14 | |
| 15 | Target llvm::TheMBlazeTarget; |
| 16 | |
| 17 | extern "C" void LLVMInitializeMBlazeTargetInfo() { |
| 18 | RegisterTarget<Triple::mblaze> X(TheMBlazeTarget, "mblaze", "MBlaze"); |
| 19 | } |