ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DominatorTreesAndDominanceFrontiers::TemplatedDominanceFrontier< CFGFilterFunction > Class Template Reference

#include <DominanceFrontier.h>

Inheritance diagram for DominatorTreesAndDominanceFrontiers::TemplatedDominanceFrontier< CFGFilterFunction >:
Collaboration diagram for DominatorTreesAndDominanceFrontiers::TemplatedDominanceFrontier< CFGFilterFunction >:

Public Member Functions

std::set< int > getFrontier (int node)
 retunrs a set of ID's with the nodes dominance-frontier More...
 
 TemplatedDominanceFrontier (TemplatedDominatorTree< CFGFilterFunction > dt)
 construct the domnancefrontier More...
 
void printFrontiers ()
 debug method to print forntiers More...
 
- Public Member Functions inherited from DominatorTreesAndDominanceFrontiers::DominatorForwardBackwardWrapperClass< CFGFilterFunction >
 DominatorForwardBackwardWrapperClass (Direction dir)
 
Direction getDirection ()
 

Private Member Functions

int validID (int id)
 checks if the id is valid More...
 
void init ()
 allocate the vector and initialize it with sets More...
 
void buildFrontier ()
 

Private Attributes

TemplatedDominatorTree
< CFGFilterFunction > 
dominatorTree
 
std::vector< std::set< int > > dominatorFrontier
 a vector of dominance-frontiers, for every possible id one More...
 

Additional Inherited Members

- Protected Member Functions inherited from DominatorTreesAndDominanceFrontiers::DominatorForwardBackwardWrapperClass< CFGFilterFunction >
std::vector
< VirtualCFG::FilteredCFGEdge
< CFGFilterFunction > > 
getDirectionModifiedOutEdges (VirtualCFG::FilteredCFGNode< CFGFilterFunction > current)
 helperfunctions to toggle beween pre and post dominator tree More...
 
std::vector
< VirtualCFG::FilteredCFGEdge
< CFGFilterFunction > > 
getDirectionModifiedInEdges (VirtualCFG::FilteredCFGNode< CFGFilterFunction > current)
 
VirtualCFG::FilteredCFGNode
< CFGFilterFunction > 
target (VirtualCFG::FilteredCFGEdge< CFGFilterFunction > outedge)
 
VirtualCFG::FilteredCFGNode
< CFGFilterFunction > 
source (VirtualCFG::FilteredCFGEdge< CFGFilterFunction > outedge)
 
- Protected Attributes inherited from DominatorTreesAndDominanceFrontiers::DominatorForwardBackwardWrapperClass< CFGFilterFunction >
Direction treeDirection
 

Detailed Description

template<typename CFGFilterFunction>
class DominatorTreesAndDominanceFrontiers::TemplatedDominanceFrontier< CFGFilterFunction >

Definition at line 24 of file dominanceAnalysis/DominanceFrontier.h.

Constructor & Destructor Documentation

Member Function Documentation

template<typename CFGFilterFunction >
std::set<int> DominatorTreesAndDominanceFrontiers::TemplatedDominanceFrontier< CFGFilterFunction >::getFrontier ( int  node)
inline

Member Data Documentation


The documentation for this class was generated from the following file: