|
OpenADFortTk (basic)
|
#include <Args.h>

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::string & | GetCmd () 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::string & | GetCmd () 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::string & | GetCmd () 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::string & | GetCmd () 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::string & | GetCmd () const |
Public Attributes | |
| std::string | whirlFileNm |
| int | debug |
| std::string | sexpFileNm |
| int | runMode |
| bool | dumpIR |
| bool | myNoCleanUpFlag |
| std::string | xaifFileNm |
| std::string | tmpVarPrefix |
| 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 | ourUniformCBactFlag = false |
| static bool | ourAllActiveFlag = 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 [] |
| 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 | ( | ) |
| Args::Args | ( | ) |
| Args::Args | ( | int | argc, |
| const char *const | argv[] | ||
| ) |
| Args::~Args | ( | ) |
| void Args::Ctor | ( | ) | [private] |
| void Args::Ctor | ( | ) | [private] |
| void Args::Ctor | ( | ) | [private] |
| void Args::Ctor | ( | ) | [private] |
| void Args::DDump | ( | ) | const |
| void Args::DDump | ( | ) | const |
| void Args::DDump | ( | ) | const |
| void Args::DDump | ( | ) | const |
| void Args::DDump | ( | ) | const |
| void Args::Dump | ( | std::ostream & | os = std::cerr | ) | const |
| void Args::Dump | ( | std::ostream & | os = std::cerr | ) | const |
Definition at line 159 of file Args.cxx.
References CmdLineParser::Dump(), and parser.
Referenced by DDump().

| 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 |
| const std::string& Args::GetCmd | ( | ) | const [inline] |
Definition at line 34 of file Args.h.
References CmdLineParser::GetCmd(), and parser.

| 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().

| const std::string& Args::GetCmd | ( | ) | const [inline] |
Definition at line 39 of file Args.h.
References CmdLineParser::GetCmd(), and parser.

| const std::string& Args::GetCmd | ( | ) | const [inline] |
Definition at line 40 of file Args.h.
References CmdLineParser::GetCmd(), and parser.

| const std::string& Args::GetCmd | ( | ) | const [inline] |
Definition at line 41 of file Args.h.
References CmdLineParser::GetCmd(), and parser.

| void Args::Parse | ( | int | argc, |
| const char *const | argv[] | ||
| ) |
| void Args::Parse | ( | int | argc, |
| const char *const | argv[] | ||
| ) |
Definition at line 102 of file Args.cxx.
References debug, CmdLineParser::GetArg(), CmdLineParser::Exception::GetMessage(), CmdLineParser::GetNumArgs(), CmdLineParser::GetOptArg(), CmdLineParser::IsOpt(), CmdLineParser::IsOptArg(), optArgs, CmdLineParser::Parse(), parser, PrintError(), PrintUsage(), PrintVersion(), sexpFileNm, CmdLineParser::ToLong(), and whirlFileNm.
Referenced by Args().

| 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 char * | msg | ||
| ) | const |
| void Args::PrintError | ( | std::ostream & | os, |
| const std::string & | msg | ||
| ) | const |
| void Args::PrintError | ( | std::ostream & | os, |
| const char * | msg | ||
| ) | const |
Definition at line 88 of file Args.cxx.
References GetCmd().
Referenced by Parse(), and PrintError().

| void Args::PrintError | ( | std::ostream & | os, |
| const std::string & | msg | ||
| ) | const |
Definition at line 95 of file Args.cxx.
References PrintError().

| void Args::PrintError | ( | std::ostream & | os, |
| const char * | 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 std::string & | msg | ||
| ) | const |
| void Args::PrintUsage | ( | std::ostream & | os | ) | const |
| void Args::PrintUsage | ( | std::ostream & | os | ) | const |
Definition at line 80 of file Args.cxx.
References GetCmd(), usage_details, and usage_summary.
Referenced by Parse().

| void Args::PrintUsage | ( | std::ostream & | os | ) | const |
| void Args::PrintUsage | ( | std::ostream & | os | ) | const |
| void Args::PrintUsage | ( | std::ostream & | os | ) | const |
| void Args::PrintVersion | ( | std::ostream & | os | ) | const |
| void Args::PrintVersion | ( | std::ostream & | os | ) | const |
Definition at line 73 of file Args.cxx.
References GetCmd(), and version_info.
Referenced by Parse().

| void Args::PrintVersion | ( | std::ostream & | os | ) | const |
| void Args::PrintVersion | ( | std::ostream & | os | ) | const |
| void Args::PrintVersion | ( | std::ostream & | os | ) | const |
Definition at line 44 of file Args.h.
Referenced by xaif2whirl::real_main().
| int Args::debug |
Definition at line 40 of file Args.h.
Referenced by Ctor(), Parse(), real_main(), and xaif2whirl::real_main().
| bool Args::dumpIR |
Definition at line 38 of file Args.h.
Referenced by real_main().
| std::string Args::inWhirlFileNm |
Definition at line 48 of file Args.h.
Referenced by xaif2whirl::real_main().
Definition at line 48 of file Args.h.
Referenced by real_main(), and xaif2whirl::real_main().
static CmdLineParser::OptArgDesc Args::optArgs [static, private] |
{
{ '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().
std::string Args::ourActiveTypeNm [static] |
Definition at line 51 of file Args.h.
Referenced by xaif2whirl::DeclareActiveTypes().
const unsigned short Args::ourActiveTypeNmLength = 27 [static] |
Definition at line 52 of file Args.h.
Referenced by xaif2whirl::DeclareActiveTypes().
bool Args::ourAllActiveFlag = false [static] |
Definition at line 66 of file Args.h.
Referenced by whirl2xaif::xlate_STDecl_VAR().
TYPE_ID Args::ourDefaultMTypeInt = MTYPE_I8 [static] |
Definition at line 55 of file Args.h.
Referenced by xaif2whirl::XlateExpression::translateConstant(), xaif2whirl::XAIFTyToWHIRLTy(), and xaif2whirl::XlateExpression::xlate_SymbolReference().
TYPE_ID Args::ourDefaultMTypeReal = MTYPE_F8 [static] |
Definition at line 57 of file Args.h.
Referenced by xaif2whirl::XlateExpression::translateConstant(), and xaif2whirl::XAIFTyToWHIRLTy().
TYPE_ID Args::ourDefaultMTypeUInt = MTYPE_U8 [static] |
Definition at line 56 of file Args.h.
Referenced by xaif2whirl::XlateExpression::xlate_SymbolReference().
bool Args::ourDoNotFilterFlag = false [static] |
Definition at line 54 of file Args.h.
Referenced by whirl2xaif::Whirl2Xaif::translateIR().
bool Args::ourNoTimeStampFlag = false [static] |
Definition at line 57 of file Args.h.
Referenced by whirl2xaif::Whirl2Xaif::translateIR().
bool Args::ourSimpleLoopFlag = false [static] |
Definition at line 51 of file Args.h.
Referenced by whirl2xaif::GetLoopReversalType().
bool Args::ourUniformCBactFlag = false [static] |
Definition at line 63 of file Args.h.
Referenced by whirl2xaif::xlate_STDecl_VAR().
bool Args::ourVariedOnlyFlag = false [static] |
Definition at line 60 of file Args.h.
Referenced by whirl2xaif::Whirl2Xaif::translateIR().
| std::string Args::outWhirlFileNm |
Definition at line 49 of file Args.h.
Referenced by xaif2whirl::real_main().
CmdLineParser Args::parser [private] |
| int Args::runMode |
Definition at line 37 of file Args.h.
Referenced by real_main().
| std::string Args::sexpFileNm |
Definition at line 43 of file Args.h.
Referenced by InitOutputStream(), Parse(), and real_main().
| std::string Args::tmpVarPrefix |
Definition at line 44 of file Args.h.
Referenced by real_main().
| bool Args::validate |
Definition at line 53 of file Args.h.
Referenced by xaif2whirl::real_main().
| std::string Args::whirlFileNm |
Definition at line 39 of file Args.h.
Referenced by Parse(), and real_main().
| std::string Args::xaifFileNm |
Definition at line 43 of file Args.h.
Referenced by FiniOutputStream(), InitOutputStream(), and xaif2whirl::real_main().