PPL Logo

xi::CParsedFile Class Reference

#include <CParsedFile.h>

Collaboration diagram for xi::CParsedFile:

Collaboration graph
[legend]

Public Member Functions

 CParsedFile (Chare *c)
 ~CParsedFile (void)
void print (int indent)
void addNode (Entry *e)
void doProcess (XStr &classname, XStr &decls, XStr &defs)

Static Public Attributes

static XStrclassName = NULL

Private Member Functions

void mapCEntry ()
void generateConnectEntryList (void)
void generateEntryList (void)
void generateCode (XStr &decls, XStr &defs)
void generateEntries (XStr &decls, XStr &defs)
void generateConnectEntries (XStr &output)
void generateInitFunction (XStr &decls, XStr &defs)
void generatePupFunction (XStr &decls, XStr &defs)
void generateTraceEp (XStr &decls, XStr &defs)
void generateRegisterEp (XStr &decls, XStr &defs)
void generateDependencyMergePoints (XStr &output)
 Create a merging point for each of the places where multiple dependencies lead into some future task.

Private Attributes

std::list< Entry * > nodeList
std::list< CEntry * > entryList
std::list< SdagConstruct * > connectEntryList
Charecontainer

Detailed Description

Definition at line 15 of file CParsedFile.h.


Constructor & Destructor Documentation

xi::CParsedFile::CParsedFile ( Chare c  )  [inline]

Definition at line 35 of file CParsedFile.h.

xi::CParsedFile::~CParsedFile ( void   )  [inline]

Definition at line 36 of file CParsedFile.h.


Member Function Documentation

void xi::CParsedFile::mapCEntry ( void   )  [private]

Definition at line 80 of file CParsedFile.C.

References container, entryList, and xi::Chare::lookforCEntry().

Referenced by doProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::CParsedFile::generateConnectEntryList ( void   )  [private]

void xi::CParsedFile::generateEntryList ( void   )  [private]

Definition at line 86 of file CParsedFile.C.

References entryList, and nodeList.

Referenced by doProcess().

Here is the caller graph for this function:

void xi::CParsedFile::generateCode ( XStr decls,
XStr defs 
) [private]

Definition at line 92 of file CParsedFile.C.

References nodeList.

Referenced by doProcess().

Here is the caller graph for this function:

void xi::CParsedFile::generateEntries ( XStr decls,
XStr defs 
) [private]

Definition at line 99 of file CParsedFile.C.

References entryList.

Referenced by doProcess().

Here is the caller graph for this function:

void xi::CParsedFile::generateConnectEntries ( XStr output  )  [private]

void xi::CParsedFile::generateInitFunction ( XStr decls,
XStr defs 
) [private]

Definition at line 106 of file CParsedFile.C.

References container, xi::endMethod(), entryList, xi::generateVarSignature(), name, xi::numEntries, and xi::numWhens.

Referenced by doProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::CParsedFile::generatePupFunction ( XStr decls,
XStr defs 
) [private]

Definition at line 149 of file CParsedFile.C.

References xi::Chare::baseName(), container, xi::templateGuardBegin(), xi::templateGuardEnd(), and xi::TEntity::tspec().

Referenced by doProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::CParsedFile::generateTraceEp ( XStr decls,
XStr defs 
) [private]

Definition at line 181 of file CParsedFile.C.

References container, and nodeList.

Referenced by doProcess().

Here is the caller graph for this function:

void xi::CParsedFile::generateRegisterEp ( XStr decls,
XStr defs 
) [private]

Definition at line 166 of file CParsedFile.C.

References container, xi::endMethod(), xi::generateVarSignature(), name, nodeList, and xi::Chare::sdagPUPReg.

Referenced by doProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::CParsedFile::generateDependencyMergePoints ( XStr decls  )  [private]

Create a merging point for each of the places where multiple dependencies lead into some future task.

Used by Isaac's critical path detection

Definition at line 131 of file CParsedFile.C.

References xi::numOlists, and xi::numWhens.

Referenced by doProcess().

Here is the caller graph for this function:

void xi::CParsedFile::print ( int  indent  ) 

void xi::CParsedFile::addNode ( Entry e  )  [inline]

Definition at line 38 of file CParsedFile.h.

References nodeList.

Referenced by xi::SdagCollection::addNode().

Here is the caller graph for this function:

void xi::CParsedFile::doProcess ( XStr classname,
XStr decls,
XStr defs 
)


Field Documentation

Definition at line 29 of file CParsedFile.h.

Referenced by generateEntries(), generateEntryList(), generateInitFunction(), and mapCEntry().

Definition at line 30 of file CParsedFile.h.

XStr * xi::CParsedFile::className = NULL [static]


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

Generated on Mon Sep 21 08:34:47 2020 for Charm++ by  doxygen 1.5.5