1 //===---- MipsModuleISelDAGToDAG.h - Change Subtarget --------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines a pass used to change the subtarget for the
11 // Mips Instruction selector.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIB_TARGET_MIPS_MIPSMODULEISELDAGTODAG_H
16 #define LLVM_LIB_TARGET_MIPS_MIPSMODULEISELDAGTODAG_H
18 //===----------------------------------------------------------------------===//
19 // Instruction Selector Implementation
20 //===----------------------------------------------------------------------===//
24 class MipsTargetMachine;
26 /// createMipsISelDag - This pass converts a legalized DAG into a
27 /// MIPS-specific DAG, ready for instruction scheduling.
28 FunctionPass *createMipsModuleISelDag(MipsTargetMachine &TM);