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 namespace llvm { 00019 class MipsTargetMachine; 00020 class FunctionPass; 00021 class MachineCodeEmitter; 00022 class raw_ostream; 00023 00024 FunctionPass *createMipsISelDag(MipsTargetMachine &TM); 00025 FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM); 00026 FunctionPass *createMipsCodePrinterPass(raw_ostream &OS, 00027 MipsTargetMachine &TM); 00028 } // end namespace llvm; 00029 00030 // Defines symbolic names for Mips registers. This defines a mapping from 00031 // register name to register number. 00032 #include "MipsGenRegisterNames.inc" 00033 00034 // Defines symbolic names for the Mips instructions. 00035 #include "MipsGenInstrNames.inc" 00036 00037 #endif