HPCToolkit
Prof::Struct Namespace Reference

Classes

class  ACodeNode
 
class  ACodeNodeChildIterator
 
class  Alien
 
class  ANode
 
class  ANodeChildIterator
 
class  ANodeFilter
 
class  ANodeIterator
 
class  ANodeSortedChildIterator
 
class  ANodeSortedIterator
 
class  File
 
class  FileMap
 
class  Group
 
class  GroupMap
 
class  LM
 
class  LMMap
 
class  Loop
 
class  Proc
 
class  ProcMap
 
class  Ref
 
class  Root
 
class  Stmt
 
class  StmtMap
 
class  Tree
 
class  Variable
 

Typedefs

typedef std::list< ANode * > ANodeList
 
typedef std::set< ANode * > ANodeSet
 
typedef bool(* ANodeFilterFct) (const ANode &x, long addArg)
 

Functions

void writeXML (std::ostream &os, const Prof::Struct::Tree &strctTree, bool prettyPrint)
 
bool HasANodeTy (const ANode &node, long type)
 
static void xmlSanityCheck (const char *filenm, string &docType)
 
void readStructure (Struct::Tree &structure, const std::vector< string > &structureFiles, PGMDocHandler::Doc_t docty, DocHandlerArgs &docargs)
 
void read_PGM (Struct::Tree &structure, const char *filenm, PGMDocHandler::Doc_t docty, DocHandlerArgs &docHandlerArgs)
 

Variables

RealPathMgrs_realpathMgr = RealPathMgr::singleton()
 
static const string XMLelements [ANode::TyNUMBER]
 
const ANodeFilter ANodeTyFilter [ANode::TyNUMBER]
 

Typedef Documentation

◆ ANodeFilterFct

typedef bool(* Prof::Struct::ANodeFilterFct) (const ANode &x, long addArg)

Definition at line 89 of file Struct-TreeIterator.hpp.

◆ ANodeList

typedef std::list<ANode*> Prof::Struct::ANodeList

Definition at line 96 of file Struct-Tree.hpp.

◆ ANodeSet

typedef std::set<ANode*> Prof::Struct::ANodeSet

Definition at line 100 of file Struct-Tree.hpp.

Function Documentation

◆ HasANodeTy()

bool Prof::Struct::HasANodeTy ( const ANode node,
long  type 
)

Definition at line 87 of file Struct-TreeIterator.cpp.

Here is the call graph for this function:

◆ read_PGM()

void Prof::Struct::read_PGM ( Struct::Tree structure,
const char *  filenm,
PGMDocHandler::Doc_t  docty,
DocHandlerArgs docHandlerArgs 
)

Definition at line 152 of file PGMReader.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readStructure()

void Prof::Struct::readStructure ( Struct::Tree structure,
const std::vector< string > &  structureFiles,
PGMDocHandler::Doc_t  docty,
DocHandlerArgs docargs 
)

Definition at line 133 of file PGMReader.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeXML()

void Prof::Struct::writeXML ( std::ostream &  os,
const Prof::Struct::Tree strctTree,
bool  prettyPrint 
)

Definition at line 175 of file Struct-Tree.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xmlSanityCheck()

static void Prof::Struct::xmlSanityCheck ( const char *  filenm,
string &  docType 
)
static

Definition at line 103 of file PGMReader.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ANodeTyFilter

const ANodeFilter Prof::Struct::ANodeTyFilter
Initial value:
= {
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyRoot).c_str(), ANode::TyRoot),
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyGroup).c_str(), ANode::TyGroup),
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyLM).c_str(), ANode::TyLM),
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyFile).c_str(), ANode::TyFile),
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyProc).c_str(), ANode::TyProc),
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyAlien).c_str(), ANode::TyAlien),
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyLoop).c_str(), ANode::TyLoop),
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyStmt).c_str(), ANode::TyStmt),
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyRef).c_str(), ANode::TyRef),
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyVariable).c_str(), ANode::TyVariable),
ANodeFilter(HasANodeTy,
ANode::ANodeTyToName(ANode::TyANY).c_str(), ANode::TyANY)
}
bool HasANodeTy(const ANode &node, long type)

Definition at line 93 of file Struct-TreeIterator.cpp.

◆ s_realpathMgr

RealPathMgr& Prof::Struct::s_realpathMgr = RealPathMgr::singleton()

Definition at line 106 of file Struct-Tree.cpp.

◆ XMLelements

const string Prof::Struct::XMLelements[ANode::TyNUMBER]
static
Initial value:
= {
"HPCToolkitStructure", "G", "LM", "F", "P", "A", "L", "S", "REF", "ANY"
}

Definition at line 1399 of file Struct-Tree.cpp.