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

Go to the source code of this file.

Defines

#define C_FILE_EXTENSION   ".c" /* C file */
#define IRB_FILE_EXTENSION   ".B" /* WHIRL file */
#define MAX_FNAME_LENGTH   256-7 /* allow for suffix ".w2c.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[])

Define Documentation

#define C_FILE_EXTENSION   ".c" /* C file */

Definition at line 99 of file whirl2c.c.

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

Definition at line 100 of file whirl2c.c.

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

Function Documentation

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

Definition at line 230 of file whirl2c.c.

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 210 of file whirl2c.c.

References W2C_Fini().

Referenced by main().

Here is the call graph for this function:

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

Definition at line 180 of file whirl2c.c.

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 114 of file whirl2c.c.

References fprintf().

Referenced by main().

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines