1 //===-- SparcTargetInfo.cpp - Sparc Target Implementation -----------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 #include "llvm/Module.h"
12 #include "llvm/Target/TargetRegistry.h"
15 Target
llvm::TheSparcTarget
;
16 Target
llvm::TheSparcV9Target
;
18 extern "C" void LLVMInitializeSparcTargetInfo() {
19 RegisterTarget
<Triple::sparc
> X(TheSparcTarget
, "sparc", "Sparc");
20 RegisterTarget
<Triple::sparcv9
> Y(TheSparcV9Target
, "sparcv9", "Sparc V9");