Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
strtab.h File Reference
#include "symtab_idx.h"
#include <map>
#include "mempool_allocator.h"
Include dependency graph for strtab.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  STRING_TABLE
class  STR_IDX_MAP
struct  STR_IDX_MAP::STR_IDX_compare

Defines

#define Str_To_Index(s, t)   (s)

Functions

void Initialize_Strtab (UINT32 size)
void Initialize_Strtab (const char *buf, UINT32 size)
STR_IDX Save_Str (const char *str)
STR_IDX Save_Str2 (const char *s1, const char *s2)
STR_IDX Save_Str2i (const char *s1, const char *s2, UINT i)
char * Index_To_Str (STR_IDX idx)
UINT32 STR_Table_Size ()
char * Index_To_Str (STR_IDX idx, void *)
UINT32 TCON_strtab_size ()
char * TCON_strtab_buffer ()
void Initialize_TCON_strtab (UINT32 size)
void Initialize_TCON_strtab (const char *buf, UINT32 size)
UINT32 Save_StrN (const char *s1, UINT32 len)
char * Index_to_char_array (UINT32 idx)
void Merge_Strtab (const char *buf, UINT32 size, STR_IDX_MAP &map)
void Merge_TCON_Strtab (const char *buf, UINT32 size, STR_IDX_MAP &map)

Variables

STRING_TABLE Str_Table

Define Documentation

#define Str_To_Index (   s,
 
)    (s)

Definition at line 105 of file strtab.h.

Referenced by WN_CreateAsm_Input(), WN_CreateAsm_Stmt(), and WN_CreateComment().


Function Documentation

char* Index_to_char_array ( UINT32  idx)

Definition at line 514 of file strtab.cxx.

References CHARACTER_ARRAY::get_str(), Is_True, and TCON_strtab.

Referenced by cwh_dst_mk_const(), Em_Targ_Emit_Const(), Hash_TCON(), Host_To_Targ_String(), Targ_Emit_Const(), Targ_Print(), and Targ_String_Address().

Here is the call graph for this function:

char* Index_To_Str ( STR_IDX  idx,
void *   
) [inline]

Definition at line 103 of file strtab.h.

References Index_To_Str().

Here is the call graph for this function:

void Initialize_Strtab ( UINT32  size)

Definition at line 448 of file strtab.cxx.

References initialize_strtab(), and Strtab.

Referenced by Initialize_Symbol_Tables(), and WN_get_strtab().

Here is the call graph for this function:

void Initialize_Strtab ( const char *  buf,
UINT32  size 
)

Definition at line 453 of file strtab.cxx.

References initialize_strtab(), and Strtab.

Here is the call graph for this function:

Definition at line 498 of file strtab.cxx.

References initialize_strtab(), and TCON_strtab.

Referenced by Init_Constab(), and WN_get_global_symtab().

Here is the call graph for this function:

void Initialize_TCON_strtab ( const char *  buf,
UINT32  size 
)

Definition at line 503 of file strtab.cxx.

References initialize_strtab(), and TCON_strtab.

Here is the call graph for this function:

void Merge_Strtab ( const char *  buf,
UINT32  size,
STR_IDX_MAP map 
)

Definition at line 539 of file strtab.cxx.

References merge_strtab(), and Strtab.

Here is the call graph for this function:

void Merge_TCON_Strtab ( const char *  buf,
UINT32  size,
STR_IDX_MAP map 
)

Definition at line 545 of file strtab.cxx.

References merge_strtab(), and TCON_strtab.

Here is the call graph for this function:

STR_IDX Save_Str2i ( const char *  s1,
const char *  s2,
UINT  i 
)

Definition at line 472 of file strtab.cxx.

References len, and Save_Str().

Referenced by Copy_ST_No_Base(), and Gen_Temp_Named_Symbol().

Here is the call graph for this function:

UINT32 Save_StrN ( const char *  s1,
UINT32  len 
)

Definition at line 508 of file strtab.cxx.

References TCON_strtab.

Referenced by Host_To_Targ_String().

char* TCON_strtab_buffer ( )

Definition at line 493 of file strtab.cxx.

References TCON_strtab.

Referenced by ir_b_write_global_symtab().

Definition at line 489 of file strtab.cxx.

References TCON_strtab.

Referenced by ir_b_write_global_symtab().


Variable Documentation

Definition at line 439 of file strtab.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines