public abstract class AbstractPlace extends 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(Appendable appendable,
String indentation) |
public static ControlPlace getControlPlace(AbstractPlace abstractPlace)
public abstract GlobalPlace getGlobalPlace()
public abstract AbstractPlace getParentPlace()
public abstract StackPlace getStackPlace()
public abstract void printHierarchy(Appendable appendable, String indentation)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.