LLVM 22.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}
30
34 /*HasJIT=*/true>
35 X(getTheMipsTarget(), "mips", "MIPS (32-bit big endian)", "Mips");
36
38 /*HasJIT=*/true>
39 Y(getTheMipselTarget(), "mipsel", "MIPS (32-bit little endian)", "Mips");
40
42 /*HasJIT=*/true>
43 A(getTheMips64Target(), "mips64", "MIPS (64-bit big endian)", "Mips");
44
46 /*HasJIT=*/true>
47 B(getTheMips64elTarget(), "mips64el", "MIPS (64-bit little endian)",
48 "Mips");
49}
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:213
#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")
static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")
Target - Wrapper for Target specific information.
This is an optimization pass for GlobalISel generic memory operations.
Target & getTheMips64Target()
Target & getTheMips64elTarget()
Target & getTheMipselTarget()
Target & getTheMipsTarget()
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...