LLVM  8.0.1
AVRTargetInfo.cpp
Go to the documentation of this file.
1 //===-- AVRTargetInfo.cpp - AVR 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 "llvm/IR/Module.h"
12 namespace llvm {
14  static Target TheAVRTarget;
15  return TheAVRTarget;
16 }
17 }
18 
19 extern "C" void LLVMInitializeAVRTargetInfo() {
20  llvm::RegisterTarget<llvm::Triple::avr> X(llvm::getTheAVRTarget(), "avr",
21  "Atmel AVR Microcontroller", "AVR");
22 }
23 
void LLVMInitializeAVRTargetInfo()
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
This class represents lattice values for constants.
Definition: AllocatorList.h:24
Target & getTheAVRTarget()
Module.h This file contains the declarations for the Module class.
Target - Wrapper for Target specific information.