[PowerPC] Materialize more constants with CR-field set in late peephole
[llvm-core.git] / lib / Target / Mips / MipsLegalizerInfo.h
blob36dd39c8c1c189e384c95836b4383d258390ce3e
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 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_MIPS_MIPSMACHINELEGALIZER_H
15 #define LLVM_LIB_TARGET_MIPS_MIPSMACHINELEGALIZER_H
17 #include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
19 namespace llvm {
21 class MipsSubtarget;
23 /// This class provides legalization strategies.
24 class MipsLegalizerInfo : public LegalizerInfo {
25 public:
26 MipsLegalizerInfo(const MipsSubtarget &ST);
28 } // end namespace llvm
29 #endif