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 "MCTargetDesc/MSP430MCTargetDesc.h"
19 #include "llvm/Target/TargetMachine.h"
22 // MSP430 specific condition code.
24 COND_E = 0, // aka COND_Z
25 COND_NE = 1, // aka COND_NZ
26 COND_HS = 2, // aka COND_C
27 COND_LO = 3, // aka COND_NC
36 class MSP430TargetMachine;
38 class formatted_raw_ostream;
40 FunctionPass *createMSP430ISelDag(MSP430TargetMachine &TM,
41 CodeGenOpt::Level OptLevel);
43 FunctionPass *createMSP430BranchSelectionPass();
45 } // end namespace llvm;