1 //===- MipsLegalizerInfo ----------------------------------------*- 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 /// \file 10 /// This file declares the targeting of the Machinelegalizer class for Mips. 11 /// \todo This should be generated by TableGen. 12 //===----------------------------------------------------------------------===// 13 14 #ifndef LLVM_LIB_TARGET_MIPS_MIPSMACHINELEGALIZER_H 15 #define LLVM_LIB_TARGET_MIPS_MIPSMACHINELEGALIZER_H 16 17 #include "llvm/CodeGen/GlobalISel/LegalizerInfo.h" 18 19 namespace llvm { 20 21 class MipsSubtarget; 22 23 /// This class provides legalization strategies. 24 class MipsLegalizerInfo : public LegalizerInfo { 25 public: 26 MipsLegalizerInfo(const MipsSubtarget &ST); 27 }; 28 } // end namespace llvm 29 #endif 30