AliasInfoGenerator¶
Helper class to hold Alias Information
Synopsis¶
Declared in <src/midend/programAnalysis/VirtualFunctionAnalysis/IntraProcAliasAnalysis.h>
class AliasInfoGenerator; Member Functions¶
| Name | Description |
|---|---|
addNewAliasRelationbool addNewAliasRelation( SgGraphNode* node, std::pair<AliasRelationNode, AliasRelationNode> a_relation); | Returns whether a new alias relation was added for a CFG node. |
addReturnStmtvoid addReturnStmt(AliasRelationNode node); | Adds a return statement. Return Statements are handled separately from others because of backward propagation |
getAliasRelationsstd::vector<std::pair<AliasRelationNode, AliasRelationNode>> getAliasRelations(SgGraphNode* node); | Get alias relations for a CFG Node |
getEntryDataCompReprPtr getEntryData(SgGraphNode* node); | Get Entry Data For a CFG Node |
getExitDataCompReprPtr getExitData(SgGraphNode* node); | Get Exit Data For a CFG Node |
getReturnStmtsstd::vector<AliasRelationNode> getReturnStmts(); | Get all the return statements |
initvoid init(SgGraphNode* n); | Initialize |
setEntryDatavoid setEntryData( SgGraphNode* node, CompReprPtr en); | Set Entry Data For a CFG Node |
setExitDatavoid setExitData( SgGraphNode* node, CompReprPtr en); | Set Exit Data For a CFG Node |
Private Data Members¶
| Name | Description |
|---|---|
aliasRelations | All the AliasRelations for every CFG Node |
ins | IN of every CFG Node |
outs | OUT of every CFG Node |
returnStmts | All the Return Stmts |
Created with MrDocs