LLVM 22.0.0git
ARMTargetInfo.cpp
Go to the documentation of this file.
1//===-- ARMTargetInfo.cpp - ARM 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
12
13using namespace llvm;
14
16 static Target TheARMLETarget;
17 return TheARMLETarget;
18}
20 static Target TheARMBETarget;
21 return TheARMBETarget;
22}
24 static Target TheThumbLETarget;
25 return TheThumbLETarget;
26}
28 static Target TheThumbBETarget;
29 return TheThumbBETarget;
30}
31
34 RegisterTarget<Triple::arm, /*HasJIT=*/true> X(getTheARMLETarget(), "arm",
35 "ARM", "ARM");
36 RegisterTarget<Triple::armeb, /*HasJIT=*/true> Y(getTheARMBETarget(), "armeb",
37 "ARM (big endian)", "ARM");
38
40 "thumb", "Thumb", "ARM");
41 RegisterTarget<Triple::thumbeb, /*HasJIT=*/true> B(
42 getTheThumbBETarget(), "thumbeb", "Thumb (big endian)", "ARM");
43}
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeARMTargetInfo()
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
#define LLVM_ABI
Definition: Compiler.h:213
#define LLVM_EXTERNAL_VISIBILITY
Definition: Compiler.h:132
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml", "ocaml 3.10-compatible collector")
Target - Wrapper for Target specific information.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
Target & getTheThumbBETarget()
Target & getTheARMLETarget()
Target & getTheARMBETarget()
Target & getTheThumbLETarget()
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...