blob: 3fa024caed0bde932ef34f59d566a91ba5bb9f30 [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
18namespace llvm {
19 class MSP430TargetMachine;
20 class FunctionPass;
21 class raw_ostream;
22
23 FunctionPass *createMSP430ISelDag(MSP430TargetMachine &TM);
24 FunctionPass *createMSP430CodePrinterPass(raw_ostream &OS,
25 MSP430TargetMachine &TM,
26 bool Fast, bool Verbose);
27} // end namespace llvm;
28
29// Defines symbolic names for MSP430 registers.
30// This defines a mapping from register name to register number.
31#include "MSP430GenRegisterNames.inc"
32
33// Defines symbolic names for the MSP430 instructions.
34#include "MSP430GenInstrNames.inc"
35
36#endif