LLVM  4.0.0
LanaiTargetInfo.cpp
Go to the documentation of this file.
1 //===-- LanaiTargetInfo.cpp - Lanai 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 "Lanai.h"
11 #include "llvm/IR/Module.h"
13 
14 using namespace llvm;
15 
16 namespace llvm {
18  static Target TheLanaiTarget;
19  return TheLanaiTarget;
20 }
21 } // namespace llvm
22 
23 extern "C" void LLVMInitializeLanaiTargetInfo() {
25 }
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...
Target & getTheLanaiTarget()
void LLVMInitializeLanaiTargetInfo()
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
Module.h This file contains the declarations for the Module class.
Target - Wrapper for Target specific information.