|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Backend.Generic.Frame
harpoon.Backend.MIPS.Frame
public class Frame
Frame
contains the machine-dependant
information necessary to compile for the MIPS processor.
Constructor Summary | |
---|---|
Frame(HMethod main)
|
|
Frame(HMethod main,
String type)
|
Method Summary | |
---|---|
Object |
daNum(HCodeElement hce)
|
HCodeFactory |
getCodeFactory(HCodeFactory hcf)
Returns a code factory for machine-specific IR.Assem s,
given a code factory for CanonicalTreeCode . |
CodeGen |
getCodeGen()
Returns a MIPS.CodeGen . |
GCInfo |
getGCInfo()
Returns the GCInfo for the backend
associated with this . |
InstrBuilder |
getInstrBuilder()
Returns the appropriate InstrBuilder for this
Frame . |
Linker |
getLinker()
The Linker object to use when compiling for this
Frame . |
LocationFactory |
getLocationFactory()
Returns the appropriate LocationFactory for this
Frame . |
RegFileInfo |
getRegFileInfo()
Returns the appropriate RegFileInfo for this
Frame . |
Runtime |
getRuntime()
Returns the appropriate Generic.Runtime for
this Frame . |
TempBuilder |
getTempBuilder()
Returns the Generic.TempBuilder for the backend
associated with this . |
String |
getType()
|
Set |
getUsedDANum()
|
boolean |
memAccessNoTagCheck(HCodeElement hce)
|
boolean |
pointersAreLong()
Returns false if pointers can be represented in
32 bits, or true otherwise. |
void |
setNoTagCheckMap(Map hm)
|
void |
setUsedDANum(Set hs)
|
Methods inherited from class harpoon.Backend.Generic.Frame |
---|
setCallGraph, setClassHierarchy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Frame(HMethod main)
public Frame(HMethod main, String type)
Method Detail |
---|
public String getType()
public Linker getLinker()
Frame
Linker
object to use when compiling for this
Frame
.
getLinker
in class Frame
public boolean pointersAreLong()
Frame
false
if pointers can be represented in
32 bits, or true
otherwise.
pointersAreLong
in class Frame
public void setNoTagCheckMap(Map hm)
public void setUsedDANum(Set hs)
public Set getUsedDANum()
public boolean memAccessNoTagCheck(HCodeElement hce)
public Object daNum(HCodeElement hce)
public CodeGen getCodeGen()
MIPS.CodeGen
.
Since no state is maintained in the returned
MIPS.CodeGen
, the same one is returned on
every call to this method.
getCodeGen
in class Frame
public Runtime getRuntime()
Frame
Generic.Runtime
for
this Frame
.
getRuntime
in class Frame
public RegFileInfo getRegFileInfo()
Frame
RegFileInfo
for this
Frame
.
getRegFileInfo
in class Frame
public LocationFactory getLocationFactory()
Frame
LocationFactory
for this
Frame
.
getLocationFactory
in class Frame
public InstrBuilder getInstrBuilder()
Frame
InstrBuilder
for this
Frame
.
getInstrBuilder
in class Frame
public TempBuilder getTempBuilder()
Frame
Generic.TempBuilder
for the backend
associated with this
.
getTempBuilder
in class Frame
public GCInfo getGCInfo()
Frame
GCInfo
for the backend
associated with this
. null
may be returned in some cases. i.e. if precise
garbage collection is not supported.
getGCInfo
in class Frame
public HCodeFactory getCodeFactory(HCodeFactory hcf)
Frame
IR.Assem
s,
given a code factory for CanonicalTreeCode
. Uses
the code generator defined by this frame. Returns null
if this frame does not have a code factory that generates
IR.Assem.Instr
s.
getCodeFactory
in class Frame
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |