blob: 2b60a6c0443c95b303c3fa403db238c8b70c978c [file] [log] [blame]
Petar Jovanovicfac93e22018-02-23 11:06:40 +00001//===- MipsLegalizerInfo.cpp ------------------------------------*- 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 implements the targeting of the Machinelegalizer class for Mips.
11/// \todo This should be generated by TableGen.
12//===----------------------------------------------------------------------===//
13
14#include "MipsLegalizerInfo.h"
15#include "llvm/CodeGen/TargetOpcodes.h"
Petar Jovanovicfac93e22018-02-23 11:06:40 +000016#include "llvm/IR/DerivedTypes.h"
17#include "llvm/IR/Type.h"
David Blaikie36a0f222018-03-23 23:58:31 +000018#include "llvm/IR/ValueTypes.h"
Petar Jovanovicfac93e22018-02-23 11:06:40 +000019
20using namespace llvm;
21
22MipsLegalizerInfo::MipsLegalizerInfo(const MipsSubtarget &ST) {
23 computeTables();
24}