LLVM 19.0.0git
MipsTargetInfo.cpp
Go to the documentation of this file.
1//===-- MipsTargetInfo.cpp - Mips 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 TheMipsTarget;
15 return TheMipsTarget;
16}
18 static Target TheMipselTarget;
19 return TheMipselTarget;
20}
22 static Target TheMips64Target;
23 return TheMips64Target;
24}
26 static Target TheMips64elTarget;
27 return TheMips64elTarget;
28}
29
32 /*HasJIT=*/true>
33 X(getTheMipsTarget(), "mips", "MIPS (32-bit big endian)", "Mips");
34
36 /*HasJIT=*/true>
37 Y(getTheMipselTarget(), "mipsel", "MIPS (32-bit little endian)", "Mips");
38
40 /*HasJIT=*/true>
41 A(getTheMips64Target(), "mips64", "MIPS (64-bit big endian)", "Mips");
42
44 /*HasJIT=*/true>
45 B(getTheMips64elTarget(), "mips64el", "MIPS (64-bit little endian)",
46 "Mips");
47}
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:135
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMipsTargetInfo()
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml", "ocaml 3.10-compatible collector")
Target - Wrapper for Target specific information.
@ mips64el
Definition: Triple.h:67
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
Target & getTheMips64Target()
Target & getTheMips64elTarget()
Target & getTheMipselTarget()
Target & getTheMipsTarget()
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...