2006-02-05 05:50:24 +00:00
|
|
|
//===- SparcRegisterInfo.cpp - SPARC Register Information -------*- C++ -*-===//
|
2005-04-21 23:30:14 +00:00
|
|
|
//
|
2004-02-25 19:28:19 +00:00
|
|
|
// 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.
|
2005-04-21 23:30:14 +00:00
|
|
|
//
|
2004-02-25 19:28:19 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2006-02-05 05:50:24 +00:00
|
|
|
// This file contains the SPARC implementation of the MRegisterInfo class.
|
2004-02-25 19:28:19 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
#include "Sparc.h"
|
|
|
|
#include "SparcRegisterInfo.h"
|
|
|
|
#include "SparcSubtarget.h"
|
2004-02-29 05:18:30 +00:00
|
|
|
#include "llvm/CodeGen/MachineInstrBuilder.h"
|
|
|
|
#include "llvm/CodeGen/MachineFunction.h"
|
2004-04-02 20:53:37 +00:00
|
|
|
#include "llvm/CodeGen/MachineFrameInfo.h"
|
2006-03-23 18:12:57 +00:00
|
|
|
#include "llvm/CodeGen/MachineLocation.h"
|
2004-02-25 19:28:19 +00:00
|
|
|
#include "llvm/Type.h"
|
2004-09-02 02:37:43 +00:00
|
|
|
#include "llvm/ADT/STLExtras.h"
|
2004-07-04 17:19:21 +00:00
|
|
|
#include <iostream>
|
2004-02-25 19:28:19 +00:00
|
|
|
using namespace llvm;
|
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
SparcRegisterInfo::SparcRegisterInfo(SparcSubtarget &st)
|
|
|
|
: SparcGenRegisterInfo(SP::ADJCALLSTACKDOWN, SP::ADJCALLSTACKUP),
|
|
|
|
Subtarget(st) {
|
2006-02-04 06:58:46 +00:00
|
|
|
}
|
2004-02-25 19:28:19 +00:00
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
void SparcRegisterInfo::
|
2004-08-15 21:56:44 +00:00
|
|
|
storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
|
2006-02-03 07:06:25 +00:00
|
|
|
unsigned SrcReg, int FI,
|
2005-12-17 20:18:49 +00:00
|
|
|
const TargetRegisterClass *RC) const {
|
2004-06-17 22:34:48 +00:00
|
|
|
// On the order of operands here: think "[FrameIdx + 0] = SrcReg".
|
2006-02-05 05:50:24 +00:00
|
|
|
if (RC == SP::IntRegsRegisterClass)
|
|
|
|
BuildMI(MBB, I, SP::STri, 3).addFrameIndex(FI).addImm(0).addReg(SrcReg);
|
|
|
|
else if (RC == SP::FPRegsRegisterClass)
|
|
|
|
BuildMI(MBB, I, SP::STFri, 3).addFrameIndex(FI).addImm(0).addReg(SrcReg);
|
|
|
|
else if (RC == SP::DFPRegsRegisterClass)
|
|
|
|
BuildMI(MBB, I, SP::STDFri, 3).addFrameIndex(FI).addImm(0).addReg(SrcReg);
|
2004-06-27 22:59:56 +00:00
|
|
|
else
|
2006-02-03 07:06:25 +00:00
|
|
|
assert(0 && "Can't store this register to stack slot");
|
2004-02-25 19:28:19 +00:00
|
|
|
}
|
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
void SparcRegisterInfo::
|
2004-08-15 21:56:44 +00:00
|
|
|
loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
|
2006-02-03 07:06:25 +00:00
|
|
|
unsigned DestReg, int FI,
|
2005-12-17 20:18:49 +00:00
|
|
|
const TargetRegisterClass *RC) const {
|
2006-02-05 05:50:24 +00:00
|
|
|
if (RC == SP::IntRegsRegisterClass)
|
|
|
|
BuildMI(MBB, I, SP::LDri, 2, DestReg).addFrameIndex(FI).addImm(0);
|
|
|
|
else if (RC == SP::FPRegsRegisterClass)
|
|
|
|
BuildMI(MBB, I, SP::LDFri, 2, DestReg).addFrameIndex(FI).addImm (0);
|
|
|
|
else if (RC == SP::DFPRegsRegisterClass)
|
|
|
|
BuildMI(MBB, I, SP::LDDFri, 2, DestReg).addFrameIndex(FI).addImm(0);
|
2004-06-27 22:59:56 +00:00
|
|
|
else
|
2004-08-15 22:15:11 +00:00
|
|
|
assert(0 && "Can't load this register from stack slot");
|
2004-02-25 19:28:19 +00:00
|
|
|
}
|
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
void SparcRegisterInfo::copyRegToReg(MachineBasicBlock &MBB,
|
|
|
|
MachineBasicBlock::iterator I,
|
|
|
|
unsigned DestReg, unsigned SrcReg,
|
|
|
|
const TargetRegisterClass *RC) const {
|
|
|
|
if (RC == SP::IntRegsRegisterClass)
|
|
|
|
BuildMI(MBB, I, SP::ORrr, 2, DestReg).addReg(SP::G0).addReg(SrcReg);
|
|
|
|
else if (RC == SP::FPRegsRegisterClass)
|
|
|
|
BuildMI(MBB, I, SP::FMOVS, 1, DestReg).addReg(SrcReg);
|
|
|
|
else if (RC == SP::DFPRegsRegisterClass)
|
|
|
|
BuildMI(MBB, I, Subtarget.isV9() ? SP::FMOVD : SP::FpMOVD,
|
2006-02-04 06:58:46 +00:00
|
|
|
1, DestReg).addReg(SrcReg);
|
2004-06-27 22:59:56 +00:00
|
|
|
else
|
|
|
|
assert (0 && "Can't copy this register");
|
2004-02-25 19:28:19 +00:00
|
|
|
}
|
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
MachineInstr *SparcRegisterInfo::foldMemoryOperand(MachineInstr* MI,
|
|
|
|
unsigned OpNum,
|
|
|
|
int FI) const {
|
2006-02-03 07:06:25 +00:00
|
|
|
bool isFloat = false;
|
|
|
|
switch (MI->getOpcode()) {
|
2006-02-05 05:50:24 +00:00
|
|
|
case SP::ORrr:
|
|
|
|
if (MI->getOperand(1).isRegister() && MI->getOperand(1).getReg() == SP::G0&&
|
2006-02-03 07:06:25 +00:00
|
|
|
MI->getOperand(0).isRegister() && MI->getOperand(2).isRegister()) {
|
|
|
|
if (OpNum == 0) // COPY -> STORE
|
2006-02-05 05:50:24 +00:00
|
|
|
return BuildMI(SP::STri, 3).addFrameIndex(FI).addImm(0)
|
2006-02-03 07:06:25 +00:00
|
|
|
.addReg(MI->getOperand(2).getReg());
|
|
|
|
else // COPY -> LOAD
|
2006-02-05 05:50:24 +00:00
|
|
|
return BuildMI(SP::LDri, 2, MI->getOperand(0).getReg())
|
2006-02-03 07:06:25 +00:00
|
|
|
.addFrameIndex(FI).addImm(0);
|
|
|
|
}
|
|
|
|
break;
|
2006-02-05 05:50:24 +00:00
|
|
|
case SP::FMOVS:
|
2006-02-03 07:06:25 +00:00
|
|
|
isFloat = true;
|
|
|
|
// FALLTHROUGH
|
2006-02-05 05:50:24 +00:00
|
|
|
case SP::FMOVD:
|
2006-02-03 07:06:25 +00:00
|
|
|
if (OpNum == 0) // COPY -> STORE
|
2006-02-05 05:50:24 +00:00
|
|
|
return BuildMI(isFloat ? SP::STFri : SP::STDFri, 3)
|
2006-02-03 07:06:25 +00:00
|
|
|
.addFrameIndex(FI).addImm(0).addReg(MI->getOperand(1).getReg());
|
|
|
|
else // COPY -> LOAD
|
2006-02-05 05:50:24 +00:00
|
|
|
return BuildMI(isFloat ? SP::LDFri : SP::LDDFri, 2,
|
2006-02-03 07:06:25 +00:00
|
|
|
MI->getOperand(0).getReg()).addFrameIndex(FI).addImm(0);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
void SparcRegisterInfo::
|
2004-02-25 19:28:19 +00:00
|
|
|
eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
|
|
|
|
MachineBasicBlock::iterator I) const {
|
2004-10-10 19:57:21 +00:00
|
|
|
MachineInstr &MI = *I;
|
2005-12-19 02:51:12 +00:00
|
|
|
int Size = MI.getOperand(0).getImmedValue();
|
2006-02-05 05:50:24 +00:00
|
|
|
if (MI.getOpcode() == SP::ADJCALLSTACKDOWN)
|
2005-12-19 02:51:12 +00:00
|
|
|
Size = -Size;
|
|
|
|
if (Size)
|
2006-02-05 05:50:24 +00:00
|
|
|
BuildMI(MBB, I, SP::ADDri, 2, SP::O6).addReg(SP::O6).addSImm(Size);
|
2005-12-19 02:51:12 +00:00
|
|
|
MBB.erase(I);
|
2004-02-25 19:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
2006-02-05 05:50:24 +00:00
|
|
|
SparcRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II) const {
|
2004-04-02 20:53:37 +00:00
|
|
|
unsigned i = 0;
|
|
|
|
MachineInstr &MI = *II;
|
|
|
|
while (!MI.getOperand(i).isFrameIndex()) {
|
|
|
|
++i;
|
|
|
|
assert(i < MI.getNumOperands() && "Instr doesn't have FrameIndex operand!");
|
|
|
|
}
|
|
|
|
|
|
|
|
int FrameIndex = MI.getOperand(i).getFrameIndex();
|
|
|
|
|
2004-04-06 22:10:22 +00:00
|
|
|
// Addressable stack objects are accessed using neg. offsets from %fp
|
2004-08-14 22:57:22 +00:00
|
|
|
MachineFunction &MF = *MI.getParent()->getParent();
|
2004-04-06 22:10:22 +00:00
|
|
|
int Offset = MF.getFrameInfo()->getObjectOffset(FrameIndex) +
|
|
|
|
MI.getOperand(i+1).getImmedValue();
|
Reserve G1 for frame offset stuff and use it to handle large stack frames.
For example, instead of emitting this:
test:
save -40112, %o6, %o6 ;; imm too large
add %i6, -40016, %o0 ;; imm too large
call caller
nop
restore %g0, %g0, %g0
retl
nop
emit this:
test:
sethi 4194264, %g1
or %g1, 848, %g1
save %o6, %g1, %o6
sethi 4194264, %g1
add %g1, %i6, %g1
add %i1, 944, %o0
call caller
nop
restore %g0, %g0, %g0
retl
nop
which doesn't cause the assembler to barf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24880 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-20 07:56:31 +00:00
|
|
|
|
|
|
|
// Replace frame index with a frame pointer reference.
|
|
|
|
if (Offset >= -4096 && Offset <= 4095) {
|
|
|
|
// If the offset is small enough to fit in the immediate field, directly
|
|
|
|
// encode it.
|
2006-02-05 05:50:24 +00:00
|
|
|
MI.SetMachineOperandReg(i, SP::I6);
|
Reserve G1 for frame offset stuff and use it to handle large stack frames.
For example, instead of emitting this:
test:
save -40112, %o6, %o6 ;; imm too large
add %i6, -40016, %o0 ;; imm too large
call caller
nop
restore %g0, %g0, %g0
retl
nop
emit this:
test:
sethi 4194264, %g1
or %g1, 848, %g1
save %o6, %g1, %o6
sethi 4194264, %g1
add %g1, %i6, %g1
add %i1, 944, %o0
call caller
nop
restore %g0, %g0, %g0
retl
nop
which doesn't cause the assembler to barf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24880 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-20 07:56:31 +00:00
|
|
|
MI.SetMachineOperandConst(i+1, MachineOperand::MO_SignExtendedImmed,Offset);
|
|
|
|
} else {
|
|
|
|
// Otherwise, emit a G1 = SETHI %hi(offset). FIXME: it would be better to
|
|
|
|
// scavenge a register here instead of reserving G1 all of the time.
|
|
|
|
unsigned OffHi = (unsigned)Offset >> 10U;
|
2006-02-05 05:50:24 +00:00
|
|
|
BuildMI(*MI.getParent(), II, SP::SETHIi, 1, SP::G1).addImm(OffHi);
|
Reserve G1 for frame offset stuff and use it to handle large stack frames.
For example, instead of emitting this:
test:
save -40112, %o6, %o6 ;; imm too large
add %i6, -40016, %o0 ;; imm too large
call caller
nop
restore %g0, %g0, %g0
retl
nop
emit this:
test:
sethi 4194264, %g1
or %g1, 848, %g1
save %o6, %g1, %o6
sethi 4194264, %g1
add %g1, %i6, %g1
add %i1, 944, %o0
call caller
nop
restore %g0, %g0, %g0
retl
nop
which doesn't cause the assembler to barf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24880 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-20 07:56:31 +00:00
|
|
|
// Emit G1 = G1 + I6
|
2006-02-05 05:50:24 +00:00
|
|
|
BuildMI(*MI.getParent(), II, SP::ADDrr, 2,
|
|
|
|
SP::G1).addReg(SP::G1).addReg(SP::I6);
|
Reserve G1 for frame offset stuff and use it to handle large stack frames.
For example, instead of emitting this:
test:
save -40112, %o6, %o6 ;; imm too large
add %i6, -40016, %o0 ;; imm too large
call caller
nop
restore %g0, %g0, %g0
retl
nop
emit this:
test:
sethi 4194264, %g1
or %g1, 848, %g1
save %o6, %g1, %o6
sethi 4194264, %g1
add %g1, %i6, %g1
add %i1, 944, %o0
call caller
nop
restore %g0, %g0, %g0
retl
nop
which doesn't cause the assembler to barf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24880 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-20 07:56:31 +00:00
|
|
|
// Insert: G1+%lo(offset) into the user.
|
2006-02-05 05:50:24 +00:00
|
|
|
MI.SetMachineOperandReg(i, SP::G1);
|
Reserve G1 for frame offset stuff and use it to handle large stack frames.
For example, instead of emitting this:
test:
save -40112, %o6, %o6 ;; imm too large
add %i6, -40016, %o0 ;; imm too large
call caller
nop
restore %g0, %g0, %g0
retl
nop
emit this:
test:
sethi 4194264, %g1
or %g1, 848, %g1
save %o6, %g1, %o6
sethi 4194264, %g1
add %g1, %i6, %g1
add %i1, 944, %o0
call caller
nop
restore %g0, %g0, %g0
retl
nop
which doesn't cause the assembler to barf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24880 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-20 07:56:31 +00:00
|
|
|
MI.SetMachineOperandConst(i+1, MachineOperand::MO_SignExtendedImmed,
|
|
|
|
Offset & ((1 << 10)-1));
|
|
|
|
}
|
2004-02-25 19:28:19 +00:00
|
|
|
}
|
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
void SparcRegisterInfo::
|
2004-02-29 05:18:30 +00:00
|
|
|
processFunctionBeforeFrameFinalized(MachineFunction &MF) const {}
|
2004-02-25 19:28:19 +00:00
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
void SparcRegisterInfo::emitPrologue(MachineFunction &MF) const {
|
2004-02-29 05:18:30 +00:00
|
|
|
MachineBasicBlock &MBB = MF.front();
|
2004-04-02 20:53:37 +00:00
|
|
|
MachineFrameInfo *MFI = MF.getFrameInfo();
|
2004-02-29 05:18:30 +00:00
|
|
|
|
2004-04-02 20:53:37 +00:00
|
|
|
// Get the number of bytes to allocate from the FrameInfo
|
2004-04-13 18:28:37 +00:00
|
|
|
int NumBytes = (int) MFI->getStackSize();
|
2004-04-02 20:53:37 +00:00
|
|
|
|
2004-10-10 19:57:21 +00:00
|
|
|
// Emit the correct save instruction based on the number of bytes in
|
|
|
|
// the frame. Minimum stack frame size according to V8 ABI is:
|
2004-04-02 20:53:37 +00:00
|
|
|
// 16 words for register window spill
|
|
|
|
// 1 word for address of returned aggregate-value
|
|
|
|
// + 6 words for passing parameters on the stack
|
|
|
|
// ----------
|
|
|
|
// 23 words * 4 bytes per word = 92 bytes
|
|
|
|
NumBytes += 92;
|
2004-06-17 22:34:48 +00:00
|
|
|
// Round up to next doubleword boundary -- a double-word boundary
|
|
|
|
// is required by the ABI.
|
|
|
|
NumBytes = (NumBytes + 7) & ~7;
|
Reserve G1 for frame offset stuff and use it to handle large stack frames.
For example, instead of emitting this:
test:
save -40112, %o6, %o6 ;; imm too large
add %i6, -40016, %o0 ;; imm too large
call caller
nop
restore %g0, %g0, %g0
retl
nop
emit this:
test:
sethi 4194264, %g1
or %g1, 848, %g1
save %o6, %g1, %o6
sethi 4194264, %g1
add %g1, %i6, %g1
add %i1, 944, %o0
call caller
nop
restore %g0, %g0, %g0
retl
nop
which doesn't cause the assembler to barf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24880 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-20 07:56:31 +00:00
|
|
|
NumBytes = -NumBytes;
|
|
|
|
|
|
|
|
if (NumBytes >= -4096) {
|
2006-02-05 05:50:24 +00:00
|
|
|
BuildMI(MBB, MBB.begin(), SP::SAVEri, 2,
|
|
|
|
SP::O6).addImm(NumBytes).addReg(SP::O6);
|
Reserve G1 for frame offset stuff and use it to handle large stack frames.
For example, instead of emitting this:
test:
save -40112, %o6, %o6 ;; imm too large
add %i6, -40016, %o0 ;; imm too large
call caller
nop
restore %g0, %g0, %g0
retl
nop
emit this:
test:
sethi 4194264, %g1
or %g1, 848, %g1
save %o6, %g1, %o6
sethi 4194264, %g1
add %g1, %i6, %g1
add %i1, 944, %o0
call caller
nop
restore %g0, %g0, %g0
retl
nop
which doesn't cause the assembler to barf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24880 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-20 07:56:31 +00:00
|
|
|
} else {
|
|
|
|
MachineBasicBlock::iterator InsertPt = MBB.begin();
|
|
|
|
// Emit this the hard way. This clobbers G1 which we always know is
|
|
|
|
// available here.
|
|
|
|
unsigned OffHi = (unsigned)NumBytes >> 10U;
|
2006-02-05 05:50:24 +00:00
|
|
|
BuildMI(MBB, InsertPt, SP::SETHIi, 1, SP::G1).addImm(OffHi);
|
Reserve G1 for frame offset stuff and use it to handle large stack frames.
For example, instead of emitting this:
test:
save -40112, %o6, %o6 ;; imm too large
add %i6, -40016, %o0 ;; imm too large
call caller
nop
restore %g0, %g0, %g0
retl
nop
emit this:
test:
sethi 4194264, %g1
or %g1, 848, %g1
save %o6, %g1, %o6
sethi 4194264, %g1
add %g1, %i6, %g1
add %i1, 944, %o0
call caller
nop
restore %g0, %g0, %g0
retl
nop
which doesn't cause the assembler to barf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24880 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-20 07:56:31 +00:00
|
|
|
// Emit G1 = G1 + I6
|
2006-02-05 05:50:24 +00:00
|
|
|
BuildMI(MBB, InsertPt, SP::ORri, 2, SP::G1)
|
|
|
|
.addReg(SP::G1).addImm(NumBytes & ((1 << 10)-1));
|
|
|
|
BuildMI(MBB, InsertPt, SP::SAVErr, 2,
|
|
|
|
SP::O6).addReg(SP::O6).addReg(SP::G1);
|
Reserve G1 for frame offset stuff and use it to handle large stack frames.
For example, instead of emitting this:
test:
save -40112, %o6, %o6 ;; imm too large
add %i6, -40016, %o0 ;; imm too large
call caller
nop
restore %g0, %g0, %g0
retl
nop
emit this:
test:
sethi 4194264, %g1
or %g1, 848, %g1
save %o6, %g1, %o6
sethi 4194264, %g1
add %g1, %i6, %g1
add %i1, 944, %o0
call caller
nop
restore %g0, %g0, %g0
retl
nop
which doesn't cause the assembler to barf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24880 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-20 07:56:31 +00:00
|
|
|
}
|
2004-02-25 19:28:19 +00:00
|
|
|
}
|
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
void SparcRegisterInfo::emitEpilogue(MachineFunction &MF,
|
|
|
|
MachineBasicBlock &MBB) const {
|
2004-02-29 05:18:30 +00:00
|
|
|
MachineBasicBlock::iterator MBBI = prior(MBB.end());
|
2006-02-05 05:50:24 +00:00
|
|
|
assert(MBBI->getOpcode() == SP::RETL &&
|
2004-03-06 05:31:21 +00:00
|
|
|
"Can only put epilog before 'retl' instruction!");
|
2006-02-05 05:50:24 +00:00
|
|
|
BuildMI(MBB, MBBI, SP::RESTORErr, 2, SP::G0).addReg(SP::G0).addReg(SP::G0);
|
2004-02-25 19:28:19 +00:00
|
|
|
}
|
|
|
|
|
2006-03-23 18:12:57 +00:00
|
|
|
void SparcRegisterInfo::getLocation(MachineFunction &MF, unsigned Index,
|
|
|
|
MachineLocation &ML) const {
|
|
|
|
assert(0 && "Needs to be defined for target");
|
|
|
|
MachineFrameInfo *MFI = MF.getFrameInfo();
|
|
|
|
|
|
|
|
// FIXME - Needs to handle register variables.
|
|
|
|
// FIXME - Faking that llvm number is same as gcc numbering.
|
2006-03-27 20:18:45 +00:00
|
|
|
ML.set(getDwarfRegNum(SP::G1),
|
2006-03-23 18:12:57 +00:00
|
|
|
MFI->getObjectOffset(Index) + MFI->getStackSize());
|
|
|
|
}
|
|
|
|
|
2006-02-05 05:50:24 +00:00
|
|
|
#include "SparcGenRegisterInfo.inc"
|
2004-02-25 19:28:19 +00:00
|
|
|
|