public class ControlPlace extends LocalPlace
| Constructor and Description |
|---|
ControlPlace(LocalPlace parentPlace,
CGValuedElement cgElement) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnalysis(AbstractAnalysis anAnalysis) |
static AbstractPlace |
createControlPlace(Map<CGElement,AbstractPlace> element2place,
CGValuedElement cgElement) |
static ControlPlace |
getControlPlace(Map<CGElement,AbstractPlace> element2place,
CGValuedElement cgElement) |
int |
getDepth() |
HashedAnalyses |
getHashedAnalyses() |
LocalPlace |
getParentPlace()
Return the parent of this place, which is self for the GlobalPlace.
|
SimpleAnalysis |
getSimpleAnalysis() |
StackPlace |
getStackPlace()
Return the stack place hosting this place.
|
void |
printHierarchy(Appendable appendable,
String indentation) |
void |
prune()
Filter the element analyses to discard non-SharedAnalysis and to return a partitioning of the results by minimum depth.
|
void |
pullUp()
Pull up all redundant child analyses that are visible in a parent to the parent.
|
void |
pushUp()
Push shareable analyses up the place tree.
|
void |
rewrite()
Rewrite the expression trees to exploit the CSEs.
|
String |
toString() |
addControlPlace, createLocalPlace, getGlobalPlacegetControlPlacepublic ControlPlace(LocalPlace parentPlace, CGValuedElement cgElement)
public static AbstractPlace createControlPlace(Map<CGElement,AbstractPlace> element2place, CGValuedElement cgElement)
public static ControlPlace getControlPlace(Map<CGElement,AbstractPlace> element2place, CGValuedElement cgElement)
public void addAnalysis(AbstractAnalysis anAnalysis)
public int getDepth()
public HashedAnalyses getHashedAnalyses()
public LocalPlace getParentPlace()
AbstractPlacegetParentPlace in class AbstractPlacepublic SimpleAnalysis getSimpleAnalysis()
public StackPlace getStackPlace()
AbstractPlacegetStackPlace in class LocalPlacepublic void printHierarchy(Appendable appendable, String indentation)
printHierarchy in class LocalPlacepublic void prune()
prune in class LocalPlacepublic void pullUp()
LocalPlacepullUp in class LocalPlacepublic void pushUp()
LocalPlacepushUp in class LocalPlacepublic void rewrite()
LocalPlacerewrite in class LocalPlaceCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.