1 //===-- XCore.h - Top-level interface for XCore 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 the LLVM
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_XCORE_H
16 #define TARGET_XCORE_H
18 #include "llvm/Target/TargetMachine.h"
23 class XCoreTargetMachine
;
24 class formatted_raw_ostream
;
26 FunctionPass
*createXCoreISelDag(XCoreTargetMachine
&TM
);
28 extern Target TheXCoreTarget
;
30 } // end namespace llvm;
32 // Defines symbolic names for XCore registers. This defines a mapping from
33 // register name to register number.
35 #include "XCoreGenRegisterNames.inc"
37 // Defines symbolic names for the XCore instructions.
39 #include "XCoreGenInstrNames.inc"