Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
anl_driver.cxx File Reference
#include <time.h>
#include "anl_common.h"
#include "stamp.h"
#include "config_promp.h"
#include "w2c_driver.h"
#include "w2f_driver.h"
#include "anl_file_mngr.h"
#include "w2cf_translator.h"
#include "anl_func_entry.h"
#include "anl_driver.h"
#include "wb_anl.h"
#include "prompf.h"
Include dependency graph for anl_driver.cxx:

Go to the source code of this file.

Defines

#define USE_C_TRANSFORMED_SRC()
#define USE_F77_TRANSFORMED_SRC()   (Language == LANG_F77 || Language == LANG_F90)

Functions

static void Anl_Help_Page (void)
static void Anl_Validate_Options (ANL_DIAGNOSTICS *diag)
static void Derive_Anl_Filename (void)
void Anl_Process_Command_Line (INT phase_argc, char *phase_argv[], INT argc, char *argv[])
BOOL Anl_Needs_Whirl2c ()
BOOL Anl_Needs_Whirl2f ()
void Anl_Init ()
WN_MAP Anl_Init_Map (MEM_POOL *id_map_pool)
void Anl_Static_Analysis (WN *pu, WN_MAP id_map)
INT64 Get_Next_Construct_Id ()
INT64 New_Construct_Id ()
const char * Anl_File_Path ()
void Anl_Fini ()
void Anl_Cleanup ()

Variables

const char * Fe_Version
MEM_POOL Anl_Default_Pool
WN_MAP Parent_Map
ANL_DIAGNOSTICSAnl_Diag
static ANL_FILE_MNGRAnl_File_Mngr
static COUNTER Next_Construct_Id (1)
static BOOL Pool_Initialized = FALSE
BOOL Anl_Owhile = FALSE
static BOOL Anl_Enabled = TRUE
static BOOL Anl_Verbose = FALSE
static const char * Anl_Filename = NULL
static const char * Anl_OrignSrc_Filename = NULL
static const char * Anl_Version = NULL
static char * Anl_Progname = NULL

Define Documentation

#define USE_C_TRANSFORMED_SRC ( )
Value:

Definition at line 68 of file anl_driver.cxx.

Referenced by Anl_Init(), Anl_Needs_Whirl2c(), Anl_Needs_Whirl2f(), and Anl_Static_Analysis().

Definition at line 71 of file anl_driver.cxx.


Function Documentation

void Anl_Cleanup ( void  )

Definition at line 471 of file anl_driver.cxx.

References ANL_FILE_MNGR::Close_File(), ANL_FILE_MNGR::File_Is_Open(), and NULL.

Referenced by Cleanup_Files().

Here is the call graph for this function:

const char* Anl_File_Path ( void  )

Definition at line 428 of file anl_driver.cxx.

References Anl_Filename.

static void Anl_Help_Page ( void  ) [static]

Definition at line 104 of file anl_driver.cxx.

References fprintf().

Referenced by Anl_Validate_Options().

Here is the call graph for this function:

WN_MAP Anl_Init_Map ( MEM_POOL id_map_pool)

Definition at line 331 of file anl_driver.cxx.

References WN_MAP32_Create.

Referenced by Preprocess_PU().

void Anl_Process_Command_Line ( INT  phase_argc,
char *  phase_argv[],
INT  argc,
char *  argv[] 
)
static void Anl_Validate_Options ( ANL_DIAGNOSTICS diag) [static]

Definition at line 126 of file anl_driver.cxx.

References Anl_Enabled, Anl_Help_Page(), Anl_OrignSrc_Filename, ANL_DIAGNOSTICS::Error(), FALSE, NULL, and Src_File_Name.

Referenced by Anl_Init().

Here is the call graph for this function:

static void Derive_Anl_Filename ( void  ) [static]

Definition at line 157 of file anl_driver.cxx.

References Anl_Filename, Anl_OrignSrc_Filename, Last_Pathname_Component(), New_Extension(), and NULL.

Referenced by Anl_Init().

Here is the call graph for this function:

Definition at line 414 of file anl_driver.cxx.

References Next_Construct_Id, and COUNTER::Value().

Here is the call graph for this function:

INT64 New_Construct_Id ( void  )

Definition at line 421 of file anl_driver.cxx.

References Next_Construct_Id, and COUNTER::Post_Incr().

Referenced by Prompf_Assign_Ids_Traverse().

Here is the call graph for this function:


Variable Documentation

Definition at line 81 of file anl_driver.cxx.

Definition at line 83 of file anl_driver.cxx.

Definition at line 88 of file anl_driver.cxx.

char* Anl_Progname = NULL [static]

Definition at line 100 of file anl_driver.cxx.

Referenced by Anl_Process_Command_Line().

BOOL Anl_Verbose = FALSE [static]

Definition at line 96 of file anl_driver.cxx.

Referenced by Anl_Fini(), and Anl_Process_Command_Line().

const char* Anl_Version = NULL [static]

Definition at line 99 of file anl_driver.cxx.

Referenced by Anl_Fini().

Definition at line 97 of file glob.cxx.

Referenced by Anl_Init().

Definition at line 82 of file anl_driver.cxx.

Referenced by Anl_Static_Analysis().

Definition at line 90 of file anl_driver.cxx.

Referenced by Anl_Fini(), and Anl_Init().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines