1 //==-- MSP430.h - Top-level interface for MSP430 representation --*- C++ -*-==//
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 //===----------------------------------------------------------------------===//
10 // This file contains the entry points for global functions defined in
11 // the LLVM MSP430 backend.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_TARGET_MSP430_H
16 #define LLVM_TARGET_MSP430_H
18 #include "llvm/Target/TargetMachine.h"
21 class MSP430TargetMachine;
25 FunctionPass *createMSP430ISelDag(MSP430TargetMachine &TM,
26 CodeGenOpt::Level OptLevel);
27 FunctionPass *createMSP430CodePrinterPass(raw_ostream &o,
28 MSP430TargetMachine &tm,
29 CodeGenOpt::Level OptLevel,
31 } // end namespace llvm;
33 // Defines symbolic names for MSP430 registers.
34 // This defines a mapping from register name to register number.
35 #include "MSP430GenRegisterNames.inc"
37 // Defines symbolic names for the MSP430 instructions.
38 #include "MSP430GenInstrNames.inc"