Proper handle loading of effective address of stack slot stuff
[llvm/msp430.git] / lib / Target / XCore / XCore.h
blob5722b873e1aada212e13dd1c07a2378a3270fa70
1 //===-- XCore.h - Top-level interface for XCore 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 the LLVM
11 // XCore back-end.
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_XCORE_H
16 #define TARGET_XCORE_H
18 #include "llvm/Target/TargetMachine.h"
20 namespace llvm {
21 class FunctionPass;
22 class TargetMachine;
23 class XCoreTargetMachine;
24 class raw_ostream;
26 FunctionPass *createXCoreISelDag(XCoreTargetMachine &TM);
27 FunctionPass *createXCoreCodePrinterPass(raw_ostream &OS,
28 XCoreTargetMachine &TM,
29 CodeGenOpt::Level OptLevel,
30 bool Verbose);
31 } // end namespace llvm;
33 // Defines symbolic names for XCore registers. This defines a mapping from
34 // register name to register number.
36 #include "XCoreGenRegisterNames.inc"
38 // Defines symbolic names for the XCore instructions.
40 #include "XCoreGenInstrNames.inc"
42 #endif