LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
17 
18 extern "C" void LLVMInitializeSparcTargetInfo() {
19  RegisterTarget<Triple::sparc, /*HasJIT=*/ true>
20  X(TheSparcTarget, "sparc", "Sparc");
21  RegisterTarget<Triple::sparcv9, /*HasJIT=*/ true>
22  Y(TheSparcV9Target, "sparcv9", "Sparc V9");
23 }
Target TheSparcTarget
void LLVMInitializeSparcTargetInfo()
Target TheSparcV9Target
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml","ocaml 3.10-compatible collector")
static RegisterPass< NVPTXAllocaHoisting > X("alloca-hoisting","Hoisting alloca instructions in non-entry ""blocks to the entry block")