//===- SparcV8RegisterInfo.td - SparcV8 Register defs ------*- tablegen -*-===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===// // Declarations that describe the SparcV8 register file //===----------------------------------------------------------------------===// class SparcReg : Register { field bits<5> Num; let Namespace = "V8"; } include "../SparcRegisterInfo.td" // Register classes. // // FIXME: the register order should be defined in terms of the preferred // allocation order... // def IntRegs : RegisterClass { let Methods = [{ iterator allocation_order_end(MachineFunction &MF) const { return end()-4; // Don't allocate special registers } }]; } def FPRegs : RegisterClass; def DFPRegs : RegisterClass;