mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 12:33:33 +02:00
ed26807bb8
Add GlobalISel infrastructure up to the point where we can select a ret void. Patch by Petar Avramovic. Differential Revision: https://reviews.llvm.org/D43583 llvm-svn: 325888
30 lines
941 B
C++
30 lines
941 B
C++
//===- MipsLegalizerInfo ----------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
/// \file
|
|
/// This file declares the targeting of the Machinelegalizer class for Mips.
|
|
/// \todo This should be generated by TableGen.
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIB_TARGET_MIPS_MIPSMACHINELEGALIZER_H
|
|
#define LLVM_LIB_TARGET_MIPS_MIPSMACHINELEGALIZER_H
|
|
|
|
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
|
|
|
|
namespace llvm {
|
|
|
|
class MipsSubtarget;
|
|
|
|
/// This class provides legalization strategies.
|
|
class MipsLegalizerInfo : public LegalizerInfo {
|
|
public:
|
|
MipsLegalizerInfo(const MipsSubtarget &ST);
|
|
};
|
|
} // end namespace llvm
|
|
#endif
|