#include <elf.h>#include <errno.h>#include <sys/stat.h>#include <sys/elf_whirl.h>#include <libgen.h>#include <algorithm>#include "defs.h"#include "pu_info.h"#include "opcode.h"#include "wn.h"#include "ir_bread.h"#include "err_host.tab"

Go to the source code of this file.
Functions/Subroutines | |
| BOOL | file_exists (char *path) |
| static void | size_of_each_pu (PU_Info *pu_tree, BOOL verbose) |
| static void | print_size (const char *name, INT size) |
| static void | ir_size (char *input_file, BOOL verbose) |
| static void | usage (char *progname) |
| main (INT argc, char *argv[]) | |
| void | Signal_Cleanup (INT sig) |
| const char * | Host_Format_Parm (INT kind, MEM_PTR parm) |
Variables | |
| static void * | handle |
| static INT | sym_size = 0 |
| static INT | wn_size = 0 |
| static INT | dg_size = 0 |
| static INT | pref_size = 0 |
| static INT | fb_size = 0 |
| INT8 | Debug_Level = 0 |
| BOOL file_exists | ( | char * | path | ) |
Definition at line 116 of file ir_size.cxx.
References dg_size, EC_IR_Scn_Read, ErrMsg(), fb_size, Free_Input_Info(), Get_Elf_Section_Size(), handle, INT, NULL, Open_Input_Info(), pref_size, print_size(), printf(), SHT_MIPS_WHIRL, size_of_each_pu(), Sizeof_PU_Infos(), sym_size, WN_get_PU_Infos(), wn_size, WT_CONSTAB, WT_DST, WT_GLOBALS, WT_IPA_SUMMARY, and WT_STRTAB.
Referenced by main().
| main | ( | INT argc | , | |
| char * | argv[] | |||
| ) |
Definition at line 170 of file ir_size.cxx.
References basename, BOOL, ERROR_LINE_UNKNOWN, exit(), FALSE, file_exists(), host_errlist, Init_Error_Handler(), INT, ir_size(), MEM_Initialize(), NULL, Phases, progname, Set_Error_File(), Set_Error_Line(), Set_Error_Tables(), strcmp(), strrchr(), TRUE, usage(), and verbose.
Definition at line 222 of file ir_size.cxx.
Definition at line 80 of file ir_size.cxx.
References dg_size, fb_size, i, INT, NULL, pref_size, printf(), pu, PU_Info_child, PU_Info_next, PU_Info_subsect_size, sym_size, wn_size, WT_DEPGRAPH, WT_FEEDBACK, WT_PREFETCH, WT_SYMTAB, and WT_TREE.
Referenced by ir_size().
| static void usage | ( | char * | progname | ) | [static] |
| INT8 Debug_Level = 0 |
Definition at line 226 of file ir_size.cxx.
Definition at line 59 of file ir_size.cxx.
Referenced by _bfd_ecoff_bfd_final_link(), bfd_fill_in_gnu_debuglink_section(), Cg_Dwarf_Symtab_Entry(), Dump_Fb_Data(), Get_CG_PU_Profile(), Get_CG_PU_Value_Profile(), Get_PU_Profile(), Inliner(), ir_put_wn(), ir_size(), java_new_lexer(), WN_INSTRUMENT_WALKER::Merge_Icall_Feedback(), and Read_isr_cg().
Definition at line 73 of file ir_size.cxx.
Referenced by IPA_process_globals(), ir_b_write_tree(), ir_size(), print_relocinfo_32(), print_relocinfo_64(), and size_of_each_pu().
Definition at line 74 of file ir_size.cxx.
Referenced by Affinity_Array_Upper_Bound(), Create_Array_Load(), Create_Array_Store(), fei_control_list(), ir_size(), Max_Arg_Area_Bytes(), and size_of_each_pu().
1.5.6