LLVM
8.0.1
lib
Target
Lanai
TargetInfo
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 "
llvm/IR/Module.h
"
11
#include "
llvm/Support/TargetRegistry.h
"
12
13
using namespace
llvm
;
14
15
namespace
llvm
{
16
Target
&
getTheLanaiTarget
() {
17
static
Target
TheLanaiTarget;
18
return
TheLanaiTarget;
19
}
20
}
// namespace llvm
21
22
extern
"C"
void
LLVMInitializeLanaiTargetInfo
() {
23
RegisterTarget<Triple::lanai>
X
(
getTheLanaiTarget
(),
"lanai"
,
"Lanai"
,
24
"Lanai"
);
25
}
X
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::getTheLanaiTarget
Target & getTheLanaiTarget()
Definition:
LanaiTargetInfo.cpp:16
LLVMInitializeLanaiTargetInfo
void LLVMInitializeLanaiTargetInfo()
Definition:
LanaiTargetInfo.cpp:22
RegisterTarget
Definition:
TargetRegistry.h:917
Module.h
Module.h This file contains the declarations for the Module class.
llvm::Target
Target - Wrapper for Target specific information.
Definition:
TargetRegistry.h:120
TargetRegistry.h
Generated on Sun Dec 20 2020 13:56:55 for LLVM by
1.8.13