public class CommonAnalysis extends AbstractAnalysis
| Constructor and Description |
|---|
CommonAnalysis(SimpleAnalysis firstAnalysis,
SimpleAnalysis secondAnalysis) |
| Modifier and Type | Method and Description |
|---|---|
CommonAnalysis |
addAnalysis(AbstractAnalysis anAnalysis)
Return the analysis that shares this analysis and anAnalysis
|
CommonAnalysis |
addCommonAnalysis(CommonAnalysis commonAnalysis)
Return the analysis that shares this analysis and commonAnalysis
|
CommonAnalysis |
addedSimpleAnalysis(SimpleAnalysis simpleAnalysis) |
CommonAnalysis |
addSimpleAnalysis(SimpleAnalysis simpleAnalysis)
Return the analysis that shares this analysis and simpleAnalysis
|
int |
getMaxDepth()
Return the depth of the deepest shared analysis.
|
int |
getMinDepth()
Return the depth of the shallowest shared analysis.
|
SimpleAnalysis |
getPrimaryAnalysis() |
CGValuedElement |
getPrimaryElement()
Return the CG element to be used for this analysis.
|
int |
getStructuralHashCode()
Return the hash code derived from the tree structure of this analysis.
|
boolean |
isStructurallyEqualTo(AbstractAnalysis thatAnalysis)
Return true if the tree structure of this analysis is identical to thatAnalysis.
|
boolean |
isStructurallyEqualTo(SimpleAnalysis thatAnalysis)
Return true if the tree structure of this analysis is identical to thatAnalysis.
|
void |
removedSimpleAnalysis(SimpleAnalysis simpleAnalysis) |
void |
rewrite(CodeGenAnalyzer analyzer,
CGValuedElement controlElement) |
void |
rewriteGlobal(CodeGenAnalyzer analyzer) |
String |
toString() |
compareTopublic CommonAnalysis(SimpleAnalysis firstAnalysis, SimpleAnalysis secondAnalysis)
public CommonAnalysis addAnalysis(AbstractAnalysis anAnalysis)
AbstractAnalysisaddAnalysis in class AbstractAnalysispublic CommonAnalysis addCommonAnalysis(CommonAnalysis commonAnalysis)
AbstractAnalysisaddCommonAnalysis in class AbstractAnalysispublic CommonAnalysis addSimpleAnalysis(SimpleAnalysis simpleAnalysis)
AbstractAnalysisaddSimpleAnalysis in class AbstractAnalysispublic CommonAnalysis addedSimpleAnalysis(SimpleAnalysis simpleAnalysis)
public int getMaxDepth()
AbstractAnalysisgetMaxDepth in class AbstractAnalysispublic int getMinDepth()
AbstractAnalysisgetMinDepth in class AbstractAnalysispublic SimpleAnalysis getPrimaryAnalysis()
public CGValuedElement getPrimaryElement()
AbstractAnalysisgetPrimaryElement in class AbstractAnalysispublic int getStructuralHashCode()
AbstractAnalysisgetStructuralHashCode in class AbstractAnalysispublic boolean isStructurallyEqualTo(AbstractAnalysis thatAnalysis)
AbstractAnalysisisStructurallyEqualTo in class AbstractAnalysispublic boolean isStructurallyEqualTo(SimpleAnalysis thatAnalysis)
AbstractAnalysisisStructurallyEqualTo in class AbstractAnalysispublic void removedSimpleAnalysis(SimpleAnalysis simpleAnalysis)
public void rewrite(CodeGenAnalyzer analyzer, CGValuedElement controlElement)
public void rewriteGlobal(CodeGenAnalyzer analyzer)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.