Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
whirl2f.cxx File Reference
#include <unistd.h>
#include <elf.h>
#include "whirl2f_common.h"
#include "glob.h"
#include "flags.h"
#include "pu_info.h"
#include "err_host.tab"
#include "w2f_driver.h"
#include "file_util.h"
#include "ir_bread.h"
Include dependency graph for whirl2f.cxx:

Go to the source code of this file.

Defines

#define FTN_FILE_EXTENSION   ".f" /* Fortran file */
#define IRB_FILE_EXTENSION   ".B" /* WHIRL file */
#define MAX_FNAME_LENGTH   256-7 /* allow for suffix ".W2F.c\0" */

Functions

static void Usage (char *progname)
static void Process_Common_Options (INT argc, char *argv[], char *envp[])
void Local_Terminate (void)
static INT32 Get_Irb_File_Name (INT argc, char *argv[])
INT main (INT argc, char *argv[], char *envp[])

Variables

static char * source_file = __FILE__

Define Documentation

#define FTN_FILE_EXTENSION   ".f" /* Fortran file */

Definition at line 98 of file whirl2f.cxx.

#define IRB_FILE_EXTENSION   ".B" /* WHIRL file */

Definition at line 99 of file whirl2f.cxx.

#define MAX_FNAME_LENGTH   256-7 /* allow for suffix ".W2F.c\0" */

Function Documentation

static INT32 Get_Irb_File_Name ( INT  argc,
char *  argv[] 
) [static]

Definition at line 233 of file whirl2f.cxx.

References fprintf(), Irb_File_Name, MAX_FNAME_LENGTH, and strcpy.

Referenced by main().

Here is the call graph for this function:

void Local_Terminate ( void  )

Definition at line 213 of file whirl2f.cxx.

References W2F_Fini().

Here is the call graph for this function:

static void Process_Common_Options ( INT  argc,
char *  argv[],
char *  envp[] 
) [static]

Definition at line 183 of file whirl2f.cxx.

References Common_Option_Groups, NULL, and Process_Command_Line_Group().

Referenced by main().

Here is the call graph for this function:

static void Usage ( char *  progname) [static]

Definition at line 113 of file whirl2f.cxx.

References fprintf().

Referenced by main().

Here is the call graph for this function:


Variable Documentation

char* source_file = __FILE__ [static]

Definition at line 74 of file whirl2f.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines