blob: 05628326a9e67b7c64ec7ea6ce6888a100cc6c74 [file] [log] [blame]
Anton Korobeynikovf2c3e172009-05-03 12:57:15 +00001//==-- MSP430.h - Top-level interface for MSP430 representation --*- C++ -*-==//
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// This file contains the entry points for global functions defined in
11// the LLVM MSP430 backend.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_TARGET_MSP430_H
16#define LLVM_TARGET_MSP430_H
17
Anton Korobeynikov60871cb2009-05-03 13:19:42 +000018#include "llvm/Target/TargetMachine.h"
19
Anton Korobeynikovf2c3e172009-05-03 12:57:15 +000020namespace llvm {
21 class MSP430TargetMachine;
22 class FunctionPass;
David Greene71847812009-07-14 20:18:05 +000023 class formatted_raw_ostream;
Anton Korobeynikovf2c3e172009-05-03 12:57:15 +000024
Anton Korobeynikov60871cb2009-05-03 13:19:42 +000025 FunctionPass *createMSP430ISelDag(MSP430TargetMachine &TM,
26 CodeGenOpt::Level OptLevel);
David Greene71847812009-07-14 20:18:05 +000027 FunctionPass *createMSP430CodePrinterPass(formatted_raw_ostream &o,
Anton Korobeynikov60871cb2009-05-03 13:19:42 +000028 MSP430TargetMachine &tm,
Anton Korobeynikov60871cb2009-05-03 13:19:42 +000029 bool verbose);
Anton Korobeynikovf2c3e172009-05-03 12:57:15 +000030} // end namespace llvm;
31
32// Defines symbolic names for MSP430 registers.
33// This defines a mapping from register name to register number.
34#include "MSP430GenRegisterNames.inc"
35
36// Defines symbolic names for the MSP430 instructions.
37#include "MSP430GenInstrNames.inc"
38
39#endif