LLVM
3.7.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
work
release_test
rc4
llvm.src
lib
Target
ARM
TargetInfo
ARMTargetInfo.cpp
Go to the documentation of this file.
1
//===-- ARMTargetInfo.cpp - ARM 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 "
MCTargetDesc/ARMMCTargetDesc.h
"
11
#include "
llvm/IR/Module.h
"
12
#include "
llvm/Support/TargetRegistry.h
"
13
using namespace
llvm;
14
15
Target
llvm::TheARMLETarget
,
llvm::TheARMBETarget
;
16
Target
llvm::TheThumbLETarget
,
llvm::TheThumbBETarget
;
17
18
extern
"C"
void
LLVMInitializeARMTargetInfo
() {
19
RegisterTarget
<
Triple::arm
,
/*HasJIT=*/
true
>
20
X
(
TheARMLETarget
,
"arm"
,
"ARM"
);
21
RegisterTarget
<
Triple::armeb
,
/*HasJIT=*/
true
>
22
Y
(
TheARMBETarget
,
"armeb"
,
"ARM (big endian)"
);
23
24
RegisterTarget
<
Triple::thumb
,
/*HasJIT=*/
true
>
25
A
(
TheThumbLETarget
,
"thumb"
,
"Thumb"
);
26
RegisterTarget
<
Triple::thumbeb
,
/*HasJIT=*/
true
>
27
B(
TheThumbBETarget
,
"thumbeb"
,
"Thumb (big endian)"
);
28
}
llvm::RegisterTarget
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...
Definition:
TargetRegistry.h:870
llvm::TheThumbLETarget
Target TheThumbLETarget
Definition:
ARMTargetInfo.cpp:16
llvm::ARM_PROC::A
Definition:
ARMBaseInfo.h:98
ARMMCTargetDesc.h
LLVMInitializeARMTargetInfo
void LLVMInitializeARMTargetInfo()
Definition:
ARMTargetInfo.cpp:18
X
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
llvm::Triple::arm
Definition:
Triple.h:49
llvm::Triple::thumb
Definition:
Triple.h:71
Module.h
Module.h This file contains the declarations for the Module class.
llvm::Triple::armeb
Definition:
Triple.h:50
llvm::Target
Target - Wrapper for Target specific information.
Definition:
TargetRegistry.h:87
llvm::TheThumbBETarget
Target TheThumbBETarget
Definition:
ARMTargetInfo.cpp:16
llvm::TheARMLETarget
Target TheARMLETarget
Definition:
ARMTargetInfo.cpp:15
llvm::TheARMBETarget
Target TheARMBETarget
Definition:
ARMTargetInfo.cpp:15
llvm::Triple::thumbeb
Definition:
Triple.h:72
TargetRegistry.h
Y
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml","ocaml 3.10-compatible collector")
Generated on Mon Aug 31 2015 10:59:11 for LLVM by
1.8.6