public abstract class AbstractPlace
extends java.lang.Object
An AbstractPlace describes a place where forests of CG trees may be placed for code generation.
A GlobalPlace describes the place for global constants and all outer stack places.
A StackPlace describes a callable forest such as an Operation of Iteration.
A ControlPlace describes a control dependency such as the Else place of an If.
Constructor and Description |
---|
AbstractPlace() |
Modifier and Type | Method and Description |
---|---|
static ControlPlace |
getControlPlace(AbstractPlace abstractPlace) |
abstract GlobalPlace |
getGlobalPlace()
Return the GlobalPlace.
|
abstract AbstractPlace |
getParentPlace()
Return the parent of this place, which is self for the GlobalPlace.
|
abstract StackPlace |
getStackPlace()
Return the stack place hosting this place.
|
abstract void |
printHierarchy(java.lang.Appendable appendable,
java.lang.String indentation) |
@NonNull public static ControlPlace getControlPlace(@NonNull AbstractPlace abstractPlace)
@NonNull public abstract GlobalPlace getGlobalPlace()
@NonNull public abstract AbstractPlace getParentPlace()
@Nullable public abstract StackPlace getStackPlace()
public abstract void printHierarchy(@NonNull java.lang.Appendable appendable, @NonNull java.lang.String indentation)