Update comments.
[llvm/msp430.git] / lib / Target / XCore / XCore.h
blob62cf4032d6842d73397ad944b9985f7b4f57fe30
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 namespace llvm {
19 class FunctionPass;
20 class TargetMachine;
21 class XCoreTargetMachine;
22 class raw_ostream;
24 FunctionPass *createXCoreISelDag(XCoreTargetMachine &TM);
25 FunctionPass *createXCoreCodePrinterPass(raw_ostream &OS,
26 XCoreTargetMachine &TM,
27 bool Fast, bool Verbose);
28 } // end namespace llvm;
30 // Defines symbolic names for XCore registers. This defines a mapping from
31 // register name to register number.
33 #include "XCoreGenRegisterNames.inc"
35 // Defines symbolic names for the XCore instructions.
37 #include "XCoreGenInstrNames.inc"
39 #endif