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 |
26namespace Mips { 27 /// SubregIndex - The index of various sized subregister classes. Note that 28 /// these indices must be kept in sync with the class indices in the 29 /// MipsRegisterInfo.td file. 30 enum SubregIndex { 31 SUBREG_FPEVEN = 1, SUBREG_FPODD = 2 32 }; 33} 34 |
35struct MipsRegisterInfo : public MipsGenRegisterInfo { 36 const MipsSubtarget &Subtarget; 37 const TargetInstrInfo &TII; 38 39 MipsRegisterInfo(const MipsSubtarget &Subtarget, const TargetInstrInfo &tii); 40 41 /// getRegisterNumbering - Given the enum value for some register, e.g. 42 /// Mips::RA, return the number that it corresponds to (e.g. 31). --- 46 unchanged lines hidden --- |