#include <values.h>#include <sys/types.h>#include <elf.h>#include "defs.h"#include "errors.h"#include "gnu_config.h"#include "gnu/flags.h"#include "gnu/system.h"#include "gnu/toplev.h"#include "gnu/tree.h"#include "cp-tree.h"#include "c-pragma.h"#include "glob.h"#include "wn.h"#include "wn_util.h"#include "symtab.h"#include "const.h"#include "pu_info.h"#include "ir_bwrite.h"#include "ir_reader.h"#include "wfe_decl.h"#include "wfe_misc.h"#include "wfe_dst.h"#include "tree_symtab.h"#include "wfe_expr.h"#include "wfe_stmt.h"#include "tree_cmp.h"#include "targ_sim.h"

Go to the source code of this file.
| static void Add_Bitfield_Initv_For_Tree | ( | tree | val, | |
| FLD_HANDLE | fld, | |||
| INT & | bytes | |||
| ) | [static] |
Definition at line 2212 of file wfe_decl.cxx.
References FLD_bofst, FLD_bsize, FLD_ofst, FmtAssert, Get_Integer_Value(), i, INITV_Init_Integer(), INITV_kind(), INITV_tc_val(), INITVKIND_ONE, INITVKIND_VAL, INITVKIND_ZERO, INT, INITBUF::ival, TCON::k0, MTYPE_I1, mUINT8, INITBUF::Nth_byte(), Target_Byte_Sex, TREE_CODE, tree_code_name, TCON::vals, and WFE_Add_Aggregate_Init_Integer().
Referenced by Traverse_Aggregate_Struct().
Definition at line 2922 of file wfe_decl.cxx.
References Fail_FmtAssertion(), FALSE, Get_Integer_Value(), INITV_kind(), INITVKIND_SYMOFF, New_INITO(), OPR_ADD, OPR_CVT, OPR_INTCONST, OPR_LDA, OPR_SUB, Pointer_Mtype, SCLASS_DGLOBAL, SCLASS_UGLOBAL, Set_INITV_ofst(), Set_ST_init_value_zero, Set_ST_sclass, ST_name, ST_sclass, ST_type, Traverse_Aggregate_Constructor(), TREE_CODE, TREE_IMAGPART, TREE_OPERAND, TREE_REAL_CST, TREE_REALPART, TREE_STRING_LENGTH, TREE_STRING_POINTER, TREE_TYPE, TRUE, TY_size, UINT64, val, WFE_Add_Aggregate_Init_Address(), WFE_Add_Aggregate_Init_Complex(), WFE_Add_Aggregate_Init_Double(), WFE_Add_Aggregate_Init_Integer(), WFE_Add_Aggregate_Init_Padding(), WFE_Add_Aggregate_Init_Real(), WFE_Add_Aggregate_Init_String(), WFE_Add_Aggregate_Init_Symoff(), WFE_Expand_Expr(), WN_const_val(), WN_kid0(), WN_kid1(), WN_Lda(), WN_offset(), WN_operator(), and WN_st().
Referenced by Add_Inito_For_Tree(), and WFE_Initialize_Decl().
Definition at line 2036 of file wfe_decl.cxx.
References FALSE, FmtAssert, Get_Integer_Value(), Get_ST, OPC_I4U4CVT, OPC_I8U8CVT, OPC_U4LDA, OPC_U8LDA, OPR_ADD, OPR_INTCONST, OPR_LDA, OPR_LDA_LABEL, OPR_SUB, Pointer_Size, TREE_CODE, tree_code_name, TREE_OPERAND, TREE_REAL_CST, TREE_STRING_POINTER, WFE_Add_Aggregate_Init_Address(), WFE_Add_Aggregate_Init_Double(), WFE_Add_Aggregate_Init_Integer(), WFE_Add_Aggregate_Init_Label(), WFE_Add_Aggregate_Init_Real(), WFE_Add_Aggregate_Init_String(), WFE_Add_Aggregate_Init_Symoff(), WFE_Expand_Expr(), WFE_Get_LABEL(), WN_const_val(), WN_DELETE_Tree(), WN_kid0(), WN_kid1(), WN_offset(), WN_opcode(), WN_operator(), and WN_st().
Referenced by Traverse_Aggregate_Array(), and Traverse_Aggregate_Struct().
| void check_gnu_errors | ( | int * | , | |
| int * | ||||
| ) |
Definition at line 212 of file wfe_decl.cxx.
Referenced by Create_ST_For_Tree(), prepare_com_clause(), prepare_reduction_clause(), WFE_Expand_Expr(), WFE_Expand_Return(), WGEN_Address_Of(), WGEN_Expand_Expr(), WGEN_Expand_Return(), and WGEN_Lhs_Of_Modify_Expr().
Definition at line 3797 of file wfe_decl.cxx.
References CONSTRUCTOR_ELTS, DECL_EXTERNAL, DECL_INITIAL, DECL_INLINE, DECL_NAME, DECL_WEAK, IDENTIFIER_POINTER, strncmp(), TREE_CHAIN, TREE_CODE, TREE_OPERAND, TREE_VALUE, and TRUE.
Referenced by WFE_Process_Var_Decl(), and WGEN_Process_Var_Decl().
Definition at line 786 of file wfe_decl.cxx.
References FALSE, NULL_TREE, TREE_CHAIN, TREE_TYPE, TREE_VALUE, TRUE, TYPE_ARG_TYPES, and void_type_node.
Referenced by WFE_Start_Function(), and WGEN_Start_Function().
| static void Gen_Assign_Of_Init_Val | ( | ST * | st, | |
| tree | init, | |||
| UINT | offset, | |||
| UINT | array_elem_offset, | |||
| TY_IDX | ty, | |||
| BOOL | is_bit_field, | |||
| UINT | field_id, | |||
| FLD_HANDLE | fld, | |||
| INT & | bytes | |||
| ) | [static] |
Definition at line 2269 of file wfe_decl.cxx.
References FALSE, FLD_bofst, FLD_bsize, FLD_ofst, Gen_Temp_Symbol(), INT, Is_True, KIND_ARRAY, Make_Pointer_Type(), mtype, MTYPE_BS, MTYPE_I4, MTYPE_U4, NULL, OPR_ADD, OPR_LDA, OPR_LDID, Pointer_Mtype, ST_ofst, TREE_CODE, TREE_STRING_LENGTH, TRUE, TY_kind, TY_mtype, TY_size, TYPE_ID, UINT, WFE_Expand_Expr(), WFE_Set_ST_Addr_Saved(), WFE_Stmt_Append(), WN_Binary(), WN_CopyNode(), WN_CreateMload, WN_CreateMstore, WN_Intconst(), WN_Istore(), WN_Lda(), WN_lda_offset(), WN_Ldid(), WN_offset(), WN_operator(), WN_st(), WN_Stid(), and WN_ty().
Referenced by AGGINIT::Traverse_Aggregate_Array(), Traverse_Aggregate_Array(), Traverse_Aggregate_Struct(), AGGINIT::Traverse_Aggregate_Struct(), WFE_Initialize_Decl(), WGEN_Initialize_Decl(), and WGEN_Process_Initialization().
Definition at line 1967 of file wfe_decl.cxx.
References CONSTRUCTOR_ELTS, DECL_CONTEXT, FALSE, NULL, TREE_CHAIN, TREE_CODE, TREE_OPERAND, TREE_VALUE, and TRUE.
Referenced by Has_Non_Constant_Init_Value(), and Use_Static_Init_For_Aggregate().
Definition at line 164 of file wfe_decl.cxx.
References deferred_decl_init_i, deferred_decl_init_max, deferred_decl_init_stack, and malloc.
Referenced by WFE_Expand_Top_Level_Decl(), and WGEN_Init().
Definition at line 123 of file wfe_decl.cxx.
References deferred_function_i, deferred_function_max, deferred_function_stack, and malloc.
Referenced by WFE_Expand_Top_Level_Decl(), and WGEN_Init().
Definition at line 186 of file wfe_decl.cxx.
References deferred_decl_init_i, and deferred_decl_init_stack.
Referenced by WFE_Initialize_Decl(), and WGEN_Initialize_Decl().
Definition at line 151 of file wfe_decl.cxx.
References deferred_function_i, and deferred_function_stack.
Referenced by WFE_Expand_Decl(), WFE_Expand_Top_Level_Decl(), WGEN_Expand_Decl(), and WGEN_Expand_Top_Level_Decl().
| static void process_local_classes | ( | ) | [static] |
Definition at line 569 of file wfe_decl.cxx.
References Get_TY(), i, local_classes, and VARRAY_TREE.
Referenced by WFE_Expand_Decl(), and WGEN_Expand_Decl().
Definition at line 173 of file wfe_decl.cxx.
References deferred_decl_init_i, deferred_decl_init_max, deferred_decl_init_stack, and realloc.
Referenced by WFE_Initialize_Decl(), and WGEN_Initialize_Decl().
Definition at line 132 of file wfe_decl.cxx.
References deferred_function_i, deferred_function_max, deferred_function_stack, i, INT32, and realloc.
Referenced by Create_ST_For_Tree(), WFE_Expand_Decl(), WFE_Process_Function_Decl(), WFE_Process_Var_Decl(), WGEN_Expand_Decl(), WGEN_Process_Function_Decl(), and WGEN_Process_Var_Decl().
Definition at line 207 of file wfe_decl.cxx.
References curr_func_decl.
Referenced by WFE_Expand_Function_Body().
| void Traverse_Aggregate_Array | ( | ST * | st, | |
| tree | init_list, | |||
| tree | type, | |||
| BOOL | gen_initv, | |||
| UINT | current_offset | |||
| ) |
Definition at line 2478 of file wfe_decl.cxx.
References Add_Initv_For_Tree(), CONSTRUCTOR_ELTS, cplus_expand_constant(), FALSE, Gen_Assign_Of_Init_Val(), Get_TY(), INT, next, NULL, Traverse_Aggregate_Constructor(), Traverse_Aggregate_Pad(), TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, TY_etype, TY_size, and UINT.
Referenced by Traverse_Aggregate_Constructor().
| UINT Traverse_Aggregate_Constructor | ( | ST * | st, | |
| tree | init_list, | |||
| tree | type, | |||
| BOOL | gen_initv, | |||
| UINT | current_offset, | |||
| UINT | array_elem_offset, | |||
| UINT | field_id | |||
| ) |
Definition at line 2847 of file wfe_decl.cxx.
References Fail_FmtAssertion(), Get_TY(), INITV_IDX_ZERO, INITV_Init_Block(), INITV_Next_Idx(), KIND_ARRAY, KIND_SCALAR, KIND_STRUCT, MTYPE_is_vector, Traverse_Aggregate_Array(), Traverse_Aggregate_Struct(), TRUE, TY_kind, TY_mtype, and WFE_Add_Init_Block().
Referenced by Add_Inito_For_Tree(), Traverse_Aggregate_Array(), Traverse_Aggregate_Struct(), WFE_Generate_Temp_For_Initialized_Aggregate(), and WFE_Initialize_Decl().
Definition at line 2444 of file wfe_decl.cxx.
References Make_Pointer_Type(), MTYPE_To_TY, MTYPE_U1, MTYPE_U4, Pointer_Mtype, WFE_Add_Aggregate_Init_Padding(), WFE_Stmt_Append(), WN_CreateMstore, WN_Intconst(), and WN_Lda().
Referenced by Traverse_Aggregate_Array(), and Traverse_Aggregate_Struct().
| UINT Traverse_Aggregate_Struct | ( | ST * | st, | |
| tree | init_list, | |||
| tree | type, | |||
| BOOL | gen_initv, | |||
| UINT | current_offset, | |||
| UINT | array_elem_offset, | |||
| UINT | field_id | |||
| ) |
Definition at line 2578 of file wfe_decl.cxx.
References Add_Bitfield_Initv_For_Tree(), Add_Initv_For_Tree(), basetypes, BINFO_BASETYPES, BINFO_TYPE, BOOL, CONSTRUCTOR_ELTS, cplus_expand_constant(), DECL_NAME, FLD_is_bit_field, FLD_next, FLD_ofst, FLD_type, Gen_Assign_Of_Init_Val(), Get_TY(), i, INT, INT32, is_empty_base_class(), FLD_HANDLE::Is_Null(), next_real_or_virtual_field(), Traverse_Aggregate_Constructor(), Traverse_Aggregate_Pad(), TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TREE_VEC_ELT, TREE_VEC_LENGTH, TREE_VIA_VIRTUAL, TY_fld, TY_size, TYPE_BINFO, TYPE_FIELD_IDS_USED(), TYPE_FIELDS, and TYPE_PTRMEMFUNC_P.
Referenced by Traverse_Aggregate_Constructor().
Definition at line 2029 of file wfe_decl.cxx.
References Has_Non_Constant_Init_Value().
Referenced by WFE_Generate_Temp_For_Initialized_Aggregate(), WFE_Initialize_Decl(), WGEN_Generate_Temp_For_Initialized_Aggregate(), and WGEN_Initialize_Decl().
Definition at line 1854 of file wfe_decl.cxx.
Referenced by Add_Inito_For_Tree(), Add_Initv_For_Tree(), and output_constant().
Definition at line 1753 of file wfe_decl.cxx.
References Enter_tcon(), FALSE, FmtAssert, Host_To_Targ_Float(), Host_To_Targ_Float_4(), Host_To_Targ_Quad(), INITV_Set_VAL(), Initv_Table, MTYPE_F4, MTYPE_F8, New_INITV(), Set_INITO_val(), Set_INITV_next(), WFE_Convert_Internal_Real_to_IEEE_Double(), WFE_Convert_Internal_Real_to_IEEE_Double_Extended(), and WFE_Convert_Internal_Real_to_IEEE_Single().
Referenced by Add_Inito_For_Tree(), and Add_Initv_For_Tree().
Definition at line 1735 of file wfe_decl.cxx.
References FALSE, FmtAssert, INITV_Init_Float(), mtype, MTYPE_F4, MTYPE_F8, New_INITV(), Set_INITO_val(), Set_INITV_next(), and TYPE_ID.
Referenced by Add_Inito_For_Tree(), and Add_Initv_For_Tree().
Definition at line 1564 of file wfe_decl.cxx.
Referenced by Add_Bitfield_Initv_For_Tree(), Add_Inito_For_Tree(), Add_Initv_For_Tree(), assemble_integer(), and WFE_Add_Aggregate_Init_Address().
Definition at line 1839 of file wfe_decl.cxx.
References DevWarn, INITV_Init_Label(), lineno, New_INITV(), Set_INITO_val(), Set_INITV_next(), and Set_LABEL_addr_saved().
Referenced by Add_Initv_For_Tree(), and WFE_Add_Aggregate_Init_Address().
Definition at line 1550 of file wfe_decl.cxx.
Referenced by Add_Inito_For_Tree(), assemble_zeros(), Traverse_Aggregate_Pad(), and WFE_Finish_Aggregate_Init().
Definition at line 1796 of file wfe_decl.cxx.
References INITV_Init_String(), New_INITV(), Set_INITO_val(), and Set_INITV_next().
Referenced by Add_Inito_For_Tree(), Add_Initv_For_Tree(), and assemble_string().
Definition at line 1809 of file wfe_decl.cxx.
References INITV_Init_Symoff(), New_INITV(), offset, Set_INITO_val(), Set_INITV_next(), and Set_ST_addr_saved().
Referenced by Add_Inito_For_Tree(), Add_Initv_For_Tree(), and WFE_Add_Aggregate_Init_Address().
Definition at line 1627 of file wfe_decl.cxx.
References New_INITV(), Set_INITO_val(), and Set_INITV_next().
Referenced by Traverse_Aggregate_Constructor().
Definition at line 3649 of file wfe_decl.cxx.
Definition at line 3508 of file wfe_decl.cxx.
Referenced by Create_ST_For_Tree(), and expand_decl().
Definition at line 3363 of file wfe_decl.cxx.
Referenced by assemble_alias(), WFE_Expand_Decl(), and WFE_Expand_Top_Level_Decl().
| double WFE_Convert_Internal_Real_to_IEEE_Double | ( | REAL_VALUE_TYPE | real | ) |
Definition at line 1595 of file wfe_decl.cxx.
References compact_buffer(), i, INT, and REAL_VALUE_TO_TARGET_DOUBLE.
Referenced by WFE_Add_Aggregate_Init_Complex(), WFE_Add_Aggregate_Init_Real(), and WFE_Expand_Expr().
| long double WFE_Convert_Internal_Real_to_IEEE_Double_Extended | ( | REAL_VALUE_TYPE | real | ) |
Definition at line 1611 of file wfe_decl.cxx.
References compact_buffer(), i, INT, and REAL_VALUE_TO_TARGET_LONG_DOUBLE.
Referenced by WFE_Add_Aggregate_Init_Complex(), WFE_Add_Aggregate_Init_Real(), and WFE_Expand_Expr().
| float WFE_Convert_Internal_Real_to_IEEE_Single | ( | REAL_VALUE_TYPE | real | ) |
Definition at line 1583 of file wfe_decl.cxx.
References INT32, Is_True, and REAL_VALUE_TO_TARGET_SINGLE.
Referenced by WFE_Add_Aggregate_Init_Complex(), WFE_Add_Aggregate_Init_Real(), and WFE_Expand_Expr().
Definition at line 3564 of file wfe_decl.cxx.
Referenced by expand_end_bindings(), and Pop_Scope_And_Do_Cleanups().
Definition at line 579 of file wfe_decl.cxx.
References BOOL, CP_DECL_CONTEXT, cp_namespace_decls(), cplus_expand_constant(), curr_namespace_decl, CURRENT_SYMTAB, DECL_ASSEMBLER_NAME, DECL_ASSEMBLER_NAME_SET_P, DECL_CONTEXT, DECL_EXTERNAL, DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION, DECL_FUNCTION_MEMBER_P, DECL_INITIAL, DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P, DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P, DECL_NAME, DECL_NAMESPACE_ALIAS, DECL_SAVED_TREE, DECL_TEMPLATE_INFO, DECL_TEMPLATE_INSTANTIATED, DECL_TEMPLATE_INSTANTIATIONS, DECL_TEMPLATE_SPECIALIZATION, DECL_TEMPLATE_SPECIALIZATIONS, DECL_THUNK_P, deferred_function_i, DevWarn, Enable_WFE_DFE, expanded_decl(), FALSE, Get_ST, Get_TY(), global_namespace, GLOBAL_SYMTAB, IDENTIFIER_POINTER, init_type(), Is_True, most_general_template(), NULL, NULL_TREE, Pop_Deferred_Function(), process_local_classes(), Push_Deferred_Function(), strncmp(), TREE_CHAIN, TREE_CODE, TREE_CODE_CLASS, TREE_SYMBOL_REFERENCED, TREE_TYPE, TREE_VALUE, TRUE, uses_template_parms(), val, void, WFE_Assemble_Alias(), WFE_Expand_Decl(), WFE_Expand_Function_Body(), WFE_Generate_Thunk(), and WFE_Initialize_Decl().
Referenced by Create_TY_For_Tree(), WFE_Expand_Decl(), WFE_Expand_Expr(), WFE_Expand_Stmt(), WFE_Expand_Top_Level_Decl(), and WFE_Process_Var_Decl().
| static int WFE_Expand_Function_Body | ( | tree | decl | ) | [static] |
Definition at line 366 of file wfe_decl.cxx.
References DECL_ASSEMBLER_NAME, DECL_COMDAT, DECL_COMPLETE_CONSTRUCTOR_P, DECL_COPY_CONSTRUCTOR_P, DECL_INLINE, DECL_SAVED_TREE, expanded_decl(), flag_keep_inline_functions, Mark_Scopes_And_Labels(), Set_Current_Function_Decl(), TREE_CHAIN, TREE_PUBLIC, TRUE, void, WFE_Expand_Stmt(), WFE_Finish_Function(), and WFE_Start_Function().
Referenced by WFE_Expand_Decl(), and WFE_Expand_Top_Level_Decl().
Definition at line 3960 of file wfe_decl.cxx.
References addr(), BOOL, changed, check_gnu_errors(), curr_namespace_decl, Debug_Level, DECL_CONTEXT, DECL_NAME, DECL_ST, DECL_THUNK_P, deferred_function_i, deferred_function_stack, DST_enter_member_function(), Enable_WFE_DFE, error_count, expanded_decl(), FALSE, FmtAssert, Get_ST, Get_TY(), global_namespace, i, IDENTIFIER_CTOR_OR_DTOR_P, Init_Deferred_Decl_Init_Stack(), Init_Deferred_Function_Stack(), INT32, DST_defer_misc_info::is_member_function, Is_True, DST_defer_misc_info::member_func, NULL, Pop_Deferred_Function(), SCLASS_EXTERN, SCLASS_UGLOBAL, set_DECL_ST(), Set_FLD_type(), Set_ST_sclass, skip, ST_sclass, TREE_CODE, TREE_OPERAND, TREE_TYPE, TRUE, TYPE_DST_IDX(), DST_defer_misc_info::u1, WFE_Assemble_Alias(), WFE_Assemble_Asm(), WFE_Expand_Decl(), WFE_Expand_Function_Body(), WFE_Generate_Thunk(), WFE_Process_Namespace_Decl(), and WFE_Process_Var_Decl().
Definition at line 1940 of file wfe_decl.cxx.
Referenced by finish_init(), WFE_Generate_Temp_For_Initialized_Aggregate(), and WFE_Initialize_Decl().
Definition at line 1442 of file wfe_decl.cxx.
References Clear_PU_must_inline(), Current_Map_Tab, Delete_Scope(), DevWarn, Do_EH_Cleanups(), Do_EH_Tables(), Do_Handlers(), FALSE, flag_exceptions, Get_Current_PU, Get_Current_PU_ST, GLOBAL_SYMTAB, key_exceptions, NULL, OPR_RETURN, OPR_RETURN_VAL, opt_regions, Pop_Current_Entry_WN(), PU_lexical_level, PU_must_inline(), Set_PU_has_return_address(), Set_PU_is_nested_func(), Set_PU_no_inline(), ST_name, WFE_Check_Undefined_Labels(), WFE_Stmt_Append(), WFE_Stmt_Pop(), WFE_Stmt_Top(), WN_CreateReturn, WN_last(), WN_MAP_TAB_Delete(), WN_operator(), and Write_PU_Info().
Referenced by c_expand_body(), WFE_Expand_Function_Body(), and WFE_Generate_Thunk().
Definition at line 3104 of file wfe_decl.cxx.
Referenced by WFE_Address_Of(), WFE_Array_Expr(), WFE_Expand_Expr(), and WFE_Initialize_Decl().
Definition at line 435 of file wfe_decl.cxx.
References Be_Type_Tbl, CP_DECL_CONTEXT, DECL_INITIAL, DECL_THUNK_P, DevWarn, expanded_decl(), FALSE, FmtAssert, Get_Current_PU, Get_ST, Get_TY(), i, INT32, Is_True, lineno, Make_Pointer_Type(), Mtype_comparison(), MTYPE_I4, MTYPE_I8, MTYPE_To_TY, MTYPE_U4, MTYPE_U8, MTYPE_V, NULL, offset, OPR_ADD, OPR_CALL, OPR_COMMA, OPR_ILOAD, OPR_RETURN_VAL, ptrdiff_type_node, Return_Val_Preg, Set_PU_is_thunk(), ST_pu_type, ST_st_idx, ST_type, THUNK_DELTA, THUNK_VCALL_OFFSET, TREE_CODE, TREE_INT_CST_HIGH, TREE_INT_CST_LOW, TREE_OPERAND, TREE_TYPE, TRUE, TY_mtype, TY_ret_type, TYPE_ID, WFE_Finish_Function(), WFE_Start_Function(), WFE_Stmt_Append(), WN_Binary(), WN_COPY_Tree(), WN_Create(), WN_CreateBlock, WN_CreateComma, WN_CreateIload, WN_CreateParm, WN_CreateReturn, WN_CreateReturn_Val, WN_INSERT_BlockLast, WN_Intconst(), WN_kid(), WN_kid0(), WN_kid1(), WN_kid_count(), WN_Ldid(), WN_PARM_BY_VALUE, WN_Set_Call_Default_Flags, WN_Set_Call_Replace_By_Jump, WN_st(), WN_st_idx(), WN_Stid(), and WN_Tas().
Referenced by WFE_Expand_Decl(), and WFE_Expand_Top_Level_Decl().
| ST* WFE_Get_Return_Address_ST | ( | int | level | ) |
Definition at line 3188 of file wfe_decl.cxx.
Referenced by finish_decl(), WFE_Address_Of(), and WFE_Expand_Decl().
Definition at line 3694 of file wfe_decl.cxx.
References basetypes, BINFO_BASETYPES, BINFO_TYPE, cp_type_quals(), DECL_EXTERNAL, DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION, DECL_INLINE, DECL_SAVED_TREE, DECL_ST, DECL_TEMPLATE_INFO, DECL_TEMPLATE_INSTANTIATED, DECL_TEMPLATE_SPECIALIZATION, DECL_WEAK, field_type(), i, INT32, MTYPE_B, next_real_or_virtual_field(), NULL, NULL_TREE, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VEC_ELT, TREE_VEC_LENGTH, TYPE_BINFO, TYPE_FIELDS, TYPE_METHODS, TYPE_TY_IDX(), TYPE_UNQUALIFIED, and WFE_Process_Function_Decl().
Referenced by WFE_Process_Template_Decl(), and WFE_Process_Type_Decl().
Definition at line 3912 of file wfe_decl.cxx.
References TREE_CODE, WFE_Process_Function_Decl(), WFE_Process_Namespace_Decl(), WFE_Process_Template_Decl(), WFE_Process_Type_Decl(), and WFE_Process_Var_Decl().
Referenced by WFE_Process_Namespace_Decl().
Definition at line 3888 of file wfe_decl.cxx.
References DECL_ARTIFICIAL, DECL_EXTERNAL, DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION, DECL_INLINE, DECL_SAVED_TREE, DECL_ST, DECL_TEMPLATE_INFO, DECL_TEMPLATE_INSTANTIATED, DECL_TEMPLATE_SPECIALIZATION, NULL, NULL_TREE, Push_Deferred_Function(), and set_DECL_ST().
Referenced by WFE_Process_Class_Decl(), and WFE_Process_Decl().
Definition at line 3945 of file wfe_decl.cxx.
References cp_namespace_decls(), DECL_NAMESPACE_ALIAS, NULL_TREE, std_node, TREE_CHAIN, and WFE_Process_Decl().
Referenced by WFE_Expand_Top_Level_Decl(), and WFE_Process_Decl().
Definition at line 3756 of file wfe_decl.cxx.
References DECL_EXTERNAL, DECL_SAVED_TREE, DECL_TEMPLATE_INSTANTIATIONS, DECL_TEMPLATE_SPECIALIZATIONS, Get_ST, most_general_template(), TREE_CHAIN, TREE_CODE, TREE_VALUE, uses_template_parms(), val, and WFE_Process_Class_Decl().
Referenced by WFE_Process_Decl().
Definition at line 3746 of file wfe_decl.cxx.
References cp_type_quals(), TREE_CODE, TREE_TYPE, TYPE_UNQUALIFIED, and WFE_Process_Class_Decl().
Referenced by WFE_Process_Decl().
Definition at line 3863 of file wfe_decl.cxx.
References DECL_EXTERNAL, decl_is_needed_vtable(), DECL_ST, DECL_WEAK, Push_Deferred_Function(), TREE_PUBLIC, and WFE_Expand_Decl().
Referenced by WFE_Expand_Top_Level_Decl(), and WFE_Process_Decl().
Definition at line 3596 of file wfe_decl.cxx.
References FmtAssert, Get_ST, New_ST_ATTR(), Set_ST_assigned_to_dedicated_preg(), Set_ST_type, Set_TY_is_volatile, ST_ATTR_DEDICATED_REGISTER, ST_ATTR_Init(), ST_st_idx, and ST_type.
Referenced by make_decl_rtl(), and rest_of_decl_compilation().
Definition at line 974 of file wfe_decl.cxx.
Referenced by c_expand_body(), c_expand_deferred_function(), store_parm_decls(), WFE_Expand_Function_Body(), and WFE_Generate_Thunk().
Definition at line 3665 of file wfe_decl.cxx.
int __ctors = 0 [static] |
Definition at line 204 of file wfe_decl.cxx.
Referenced by WFE_Assemble_Constructor(), WFE_Start_Function(), and WGEN_Start_Function().
int __dtors = 0 [static] |
Definition at line 205 of file wfe_decl.cxx.
Referenced by WFE_Assemble_Destructor(), WFE_Start_Function(), and WGEN_Start_Function().
INITO_IDX aggregate_inito = 0 [static] |
Definition at line 1529 of file wfe_decl.cxx.
Referenced by Add_Inito_For_Tree(), CG_End_Final(), WFE_Add_Aggregate_Init_Address(), WFE_Add_Aggregate_Init_Complex(), WFE_Add_Aggregate_Init_Integer(), WFE_Add_Aggregate_Init_Label(), WFE_Add_Aggregate_Init_Padding(), WFE_Add_Aggregate_Init_Real(), WFE_Add_Aggregate_Init_String(), WFE_Add_Aggregate_Init_Symbol(), WFE_Add_Init_Block(), WFE_Finish_Aggregate_Init(), WFE_Generate_Temp_For_Initialized_Aggregate(), and WFE_Start_Aggregate_Init().
tree curr_func_decl = NULL_TREE [static] |
Definition at line 199 of file wfe_decl.cxx.
Referenced by Current_Function_Decl(), and Set_Current_Function_Decl().
INT32 deferred_decl_init_i [static] |
Definition at line 160 of file wfe_decl.cxx.
Referenced by Init_Deferred_Decl_Init_Stack(), Pop_Deferred_Decl_Init(), Push_Deferred_Decl_Init(), WFE_Initialize_Decl(), and WGEN_Initialize_Decl().
INT32 deferred_decl_init_max [static] |
Definition at line 161 of file wfe_decl.cxx.
Referenced by Init_Deferred_Decl_Init_Stack(), and Push_Deferred_Decl_Init().
tree* deferred_decl_init_stack [static] |
Definition at line 159 of file wfe_decl.cxx.
Referenced by Init_Deferred_Decl_Init_Stack(), Pop_Deferred_Decl_Init(), and Push_Deferred_Decl_Init().
INT32 deferred_function_i [static] |
Definition at line 119 of file wfe_decl.cxx.
Referenced by Init_Deferred_Function_Stack(), Pop_Deferred_Function(), Push_Deferred_Function(), WFE_Expand_Decl(), WFE_Expand_Top_Level_Decl(), WGEN_Expand_Decl(), and WGEN_Expand_Top_Level_Decl().
INT32 deferred_function_max [static] |
Definition at line 120 of file wfe_decl.cxx.
Referenced by Init_Deferred_Function_Stack(), and Push_Deferred_Function().
tree* deferred_function_stack [static] |
Definition at line 118 of file wfe_decl.cxx.
Referenced by Init_Deferred_Function_Stack(), Pop_Deferred_Function(), Push_Deferred_Function(), and WFE_Expand_Top_Level_Decl().
Definition at line 3185 of file wfe_decl.cxx.
Referenced by compile_resource_file(), emit_register_classes(), and java_lang_expand_expr().
INITV_IDX last_aggregate_initv = 0 [static] |
Definition at line 1530 of file wfe_decl.cxx.
Referenced by Add_Bitfield_Initv_For_Tree(), Add_Inito_For_Tree(), CG_End_Final(), CG_Init_Func_Infos(), WFE_Add_Aggregate_Init_Address(), WFE_Add_Aggregate_Init_Complex(), WFE_Add_Aggregate_Init_Integer(), WFE_Add_Aggregate_Init_Label(), WFE_Add_Aggregate_Init_Padding(), WFE_Add_Aggregate_Init_Real(), WFE_Add_Aggregate_Init_String(), WFE_Add_Aggregate_Init_Symbol(), WFE_Add_Init_Block(), WFE_Finish_Aggregate_Init(), WFE_Generate_Temp_For_Initialized_Aggregate(), and WFE_Start_Aggregate_Init().
MEM_POOL Map_Mem_Pool [static] |
Definition at line 197 of file wfe_decl.cxx.
BOOL map_mempool_initialized = FALSE [static] |
Definition at line 196 of file wfe_decl.cxx.
Referenced by WFE_Assemble_Asm(), WFE_Start_Function(), WGEN_Assemble_Asm(), and WGEN_Start_Function().
BOOL not_at_root = FALSE [static] |
Definition at line 1531 of file wfe_decl.cxx.
Referenced by Add_Inito_For_Tree(), WFE_Add_Aggregate_Init_Complex(), WFE_Add_Aggregate_Init_Integer(), WFE_Add_Aggregate_Init_Label(), WFE_Add_Aggregate_Init_Padding(), WFE_Add_Aggregate_Init_Real(), WFE_Add_Aggregate_Init_String(), WFE_Add_Aggregate_Init_Symbol(), WFE_Add_Init_Block(), WFE_Finish_Aggregate_Init(), WFE_Generate_Temp_For_Initialized_Aggregate(), and WFE_Start_Aggregate_Init().
PU_Info* PU_Info_Table[258] = {0} [static] |
Definition at line 194 of file wfe_decl.cxx.
Definition at line 83 of file wfe_misc.cxx.
ST* Return_Address_ST[258] = {0} [static] |
Definition at line 195 of file wfe_decl.cxx.
Referenced by WFE_Add_Weak(), WFE_Weak_Finish(), and WGEN_Weak_Finish().
1.5.6