LLVM  3.7.0
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 
11 #include "llvm/IR/Module.h"
13 using namespace llvm;
14 
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 }
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...
Target TheThumbLETarget
void LLVMInitializeARMTargetInfo()
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
Module.h This file contains the declarations for the Module class.
Target - Wrapper for Target specific information.
Target TheThumbBETarget
Target TheARMLETarget
Target TheARMBETarget
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml","ocaml 3.10-compatible collector")