Xamarin Public Jenkins (auto-signing) 279aa8f685 Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
2019-01-23 08:21:40 +00:00

25 lines
697 B
C++

//===-- Nios2TargetInfo.cpp - Nios2 Target Implementation -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "Nios2.h"
#include "llvm/Support/TargetRegistry.h"
using namespace llvm;
Target &llvm::getTheNios2Target() {
static Target TheNios2Target;
return TheNios2Target;
}
extern "C" void LLVMInitializeNios2TargetInfo() {
RegisterTarget<Triple::nios2,
/*HasJIT=*/true>
X(getTheNios2Target(), "nios2", "Nios2", "Nios2");
}