1//===- MipsRegisterInfo.h - Mips Register Information Impl ------*- 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 unchanged lines hidden (view full) ---
18#include "llvm/Target/TargetRegisterInfo.h"
19#include "MipsGenRegisterInfo.h.inc"
20
21namespace llvm {
22class MipsSubtarget;
23class TargetInstrInfo;
24class Type;
25
26struct MipsRegisterInfo : public MipsGenRegisterInfo {
27 const MipsSubtarget &Subtarget;
28 const TargetInstrInfo &TII;
29
30 MipsRegisterInfo(const MipsSubtarget &Subtarget, const TargetInstrInfo &tii);
31
32 /// getRegisterNumbering - Given the enum value for some register, e.g.
33 /// Mips::RA, return the number that it corresponds to (e.g. 31).
--- 46 unchanged lines hidden ---
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 unchanged lines hidden (view full) ---
18#include "llvm/Target/TargetRegisterInfo.h"
19#include "MipsGenRegisterInfo.h.inc"
20
21namespace llvm {
22class MipsSubtarget;
23class TargetInstrInfo;
24class Type;
25
26struct MipsRegisterInfo : public MipsGenRegisterInfo {
27 const MipsSubtarget &Subtarget;
28 const TargetInstrInfo &TII;
29
30 MipsRegisterInfo(const MipsSubtarget &Subtarget, const TargetInstrInfo &tii);
31
32 /// getRegisterNumbering - Given the enum value for some register, e.g.
33 /// Mips::RA, return the number that it corresponds to (e.g. 31).
--- 46 unchanged lines hidden ---