2011-12-13 05:14:40 +08:00
|
|
|
//===-- HexagonTargetInfo.cpp - Hexagon Target Implementation ------------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "Hexagon.h"
|
2013-01-02 19:36:10 +08:00
|
|
|
#include "llvm/IR/Module.h"
|
2011-12-13 05:14:40 +08:00
|
|
|
#include "llvm/Support/TargetRegistry.h"
|
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
Target llvm::TheHexagonTarget;
|
|
|
|
|
|
|
|
extern "C" void LLVMInitializeHexagonTargetInfo() {
|
|
|
|
RegisterTarget<Triple::hexagon, /*HasJIT=*/false> X(TheHexagonTarget, "hexagon", "Hexagon");
|
|
|
|
}
|