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