#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::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 [] |
Definition at line 13 of file Args.h.
| Args::Args | ( | ) |
| Args::Args | ( | int | argc, | |
| const char *const | argv[] | |||
| ) |
| 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 |
| 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().

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

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

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

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

| 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[] | |||
| ) |
Definition at line 124 of file Args.cxx.
References debug, CmdLineParser::GetArg(), CmdLineParser::Exception::GetMessage(), CmdLineParser::GetNumArgs(), CmdLineParser::GetOptArg(), CmdLineParser::IsOpt(), CmdLineParser::IsOptArg(), New_Extension(), optArgs, CmdLineParser::Parse(), parser, PrintError(), PrintUsage(), PrintVersion(), sexpFileNm, CmdLineParser::ToLong(), and whirlFileNm.
Referenced by Args().

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

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

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

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

| int Args::debug |
Definition at line 40 of file Args.h.
Referenced by Ctor(), Parse(), xaif2whirl::real_main(), and real_main().
| bool Args::dumpIR |
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().
std::string Args::ourActiveTypeNm [static] |
const unsigned short Args::ourActiveTypeNmLength = 27 [static] |
TYPE_ID Args::ourDefaultMTypeInt = MTYPE_I8 [static] |
Definition at line 74 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 76 of file Args.h.
Referenced by xaif2whirl::XlateExpression::translateConstant(), and xaif2whirl::XAIFTyToWHIRLTy().
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] |
bool Args::ourNoTimeStampFlag = false [static] |
bool Args::ourSimpleLoopFlag = false [static] |
bool Args::ourUnstructuredControlFlowFlag = false [static] |
bool Args::ourVariedOnlyFlag = false [static] |
CmdLineParser Args::parser [private] |
| int Args::runMode |
| bool Args::validate |
Definition at line 61 of file Args.h.
Referenced by FiniOutputStream(), InitOutputStream(), and xaif2whirl::real_main().
1.5.7.1