PPL Logo

xi::Module Class Reference

#include <xi-Module.h>

Inheritance diagram for xi::Module:

Inheritance graph
[legend]
Collaboration diagram for xi::Module:

Collaboration graph
[legend]

Public Member Functions

 Module (int l, const char *n, ConstructList *c)
void print (XStr &str)
void printChareNames ()
void check ()
void generate ()
void setModule ()
void prependConstruct (Construct *c)
void preprocess ()
void genDepend (const char *cifile)
void genDecls (XStr &str)
void genDefs (XStr &str)
void genReg (XStr &str)
void setMain (void)
int isMain (void)
bool isTramTarget ()
void printName ()
int genAccels_spe_c_funcBodies (XStr &str)
void genAccels_spe_c_regFuncs (XStr &str)
void genAccels_spe_c_callInits (XStr &str)
void genAccels_spe_h_includes (XStr &str)
void genAccels_spe_h_fiCountDefs (XStr &str)
void genAccels_ppe_c_regFuncs (XStr &str)

Private Attributes

int _isMain
const char * name
ConstructListclist

Detailed Description

Definition at line 8 of file xi-Module.h.


Constructor & Destructor Documentation

xi::Module::Module ( int  l,
const char *  n,
ConstructList c 
)

Definition at line 14 of file xi-Module.C.

References _isMain, clist, xi::AstNode::line, xi::AstChildren< Child >::recurse(), and xi::Construct::setModule().

Here is the call graph for this function:


Member Function Documentation

void xi::Module::print ( XStr str  )  [virtual]

Implements xi::Printable.

Definition at line 20 of file xi-Module.C.

References clist, xi::Construct::external, name, and xi::AstChildren< Child >::print().

Here is the call graph for this function:

void xi::Module::printChareNames (  )  [inline, virtual]

Reimplemented from xi::AstNode.

Definition at line 16 of file xi-Module.h.

References clist, and xi::AstChildren< Child >::printChareNames().

Here is the call graph for this function:

void xi::Module::check ( void   )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 32 of file xi-Module.C.

References xi::AstChildren< Child >::check(), and clist.

Here is the call graph for this function:

void xi::Module::generate (  ) 

void xi::Module::setModule (  ) 

void xi::Module::prependConstruct ( Construct c  )  [inline]

Definition at line 22 of file xi-Module.h.

References clist.

Referenced by xi::Entry::preprocess().

Here is the caller graph for this function:

void xi::Module::preprocess (  )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 188 of file xi-Module.C.

References clist, and xi::AstChildren< Child >::preprocess().

Here is the call graph for this function:

void xi::Module::genDepend ( const char *  cifile  ) 

Definition at line 192 of file xi-Module.C.

References endl(), and name.

Here is the call graph for this function:

void xi::Module::genDecls ( XStr str  )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 196 of file xi-Module.C.

References clist, xi::Construct::external, xi::AstChildren< Child >::genDecls(), isMain(), and name.

Here is the call graph for this function:

void xi::Module::genDefs ( XStr str  )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 211 of file xi-Module.C.

References clist, xi::Construct::external, genAccels_ppe_c_regFuncs(), xi::AstChildren< Child >::genDefs(), isMain(), name, xi::templateGuardBegin(), and xi::templateGuardEnd().

Referenced by generate().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Module::genReg ( XStr str  )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 248 of file xi-Module.C.

References clist, xi::Construct::external, xi::AstChildren< Child >::genDefs(), and name.

Here is the call graph for this function:

void xi::Module::setMain ( void   )  [inline]

Definition at line 28 of file xi-Module.h.

References _isMain.

Referenced by Builder::Module::generateAst().

Here is the caller graph for this function:

int xi::Module::isMain ( void   )  [inline]

Definition at line 29 of file xi-Module.h.

References _isMain.

Referenced by genAccels_spe_c_funcBodies(), genDecls(), genDefs(), and generate().

Here is the caller graph for this function:

bool xi::Module::isTramTarget ( void   )  [virtual]

Reimplemented from xi::Construct.

Definition at line 256 of file xi-Module.C.

References clist, and xi::AstChildren< Child >::isTramTarget().

Referenced by generate().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Module::printName (  )  [inline]

Definition at line 31 of file xi-Module.h.

References name.

int xi::Module::genAccels_spe_c_funcBodies ( XStr str  )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 263 of file xi-Module.C.

References clist, xi::Construct::external, genAccels_spe_c_callInits(), xi::AstChildren< Child >::genAccels_spe_c_funcBodies(), genAccels_spe_c_regFuncs(), isMain(), and name.

Referenced by generate().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Module::genAccels_spe_c_regFuncs ( XStr str  )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 343 of file xi-Module.C.

References clist, xi::Construct::external, xi::AstChildren< Child >::genAccels_spe_c_regFuncs(), and name.

Referenced by genAccels_spe_c_funcBodies().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Module::genAccels_spe_c_callInits ( XStr str  )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 353 of file xi-Module.C.

References clist, and xi::AstChildren< Child >::genAccels_spe_c_callInits().

Referenced by genAccels_spe_c_funcBodies().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Module::genAccels_spe_h_includes ( XStr str  )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 359 of file xi-Module.C.

References clist, xi::Construct::external, xi::AstChildren< Child >::genAccels_spe_h_includes(), and name.

Referenced by generate().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Module::genAccels_spe_h_fiCountDefs ( XStr str  )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 368 of file xi-Module.C.

References clist, xi::Construct::external, xi::AstChildren< Child >::genAccels_spe_h_fiCountDefs(), and name.

Referenced by generate().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Module::genAccels_ppe_c_regFuncs ( XStr str  )  [virtual]

Reimplemented from xi::AstNode.

Definition at line 377 of file xi-Module.C.

References clist, xi::Construct::external, xi::AstChildren< Child >::genAccels_ppe_c_regFuncs(), and name.

Referenced by genDefs().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

Definition at line 9 of file xi-Module.h.

Referenced by isMain(), Module(), and setMain().

const char* xi::Module::name [private]


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

Generated on Mon Sep 21 08:35:25 2020 for Charm++ by  doxygen 1.5.5