LLVM API Documentation

XCore.h

Go to the documentation of this file.
00001 //===-- XCore.h - Top-level interface for XCore representation --*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file contains the entry points for global functions defined in the LLVM
00011 // XCore back-end.
00012 //
00013 //===----------------------------------------------------------------------===//
00014 
00015 #ifndef TARGET_XCORE_H
00016 #define TARGET_XCORE_H
00017 
00018 namespace llvm {
00019   class FunctionPass;
00020   class TargetMachine;
00021   class XCoreTargetMachine;
00022   class raw_ostream;
00023 
00024   FunctionPass *createXCoreISelDag(XCoreTargetMachine &TM);
00025   FunctionPass *createXCoreCodePrinterPass(raw_ostream &OS,
00026                                            XCoreTargetMachine &TM);
00027 } // end namespace llvm;
00028 
00029 // Defines symbolic names for XCore registers.  This defines a mapping from
00030 // register name to register number.
00031 //
00032 #include "XCoreGenRegisterNames.inc"
00033 
00034 // Defines symbolic names for the XCore instructions.
00035 //
00036 #include "XCoreGenInstrNames.inc"
00037 
00038 #endif