mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
4c1f3c24db
into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. llvm-svn: 171366
32 lines
1.0 KiB
C++
32 lines
1.0 KiB
C++
//===-- MipsTargetInfo.cpp - Mips Target Implementation -------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "Mips.h"
|
|
#include "llvm/IR/Module.h"
|
|
#include "llvm/Support/TargetRegistry.h"
|
|
using namespace llvm;
|
|
|
|
Target llvm::TheMipsTarget, llvm::TheMipselTarget;
|
|
Target llvm::TheMips64Target, llvm::TheMips64elTarget;
|
|
|
|
extern "C" void LLVMInitializeMipsTargetInfo() {
|
|
RegisterTarget<Triple::mips,
|
|
/*HasJIT=*/true> X(TheMipsTarget, "mips", "Mips");
|
|
|
|
RegisterTarget<Triple::mipsel,
|
|
/*HasJIT=*/true> Y(TheMipselTarget, "mipsel", "Mipsel");
|
|
|
|
RegisterTarget<Triple::mips64,
|
|
/*HasJIT=*/false> A(TheMips64Target, "mips64", "Mips64 [experimental]");
|
|
|
|
RegisterTarget<Triple::mips64el,
|
|
/*HasJIT=*/false> B(TheMips64elTarget,
|
|
"mips64el", "Mips64el [experimental]");
|
|
}
|