LLVM API Documentation

MSP430.h

Go to the documentation of this file.
00001 //==-- MSP430.h - Top-level interface for MSP430 representation --*- C++ -*-==//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file contains the entry points for global functions defined in
00011 // the LLVM MSP430 backend.
00012 //
00013 //===----------------------------------------------------------------------===//
00014 
00015 #ifndef LLVM_TARGET_MSP430_H
00016 #define LLVM_TARGET_MSP430_H
00017 
00018 #include "llvm/Target/TargetMachine.h"
00019 
00020 namespace llvm {
00021   class MSP430TargetMachine;
00022   class FunctionPass;
00023   class formatted_raw_ostream;
00024 
00025   FunctionPass *createMSP430ISelDag(MSP430TargetMachine &TM,
00026                                     CodeGenOpt::Level OptLevel);
00027 
00028   extern Target TheMSP430Target;
00029 
00030 } // end namespace llvm;
00031 
00032 // Defines symbolic names for MSP430 registers.
00033 // This defines a mapping from register name to register number.
00034 #include "MSP430GenRegisterNames.inc"
00035 
00036 // Defines symbolic names for the MSP430 instructions.
00037 #include "MSP430GenInstrNames.inc"
00038 
00039 #endif