SparcRegisterInfo.cpp (261991) | SparcRegisterInfo.cpp (262613) |
---|---|
1//===-- SparcRegisterInfo.cpp - SPARC Register Information ----------------===// 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//===----------------------------------------------------------------------===// --- 21 unchanged lines hidden (view full) --- 30 31using namespace llvm; 32 33static cl::opt<bool> 34ReserveAppRegisters("sparc-reserve-app-registers", cl::Hidden, cl::init(false), 35 cl::desc("Reserve application registers (%g2-%g4)")); 36 37SparcRegisterInfo::SparcRegisterInfo(SparcSubtarget &st) | 1//===-- SparcRegisterInfo.cpp - SPARC Register Information ----------------===// 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//===----------------------------------------------------------------------===// --- 21 unchanged lines hidden (view full) --- 30 31using namespace llvm; 32 33static cl::opt<bool> 34ReserveAppRegisters("sparc-reserve-app-registers", cl::Hidden, cl::init(false), 35 cl::desc("Reserve application registers (%g2-%g4)")); 36 37SparcRegisterInfo::SparcRegisterInfo(SparcSubtarget &st) |
38 : SparcGenRegisterInfo(SP::I7), Subtarget(st) { | 38 : SparcGenRegisterInfo(SP::O7), Subtarget(st) { |
39} 40 41const uint16_t* SparcRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) 42 const { 43 return CSR_SaveList; 44} 45 46const uint32_t* --- 165 unchanged lines hidden --- | 39} 40 41const uint16_t* SparcRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) 42 const { 43 return CSR_SaveList; 44} 45 46const uint32_t* --- 165 unchanged lines hidden --- |