LLVM 24.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
12using namespace llvm;
13
15 static Target TheMipsTarget;
16 return TheMipsTarget;
17}
19 static Target TheMipselTarget;
20 return TheMipselTarget;
21}
23 static Target TheMips64Target;
24 return TheMips64Target;
25}
27 static Target TheMips64elTarget;
28 return TheMips64elTarget;
29}
31 static Target TheNanoMipsTarget;
32 return TheNanoMipsTarget;
33}
34
38 /*HasJIT=*/true>
39 X(getTheMipsTarget(), "mips", "MIPS (32-bit big endian)", "Mips");
40
42 /*HasJIT=*/true>
43 Y(getTheMipselTarget(), "mipsel", "MIPS (32-bit little endian)", "Mips");
44
46 /*HasJIT=*/true>
47 A(getTheMips64Target(), "mips64", "MIPS (64-bit big endian)", "Mips");
48
50 /*HasJIT=*/true>
51 B(getTheMips64elTarget(), "mips64el", "MIPS (64-bit little endian)",
52 "Mips");
54 /*HasJIT=*/false>
55 C(getTheNanoMipsTarget(), "nanomips", "nanoMIPS (32-bit little endian)",
56 "Mips");
57}
#define X(NUM, ENUM, NAME)
Definition ELF.h:665
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
#define LLVM_ABI
Definition Compiler.h:211
#define LLVM_EXTERNAL_VISIBILITY
Definition Compiler.h:132
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMipsTargetInfo()
static TableGen::Emitter::Opt Y("gen-skeleton-entry", EmitSkeleton, "Generate example skeleton entry")
Target - Wrapper for Target specific information.
This is an optimization pass for GlobalISel generic memory operations.
Target & getTheMips64Target()
Target & getTheNanoMipsTarget()
Target & getTheMips64elTarget()
Target & getTheMipselTarget()
Target & getTheMipsTarget()
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...