LLVM
8.0.1
lib
Target
Hexagon
TargetInfo
HexagonTargetInfo.cpp
Go to the documentation of this file.
1
//===-- HexagonTargetInfo.cpp - Hexagon 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 "
Hexagon.h
"
11
#include "
llvm/IR/Module.h
"
12
#include "
llvm/Support/TargetRegistry.h
"
13
using namespace
llvm
;
14
15
Target
&
llvm::getTheHexagonTarget
() {
16
static
Target
TheHexagonTarget;
17
return
TheHexagonTarget;
18
}
19
20
extern
"C"
void
LLVMInitializeHexagonTargetInfo
() {
21
RegisterTarget
<
Triple::hexagon
,
/*HasJIT=*/
true
>
X
(
22
getTheHexagonTarget
(),
"hexagon"
,
"Hexagon"
,
"Hexagon"
);
23
}
X
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
Hexagon.h
llvm::Triple::hexagon
Definition:
Triple.h:57
RegisterTarget
Definition:
TargetRegistry.h:917
LLVMInitializeHexagonTargetInfo
void LLVMInitializeHexagonTargetInfo()
Definition:
HexagonTargetInfo.cpp:20
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
llvm::getTheHexagonTarget
Target & getTheHexagonTarget()
Definition:
HexagonTargetInfo.cpp:15
Generated on Sun Dec 20 2020 13:56:54 for LLVM by
1.8.13