All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
command_line_parsing.h File Reference
#include <vector>
#include <string>
Include dependency graph for command_line_parsing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  risc::tools::ParseStatus
 This class stores the command-line options. More...
 

Namespaces

 risc
 
 risc::tools
 

Functions

std::vector< std::string > risc::tools::preparsing_commandline_arguments (int &argc, char **&argv, std::vector< std::string > &input_files)
 This function takes the parameter of the command line and creates a source file which includes all the source files. Afterwards all source files are replaced with new file in the command parameters. Example. More...
 
std::string risc::tools::instrumentor_output_filename (int &argc, char **&argv)
 This function searches for the command line arguments for the dynamic analysis, namely, -inst:dir_output_filename <filename>. ONLY FOR INTERNAL USE! MODIFIES THE COMMAND LINE PARAMETERS. More...
 
std::string risc::tools::dynamic_analysis_input_filename (int &argc, char **&argv)
 This function searches for the command line arguments for the dynamic analysis, namely, -risc:elab <filename>. ONLY FOR INTERNAL USE! MODIFIES THE COMMAND LINE PARAMETERS. More...
 
void risc::tools::ParseCommandlineOptions (int &argc, char **&argv, ParseStatus *status)
 Parse command-line options that are related to RISC library. More...
 
void risc::tools::AddCommandlineOption (int &argc, char **&argv, std::string option)
 Add a new command-line option to argc & argv. More...
 
void risc::tools::AddCommandlineOption (risc::Design &design, std::string option)
 Add a new command-line option to the command-line argument list in SgProject. More...
 
void risc::tools::RemoveCommandlineOption (risc::Design &design, std::string option)
 Remove a command-line option from the command-line argument list in SgProject. More...