LLVM  8.0.1
RISCVTargetInfo.cpp
Go to the documentation of this file.
1 //===-- RISCVTargetInfo.cpp - RISCV 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 
11 using namespace llvm;
12 
13 namespace llvm {
15  static Target TheRISCV32Target;
16  return TheRISCV32Target;
17 }
18 
20  static Target TheRISCV64Target;
21  return TheRISCV64Target;
22 }
23 }
24 
25 extern "C" void LLVMInitializeRISCVTargetInfo() {
27  "32-bit RISC-V", "RISCV");
29  "64-bit RISC-V", "RISCV");
30 }
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 & getTheRISCV32Target()
void LLVMInitializeRISCVTargetInfo()
Target & getTheRISCV64Target()
Target - Wrapper for Target specific information.