LLVM API Documentation
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 #include "llvm/Target/TargetMachine.h" 00019 00020 namespace llvm { 00021 class FunctionPass; 00022 class TargetMachine; 00023 class XCoreTargetMachine; 00024 class formatted_raw_ostream; 00025 00026 FunctionPass *createXCoreISelDag(XCoreTargetMachine &TM); 00027 00028 extern Target TheXCoreTarget; 00029 00030 } // end namespace llvm; 00031 00032 // Defines symbolic names for XCore registers. This defines a mapping from 00033 // register name to register number. 00034 // 00035 #include "XCoreGenRegisterNames.inc" 00036 00037 // Defines symbolic names for the XCore instructions. 00038 // 00039 #include "XCoreGenInstrNames.inc" 00040 00041 #endif