LLVM 20.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
11using namespace llvm;
12
14 static Target TheARMLETarget;
15 return TheARMLETarget;
16}
18 static Target TheARMBETarget;
19 return TheARMBETarget;
20}
22 static Target TheThumbLETarget;
23 return TheThumbLETarget;
24}
26 static Target TheThumbBETarget;
27 return TheThumbBETarget;
28}
29
31 RegisterTarget<Triple::arm, /*HasJIT=*/true> X(getTheARMLETarget(), "arm",
32 "ARM", "ARM");
33 RegisterTarget<Triple::armeb, /*HasJIT=*/true> Y(getTheARMBETarget(), "armeb",
34 "ARM (big endian)", "ARM");
35
37 "thumb", "Thumb", "ARM");
38 RegisterTarget<Triple::thumbeb, /*HasJIT=*/true> B(
39 getTheThumbBETarget(), "thumbeb", "Thumb (big endian)", "ARM");
40}
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_EXTERNAL_VISIBILITY
Definition: Compiler.h:128
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...