|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Backend.Generic.Frame
harpoon.Backend.StrongARM.Frame
public class Frame
Frame
contains the machine-dependant
information necessary to compile for the StrongARM processor.
Constructor Summary | |
---|---|
Frame(HMethod main)
|
Method Summary | |
---|---|
HCodeFactory |
getCodeFactory(HCodeFactory hcf)
Returns a code factory for machine-specific IR.Assem s,
given a code factory for CanonicalTreeCode . |
CodeGen |
getCodeGen()
Returns a StrongARM.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 . |
boolean |
pointersAreLong()
Returns false if pointers can be represented in
32 bits, or true otherwise. |
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)
Method Detail |
---|
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 CodeGen getCodeGen()
StrongARM.CodeGen
.
Since no state is maintained in the returned
StrongARM.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 |