Classes | Typedefs | Functions | Variables

ty2c.h File Reference

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

Go to the source code of this file.

Classes

struct  TY2C_Fld_Info

Typedefs

typedef struct TY2C_Fld_Info TY2C_FLD_INFO

Functions

void TY2C_initialize (CONTEXT context)
void TY2C_finalize (void)
void TY2C_translate (TOKEN_BUFFER decl_tokens, TY_IDX ty, CONTEXT context)
void TY2C_translate_unqualified (TOKEN_BUFFER decl_tokens, TY_IDX ty)
TY2C_FLD_INFO TY2C_get_field_info (TY_IDX struct_ty, TY_IDX field_ty, MTYPE field_mty, INT64 offset)
BOOL TY2C_builtin (TY_IDX ty)

Variables

const char * TY2C_Complex_Realpart_Name
const char * TY2C_Complex_Imagpart_Name

Typedef Documentation

typedef struct TY2C_Fld_Info TY2C_FLD_INFO

Function Documentation

BOOL TY2C_builtin ( TY_IDX  ty  ) 

Definition at line 1176 of file ty2c.cxx.

References GET_SPECIAL_TYPENAME, KIND_INVALID, MTYPE_PREDEF, MTYPE_UNKNOWN, name, NULL, Scalar_C_Names, TY_kind(), and TY_mtype().

Referenced by Unparse_Target_C::Builtin_Type().

Here is the call graph for this function:

void TY2C_finalize ( void   ) 

Definition at line 974 of file ty2c.cxx.

Referenced by W2C_Fini().

TY2C_FLD_INFO TY2C_get_field_info ( TY_IDX  struct_ty,
TY_IDX  field_ty,
MTYPE  field_mty,
INT64  offset 
)
void TY2C_initialize ( CONTEXT  context  ) 

Definition at line 960 of file ty2c.cxx.

References Be_Type_Tbl, MTYPE_C4, MTYPE_C8, MTYPE_CQ, MTYPE_STRING, and Set_TY_is_translated_to_c().

Referenced by W2C_Init().

Here is the call graph for this function:

void TY2C_translate ( TOKEN_BUFFER  decl_tokens,
TY_IDX  ty,
CONTEXT  context 
)
void TY2C_translate_unqualified ( TOKEN_BUFFER  decl_tokens,
TY_IDX  ty 
)

Variable Documentation

Definition at line 178 of file ty2c.cxx.

Referenced by WN2C_Assign_Complex_Const(), WN2C_complex(), and WN2C_imagpart().

Definition at line 177 of file ty2c.cxx.

Referenced by WN2C_Assign_Complex_Const(), WN2C_complex(), and WN2C_realpart().