2010-02-23 19:15:24 +00:00
|
|
|
//===-- MBlazeTargetInfo.cpp - MBlaze Target Implementation ---------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "MBlaze.h"
|
2013-01-02 11:36:10 +00:00
|
|
|
#include "llvm/IR/Module.h"
|
2011-08-24 18:08:43 +00:00
|
|
|
#include "llvm/Support/TargetRegistry.h"
|
2010-02-23 19:15:24 +00:00
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
Target llvm::TheMBlazeTarget;
|
|
|
|
|
|
|
|
extern "C" void LLVMInitializeMBlazeTargetInfo() {
|
|
|
|
RegisterTarget<Triple::mblaze> X(TheMBlazeTarget, "mblaze", "MBlaze");
|
|
|
|
}
|