LLVM  8.0.1
MipsLegalizerInfo.h
Go to the documentation of this file.
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 
19 
20 namespace llvm {
21 
22 class MipsSubtarget;
23 
24 /// This class provides legalization strategies.
26 public:
28 
30  MachineIRBuilder &MIRBuilder,
31  GISelChangeObserver &Observer) const override;
32 };
33 } // end namespace llvm
34 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:24
MipsLegalizerInfo(const MipsSubtarget &ST)
This class provides legalization strategies.
Abstract class that contains various methods for clients to notify about changes. ...
unsigned const MachineRegisterInfo * MRI
Helper class to build MachineInstr.
MachineRegisterInfo - Keep track of information for virtual and physical registers, including vreg register classes, use/def chains for registers, etc.
Representation of each machine instruction.
Definition: MachineInstr.h:64
bool legalizeCustom(MachineInstr &MI, MachineRegisterInfo &MRI, MachineIRBuilder &MIRBuilder, GISelChangeObserver &Observer) const override
IRTranslator LLVM IR MI