|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectharpoon.Backend.Generic.Frame
harpoon.Backend.Sparc.Frame
public class Frame
Sparc.Frame contains architecture specific info
for the Sparc Backend.
| Constructor Summary | |
|---|---|
Frame(HMethod main)
|
|
| Method Summary | |
|---|---|
HCodeFactory |
getCodeFactory(HCodeFactory hcf)
Returns a code factory for machine-specific IR.Assems,
given a code factory for CanonicalTreeCode. |
CodeGen |
getCodeGen()
Returns the Generic.CodeGen for the backend
associated with this. |
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()
FrameLinker object to use when compiling for this
Frame.
getLinker in class Framepublic boolean pointersAreLong()
Framefalse if pointers can be represented in
32 bits, or true otherwise.
pointersAreLong in class Framepublic CodeGen getCodeGen()
FrameGeneric.CodeGen for the backend
associated with this.
getCodeGen in class Framepublic Runtime getRuntime()
FrameGeneric.Runtime for
this Frame.
getRuntime in class Framepublic RegFileInfo getRegFileInfo()
FrameRegFileInfo for this
Frame.
getRegFileInfo in class Framepublic LocationFactory getLocationFactory()
FrameLocationFactory for this
Frame.
getLocationFactory in class Framepublic InstrBuilder getInstrBuilder()
FrameInstrBuilder for this
Frame.
getInstrBuilder in class Framepublic TempBuilder getTempBuilder()
FrameGeneric.TempBuilder for the backend
associated with this.
getTempBuilder in class Framepublic GCInfo getGCInfo()
FrameGCInfo 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 Framepublic HCodeFactory getCodeFactory(HCodeFactory hcf)
FrameIR.Assems,
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.Instrs.
getCodeFactory in class Frame
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||