PandA-2024.02
Functions
tree-panda-gcc.cpp File Reference

panda working as cross compiler targeting tree nodes... More...

#include "config_RELEASE.hpp"
#include "Parameter.hpp"
#include "compiler_wrapper.hpp"
#include "cost_latency_table.hpp"
#include "cpu_time.hpp"
#include "exceptions.hpp"
#include "fileIO.hpp"
#include "parse_tree.hpp"
#include "tree-panda-gcc-Parameter.hpp"
#include "tree_manager.hpp"
#include "utility.hpp"
#include <csignal>
#include <cstdlib>
#include <filesystem>
#include <fstream>
#include <getopt.h>
#include <iosfwd>
#include <string>
Include dependency graph for tree-panda-gcc.cpp:

Go to the source code of this file.

Functions

static char * alloc_long_option (char *argv[], int &i, int &dec)
 
static char ** alloc_argv (int &argc, char *argv[])
 
static void dealloc_argv (int argc, char *argv_copied[])
 
static void close_everything (int argc, char *argv[], const ParameterRef &Param)
 
int main (int argc, char *argv_orig[])
 Main file used to perform Hardware/Software Codesign starting from C/C++/SystemC specification. More...
 

Detailed Description

panda working as cross compiler targeting tree nodes...

Author
Fabrizio Ferrandi fabri.nosp@m.zio..nosp@m.ferra.nosp@m.ndi@.nosp@m.polim.nosp@m.i.it $Revision$ $Date$ Last modified by $Author$

Definition in file tree-panda-gcc.cpp.

Function Documentation

◆ alloc_argv()

static char** alloc_argv ( int &  argc,
char *  argv[] 
)
static

Definition at line 79 of file tree-panda-gcc.cpp.

References alloc_long_option().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ alloc_long_option()

static char* alloc_long_option ( char *  argv[],
int &  i,
int &  dec 
)
static

Definition at line 65 of file tree-panda-gcc.cpp.

Referenced by alloc_argv().

Here is the caller graph for this function:

◆ close_everything()

static void close_everything ( int  argc,
char *  argv[],
const ParameterRef Param 
)
static

Definition at line 120 of file tree-panda-gcc.cpp.

References dealloc_argv().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dealloc_argv()

static void dealloc_argv ( int  argc,
char *  argv_copied[] 
)
static

Definition at line 111 of file tree-panda-gcc.cpp.

Referenced by close_everything().

Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *  argv_orig[] 
)

Main file used to perform Hardware/Software Codesign starting from C/C++/SystemC specification.

Parameters
argcan integer value
argvan array of char pointer
Returns
The main ending status

GCC wrapper to create the raw

creating the tree manager from the data structure

Definition at line 134 of file tree-panda-gcc.cpp.

References alloc_argv(), close_everything(), test_panda::command, DEBUG_LEVEL_MINIMUM, DEBUG_LEVEL_NONE, DEBUG_LEVEL_VERBOSE, DEBUG_LEVEL_VERY_PEDANTIC, dump_exec_time(), exit_code, fileIO_ostream_open(), GetPath(), IsError(), OUTPUT_LEVEL_MINIMUM, PandaSystem(), PARAMETER_NOTPARSED, PARAMETER_PARSED, ParseTreeFile(), PRINT_DBG_MEX, START_TIME, STOP_TIME, str, STR_cost_latency_table_default, THROW_ERROR, and unique_path().

Here is the call graph for this function:

Generated on Mon Feb 12 2024 13:03:33 for PandA-2024.02 by doxygen 1.8.13