1 //===-- PTXTargetInfo.cpp - PTX 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"
16 Target
llvm::ThePTXTarget
;
18 extern "C" void LLVMInitializePTXTargetInfo() {
19 // see llvm/ADT/Triple.h
20 RegisterTarget
<Triple::ptx
> X(ThePTXTarget
, "ptx", "PTX");