LLVM
10.0.0
lib
Target
VE
TargetInfo
VETargetInfo.cpp
Go to the documentation of this file.
1
//===-- VETargetInfo.cpp - VE Target Implementation -----------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#include "
VE.h
"
10
#include "
llvm/IR/Module.h
"
11
#include "
llvm/Support/TargetRegistry.h
"
12
13
using namespace
llvm
;
14
15
Target
&
llvm::getTheVETarget
() {
16
static
Target
TheVETarget;
17
return
TheVETarget;
18
}
19
20
extern
"C"
void
LLVMInitializeVETargetInfo
() {
21
RegisterTarget
<
Triple::ve
,
/*HasJIT=*/
false
>
X
(
getTheVETarget
(),
"ve"
,
22
"VE"
,
"VE"
);
23
}
X
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:23
LLVMInitializeVETargetInfo
void LLVMInitializeVETargetInfo()
Definition:
VETargetInfo.cpp:20
RegisterTarget
Definition:
TargetRegistry.h:926
llvm::getTheVETarget
Target & getTheVETarget()
Definition:
VETargetInfo.cpp:15
Module.h
Module.h This file contains the declarations for the Module class.
llvm::Target
Target - Wrapper for Target specific information.
Definition:
TargetRegistry.h:124
VE.h
llvm::Triple::ve
Definition:
Triple.h:98
TargetRegistry.h
Generated on Tue Mar 24 2020 13:12:51 for LLVM by
1.8.13