LLVM  3.7.0
SparcTargetInfo.cpp
Go to the documentation of this file.
1 //===-- SparcTargetInfo.cpp - Sparc Target Implementation -----------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #include "Sparc.h"
11 #include "llvm/IR/Module.h"
13 using namespace llvm;
14 
18 
19 extern "C" void LLVMInitializeSparcTargetInfo() {
20  RegisterTarget<Triple::sparc, /*HasJIT=*/true> X(TheSparcTarget, "sparc",
21  "Sparc");
23  "sparcv9", "Sparc V9");
25  "sparcel", "Sparc LE");
26 }
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...
Target TheSparcTarget
void LLVMInitializeSparcTargetInfo()
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
Module.h This file contains the declarations for the Module class.
Target - Wrapper for Target specific information.
Target TheSparcV9Target
Target TheSparcelTarget
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml","ocaml 3.10-compatible collector")