LLVM  8.0.1
NVPTXTargetInfo.cpp
Go to the documentation of this file.
1 //===-- NVPTXTargetInfo.cpp - NVPTX 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 "NVPTX.h"
11 #include "llvm/IR/Module.h"
13 using namespace llvm;
14 
16  static Target TheNVPTXTarget32;
17  return TheNVPTXTarget32;
18 }
20  static Target TheNVPTXTarget64;
21  return TheNVPTXTarget64;
22 }
23 
24 extern "C" void LLVMInitializeNVPTXTargetInfo() {
26  "NVIDIA PTX 32-bit", "NVPTX");
28  "NVIDIA PTX 64-bit", "NVPTX");
29 }
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
This class represents lattice values for constants.
Definition: AllocatorList.h:24
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml", "ocaml 3.10-compatible collector")
Target & getTheNVPTXTarget64()
Target & getTheNVPTXTarget32()
void LLVMInitializeNVPTXTargetInfo()
Module.h This file contains the declarations for the Module class.
Target - Wrapper for Target specific information.