LLVM API Documentation
00001 //===-- Mips.h - Top-level interface for Mips 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 00011 // the LLVM Mips back-end. 00012 // 00013 //===----------------------------------------------------------------------===// 00014 00015 #ifndef TARGET_MIPS_H 00016 #define TARGET_MIPS_H 00017 00018 #include "llvm/Target/TargetMachine.h" 00019 00020 namespace llvm { 00021 class MipsTargetMachine; 00022 class FunctionPass; 00023 class MachineCodeEmitter; 00024 class formatted_raw_ostream; 00025 00026 FunctionPass *createMipsISelDag(MipsTargetMachine &TM); 00027 FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM); 00028 00029 extern Target TheMipsTarget; 00030 extern Target TheMipselTarget; 00031 00032 } // end namespace llvm; 00033 00034 // Defines symbolic names for Mips registers. This defines a mapping from 00035 // register name to register number. 00036 #include "MipsGenRegisterNames.inc" 00037 00038 // Defines symbolic names for the Mips instructions. 00039 #include "MipsGenInstrNames.inc" 00040 00041 #endif