1//===-- Mips.h - Top-level interface for Mips representation ----*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// This file contains the entry points for global functions defined in 11// the LLVM Mips back-end. 12// 13//===----------------------------------------------------------------------===// 14 15#ifndef LLVM_LIB_TARGET_MIPS_MIPS_H 16#define LLVM_LIB_TARGET_MIPS_MIPS_H 17 18#include "MCTargetDesc/MipsMCTargetDesc.h" 19#include "llvm/Target/TargetMachine.h" 20 21namespace llvm { 22 class MipsTargetMachine; 23 class ModulePass; 24 class FunctionPass; 25 26 ModulePass *createMipsOs16Pass(MipsTargetMachine &TM); 27 ModulePass *createMips16HardFloatPass(MipsTargetMachine &TM); 28 29 FunctionPass *createMipsModuleISelDagPass(MipsTargetMachine &TM); 30 FunctionPass *createMipsOptimizePICCallPass(MipsTargetMachine &TM); 31 FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM); 32 FunctionPass *createMipsLongBranchPass(MipsTargetMachine &TM); 33 FunctionPass *createMipsConstantIslandPass(MipsTargetMachine &tm); 34} // end namespace llvm; 35 36#endif 37