Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <elf.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <search.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include "wn.h"
#include "stab.h"
#include "aux_stab.h"
#include "irbdata.h"
#include "wintrinsic.h"
#include "glob.h"
#include "pu_info.h"
#include "ir_bread.h"
#include "ir_bwrite.h"
#include "file_util.h"
#include "gdar.h"
Go to the source code of this file.
Defines | |
#define | MAX_FNAME_LENGTH 256 |
Functions | |
static void | Usage (void) |
static INT32 | Get_Irb_File_Name (INT argc, char *argv[]) |
static void | read_pu (PU_Info *pu_tree) |
static void | write_pu (PU_Info *pu_tree) |
void | main (INT argc, char *argv[], char *envp[]) |
void | Signal_Cleanup (INT sig) |
char * | Host_Format_Parm (INT kind, MEM_PTR parm) |
Variables | |
char | filename_in [MAX_FNAME_LENGTH] |
char | filename_out [MAX_FNAME_LENGTH] |
char | gdar_filename [MAX_FNAME_LENGTH] |
char | temp_filename [MAX_FNAME_LENGTH+16] |
char * | GDAR_File_Name = NULL |
char * | Irb_File_Name_out = NULL |
struct stat | statbuf |
BOOL | gflag = FALSE |
BOOL | oflag = FALSE |
BOOL | vflag = FALSE |
INT8 | Debug_Level = 0 |
#define MAX_FNAME_LENGTH 256 |
Definition at line 90 of file ir_gdar.c.
Referenced by Get_Irb_File_Name().
static INT32 Get_Irb_File_Name | ( | INT | argc, |
char * | argv[] | ||
) | [static] |
Definition at line 148 of file ir_gdar.c.
References filename_in, filename_out, fprintf(), GDAR_File_Name, gdar_filename, gflag, Irb_File_Name, Irb_File_Name_out, MAX_FNAME_LENGTH, oflag, strcpy, TRUE, and vflag.
Referenced by main().
char* Host_Format_Parm | ( | INT | kind, |
MEM_PTR | parm | ||
) |
Definition at line 279 of file ir_gdar.c.
References Close_Output_Info(), ERROR_LINE_UNKNOWN, exit(), filename_in, filename_out, fprintf(), GDAR_File_Name, Get_Irb_File_Name(), getpid, gflag, Init_Error_Handler(), Init_Operator_To_Opcode_Table(), Irb_File_Name, MEM_Initialize(), NULL, oflag, Open_Input_Info(), Open_Output_Info(), Read_Global_Info(), read_pu(), Set_Error_File(), Set_Error_Line(), Set_Error_Phase(), stat, statbuf, strcpy, temp_filename, Usage(), Write_Global_Info(), and write_pu().
Definition at line 233 of file ir_gdar.c.
References Current_PU_Info, MEM_pu_nz_pool_ptr, NULL, PU_Info_child, PU_Info_next, and Read_Local_Info().
Referenced by main().
void Signal_Cleanup | ( | INT | sig | ) |
static void Usage | ( | void | ) | [static] |
Definition at line 258 of file ir_gdar.c.
References Current_PU_Info, NULL, PU_Info_next, and Write_PU_Info().
Referenced by main().
INT8 Debug_Level = 0 |
char filename_in[MAX_FNAME_LENGTH] |
Definition at line 92 of file ir_gdar.c.
Referenced by Get_Irb_File_Name(), and main().
char filename_out[MAX_FNAME_LENGTH] |
Definition at line 93 of file ir_gdar.c.
Referenced by Get_Irb_File_Name(), and main().
char* GDAR_File_Name = NULL |
Definition at line 97 of file ir_gdar.c.
Referenced by Get_Irb_File_Name(), and main().
Definition at line 94 of file ir_gdar.c.
Referenced by Get_Irb_File_Name().
Definition at line 102 of file ir_gdar.c.
Referenced by Get_Irb_File_Name(), and main().
char* Irb_File_Name_out = NULL |
Definition at line 98 of file ir_gdar.c.
Referenced by Get_Irb_File_Name().
Definition at line 103 of file ir_gdar.c.
Referenced by Get_Irb_File_Name(), and main().
char temp_filename[MAX_FNAME_LENGTH+16] |
Definition at line 104 of file ir_gdar.c.
Referenced by Get_Irb_File_Name(), process_func(), process_pu(), process_stab(), and process_wn().