Functions

st2c.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ST2C_initialize (CONTEXT context)
void ST2C_finalize (void)
void ST2C_decl_translate (TOKEN_BUFFER tokens, const ST *st, CONTEXT context)
void ST2C_weakext_translate (TOKEN_BUFFER tokens, const ST *st, CONTEXT context)
void ST2C_use_translate (TOKEN_BUFFER tokens, const ST *st, CONTEXT context)
void ST2C_Use_Preg (TOKEN_BUFFER tokens, TY_IDX preg_ty, PREG_IDX preg_idx, CONTEXT context)
void ST2C_func_header (TOKEN_BUFFER tokens, const ST *st, ST **params, CONTEXT context)
void ST2C_Declare_Tempvar (TY_IDX ty, UINT idx)
void ST2C_New_Common_Block (const ST *st)
void ST2C_Define_Common_Blocks (TOKEN_BUFFER tokens, CONTEXT context)

Function Documentation

void ST2C_decl_translate ( TOKEN_BUFFER  tokens,
const ST st,
CONTEXT  context 
)
void ST2C_Declare_Tempvar ( TY_IDX  ty,
UINT  idx 
)
void ST2C_Define_Common_Blocks ( TOKEN_BUFFER  tokens,
CONTEXT  context 
)

Definition at line 977 of file st2c.cxx.

References Append_Indented_Newline(), COMMON_BLOCK_next, and ST2C_Define_A_Common_Block().

Referenced by W2C_Outfile_Fini().

Here is the call graph for this function:

void ST2C_finalize ( void   ) 

Definition at line 719 of file st2c.cxx.

References COMMON_BLOCK_name, COMMON_BLOCK_next, FREE, NULL, and TY2C_LIST_BLOCK_next.

Referenced by W2C_Fini().

void ST2C_func_header ( TOKEN_BUFFER  tokens,
const ST st,
ST **  params,
CONTEXT  context 
)
void ST2C_initialize ( CONTEXT  context  ) 

Definition at line 712 of file st2c.cxx.

Referenced by W2C_Init().

void ST2C_New_Common_Block ( const ST st  ) 
void ST2C_Use_Preg ( TOKEN_BUFFER  tokens,
TY_IDX  preg_ty,
PREG_IDX  preg_idx,
CONTEXT  context 
)
void ST2C_use_translate ( TOKEN_BUFFER  tokens,
const ST st,
CONTEXT  context 
)

Definition at line 786 of file st2c.cxx.

References ST2C_Use_Handle, and ST_sym_class().

Referenced by INITV2C_symoff(), ST2C_weakext_translate(), WN2C_call(), WN2C_Callsite_Directives(), WN2C_func_entry(), WN2C_lvalue_st(), and WN2C_process_pragma().

Here is the call graph for this function:

void ST2C_weakext_translate ( TOKEN_BUFFER  tokens,
const ST st,
CONTEXT  context 
)