Args Class Reference

#include <Args.h>

Collaboration diagram for Args:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Args ()
 Args (int argc, const char *const argv[])
 ~Args ()
void Parse (int argc, const char *const argv[])
void PrintVersion (std::ostream &os) const
void PrintUsage (std::ostream &os) const
void PrintError (std::ostream &os, const char *msg) const
void PrintError (std::ostream &os, const std::string &msg) const
void Dump (std::ostream &os=std::cerr) const
void DDump () const
const std::stringGetCmd () const
 Args ()
 Args (int argc, const char *const argv[])
 ~Args ()
void Parse (int argc, const char *const argv[])
void PrintVersion (std::ostream &os) const
void PrintUsage (std::ostream &os) const
void PrintError (std::ostream &os, const char *msg) const
void PrintError (std::ostream &os, const std::string &msg) const
void Dump (std::ostream &os=std::cerr) const
void DDump () const
const std::stringGetCmd () const
 Args ()
 Args (int argc, const char *const argv[])
 ~Args ()
void Parse (int argc, const char *const argv[])
void PrintVersion (std::ostream &os) const
void PrintUsage (std::ostream &os) const
void PrintError (std::ostream &os, const char *msg) const
void PrintError (std::ostream &os, const std::string &msg) const
void Dump (std::ostream &os=std::cerr) const
void DDump () const
const std::stringGetCmd () const
 Args ()
 Args (int argc, const char *const argv[])
 ~Args ()
void Parse (int argc, const char *const argv[])
void PrintVersion (std::ostream &os) const
void PrintUsage (std::ostream &os) const
void PrintError (std::ostream &os, const char *msg) const
void PrintError (std::ostream &os, const std::string &msg) const
void Dump (std::ostream &os=std::cerr) const
void DDump () const
const std::stringGetCmd () const
 Args ()
 Args (int argc, const char *const argv[])
 ~Args ()
void Parse (int argc, const char *const argv[])
void PrintVersion (std::ostream &os) const
void PrintUsage (std::ostream &os) const
void PrintError (std::ostream &os, const char *msg) const
void PrintError (std::ostream &os, const std::string &msg) const
void Dump (std::ostream &os=std::cerr) const
void DDump () const
const std::stringGetCmd () const

Public Attributes

std::string whirlFileNm
int debug
std::string sexpFileNm
int runMode
bool dumpIR
bool myNoCleanUpFlag
std::string xaifFileNm
std::string tmpVarPrefix
xaif2whirl::ModeType mode
xaif2whirl::AlgorithmType algorithm
std::string inWhirlFileNm
std::string outWhirlFileNm
bool validate

Static Public Attributes

static bool ourSimpleLoopFlag = false
static bool ourDoNotFilterFlag = false
static bool ourNoTimeStampFlag = false
static bool ourVariedOnlyFlag = false
static bool ourUnstructuredControlFlowFlag = false
static std::string ourActiveTypeNm
static const unsigned short ourActiveTypeNmLength = 27
static TYPE_ID ourDefaultMTypeInt = MTYPE_I8
static TYPE_ID ourDefaultMTypeUInt = MTYPE_U8
static TYPE_ID ourDefaultMTypeReal = MTYPE_F8

Private Member Functions

void Ctor ()
void Ctor ()
void Ctor ()
void Ctor ()

Private Attributes

CmdLineParser parser

Static Private Attributes

static CmdLineParser::OptArgDesc optArgs []


Detailed Description

Definition at line 13 of file Args.h.


Constructor & Destructor Documentation

Args::Args (  ) 

Definition at line 72 of file Args.cxx.

References Ctor().

Here is the call graph for this function:

Args::Args ( int  argc,
const char *const   argv[] 
)

Definition at line 77 of file Args.cxx.

References Ctor(), and Parse().

Here is the call graph for this function:

Args::~Args (  ) 

Definition at line 89 of file Args.cxx.

Args::Args (  ) 

Args::Args ( int  argc,
const char *const   argv[] 
)

Args::~Args (  ) 

Args::Args (  ) 

Args::Args ( int  argc,
const char *const   argv[] 
)

Args::~Args (  ) 

Args::Args (  ) 

Args::Args ( int  argc,
const char *const   argv[] 
)

Args::~Args (  ) 

Args::Args (  ) 

Args::Args ( int  argc,
const char *const   argv[] 
)

Args::~Args (  ) 


Member Function Documentation

void Args::Ctor (  )  [private]

void Args::Ctor (  )  [private]

void Args::Ctor (  )  [private]

void Args::Ctor (  )  [private]

Definition at line 84 of file Args.cxx.

References debug.

Referenced by Args().

void Args::DDump (  )  const

void Args::DDump (  )  const

void Args::DDump (  )  const

void Args::DDump (  )  const

void Args::DDump (  )  const

Definition at line 187 of file Args.cxx.

References Dump().

Here is the call graph for this function:

void Args::Dump ( std::ostream &  os = std::cerr  )  const

void Args::Dump ( std::ostream &  os = std::cerr  )  const

void Args::Dump ( std::ostream &  os = std::cerr  )  const

void Args::Dump ( std::ostream &  os = std::cerr  )  const

void Args::Dump ( std::ostream &  os = std::cerr  )  const

Definition at line 181 of file Args.cxx.

References CmdLineParser::Dump(), and parser.

Referenced by DDump().

Here is the call graph for this function:

const std::string& Args::GetCmd (  )  const [inline]

Definition at line 59 of file Args.h.

References CmdLineParser::GetCmd(), and parser.

Here is the call graph for this function:

const std::string& Args::GetCmd (  )  const [inline]

Definition at line 58 of file Args.h.

References CmdLineParser::GetCmd(), and parser.

Here is the call graph for this function:

const std::string& Args::GetCmd (  )  const [inline]

Definition at line 57 of file Args.h.

References CmdLineParser::GetCmd(), and parser.

Here is the call graph for this function:

const std::string& Args::GetCmd (  )  const [inline]

Definition at line 34 of file Args.h.

References CmdLineParser::GetCmd(), and parser.

Here is the call graph for this function:

const std::string& Args::GetCmd (  )  const [inline]

Definition at line 36 of file Args.h.

References CmdLineParser::GetCmd(), and parser.

Referenced by PrintError(), PrintUsage(), and PrintVersion().

Here is the call graph for this function:

void Args::Parse ( int  argc,
const char *const   argv[] 
)

void Args::Parse ( int  argc,
const char *const   argv[] 
)

void Args::Parse ( int  argc,
const char *const   argv[] 
)

void Args::Parse ( int  argc,
const char *const   argv[] 
)

void Args::Parse ( int  argc,
const char *const   argv[] 
)

void Args::PrintError ( std::ostream &  os,
const std::string msg 
) const

void Args::PrintError ( std::ostream &  os,
const char *  msg 
) const

void Args::PrintError ( std::ostream &  os,
const std::string msg 
) const

void Args::PrintError ( std::ostream &  os,
const char *  msg 
) const

void Args::PrintError ( std::ostream &  os,
const std::string msg 
) const

void Args::PrintError ( std::ostream &  os,
const char *  msg 
) const

void Args::PrintError ( std::ostream &  os,
const std::string msg 
) const

void Args::PrintError ( std::ostream &  os,
const char *  msg 
) const

void Args::PrintError ( std::ostream &  os,
const std::string msg 
) const

Definition at line 117 of file Args.cxx.

References PrintError().

Here is the call graph for this function:

void Args::PrintError ( std::ostream &  os,
const char *  msg 
) const

Definition at line 110 of file Args.cxx.

References GetCmd().

Referenced by Parse(), and PrintError().

Here is the call graph for this function:

void Args::PrintUsage ( std::ostream &  os  )  const

void Args::PrintUsage ( std::ostream &  os  )  const

void Args::PrintUsage ( std::ostream &  os  )  const

void Args::PrintUsage ( std::ostream &  os  )  const

void Args::PrintUsage ( std::ostream &  os  )  const

Definition at line 102 of file Args.cxx.

References GetCmd(), usage_details, and usage_summary.

Referenced by Parse().

Here is the call graph for this function:

void Args::PrintVersion ( std::ostream &  os  )  const

void Args::PrintVersion ( std::ostream &  os  )  const

void Args::PrintVersion ( std::ostream &  os  )  const

void Args::PrintVersion ( std::ostream &  os  )  const

void Args::PrintVersion ( std::ostream &  os  )  const

Definition at line 95 of file Args.cxx.

References GetCmd(), and version_info.

Referenced by Parse().

Here is the call graph for this function:


Member Data Documentation

Definition at line 63 of file Args.h.

Referenced by xaif2whirl::real_main().

Definition at line 40 of file Args.h.

Referenced by Ctor(), Parse(), xaif2whirl::real_main(), and real_main().

Definition at line 38 of file Args.h.

Referenced by real_main().

Definition at line 67 of file Args.h.

Referenced by xaif2whirl::real_main().

Definition at line 62 of file Args.h.

Referenced by xaif2whirl::real_main().

Definition at line 66 of file Args.h.

Referenced by xaif2whirl::real_main(), and real_main().

static CmdLineParser::OptArgDesc Args::optArgs [static, private]

Initial value:

 {
  
  { 'o', "output",   CLP::ARG_REQ , CLP::DUPOPT_ERR,  NULL },
  { 'V', "version",  CLP::ARG_NONE, CLP::DUPOPT_CLOB, NULL },
  { 'h', "help",     CLP::ARG_NONE, CLP::DUPOPT_CLOB, NULL },
  {  0 , "debug",    CLP::ARG_OPT,  CLP::DUPOPT_CLOB, NULL },
  CmdLineParser::OptArgDesc_NULL
}

Definition at line 49 of file Args.h.

Referenced by Parse().

Definition at line 70 of file Args.h.

Referenced by xaif2whirl::DeclareActiveTypes().

const unsigned short Args::ourActiveTypeNmLength = 27 [static]

Definition at line 71 of file Args.h.

Referenced by xaif2whirl::DeclareActiveTypes().

TYPE_ID Args::ourDefaultMTypeInt = MTYPE_I8 [static]

TYPE_ID Args::ourDefaultMTypeReal = MTYPE_F8 [static]

TYPE_ID Args::ourDefaultMTypeUInt = MTYPE_U8 [static]

Definition at line 75 of file Args.h.

Referenced by xaif2whirl::XlateExpression::xlate_SymbolReference().

bool Args::ourDoNotFilterFlag = false [static]

Definition at line 72 of file Args.h.

Referenced by whirl2xaif::Whirl2Xaif::translateIR().

bool Args::ourNoTimeStampFlag = false [static]

Definition at line 75 of file Args.h.

Referenced by whirl2xaif::Whirl2Xaif::translateIR().

bool Args::ourSimpleLoopFlag = false [static]

Definition at line 69 of file Args.h.

Referenced by whirl2xaif::GetLoopReversalType().

bool Args::ourUnstructuredControlFlowFlag = false [static]

Definition at line 81 of file Args.h.

Referenced by whirl2xaif::xlate_PassiveStmt().

bool Args::ourVariedOnlyFlag = false [static]

Definition at line 78 of file Args.h.

Referenced by whirl2xaif::Whirl2Xaif::translateIR().

Definition at line 68 of file Args.h.

Referenced by xaif2whirl::real_main().

Definition at line 50 of file Args.h.

Referenced by Dump(), GetCmd(), and Parse().

Definition at line 37 of file Args.h.

Referenced by real_main().

Definition at line 43 of file Args.h.

Referenced by InitOutputStream(), Parse(), and real_main().

Definition at line 62 of file Args.h.

Referenced by real_main().

Definition at line 72 of file Args.h.

Referenced by xaif2whirl::real_main().

Definition at line 39 of file Args.h.

Referenced by Parse(), and real_main().

Definition at line 61 of file Args.h.

Referenced by FiniOutputStream(), InitOutputStream(), and xaif2whirl::real_main().


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

Generated on Fri Jul 24 05:14:00 2009 for OpenADFortTk (extended to Open64) by  doxygen 1.5.7.1