#include "config.h"#include "system.h"#include "tree.h"#include "rtl.h"#include "expr.h"#include "c-tree.h"#include "c-lex.h"#include "c-common.h"#include "flags.h"#include "objc-act.h"#include "input.h"#include "except.h"#include "function.h"#include "output.h"#include "toplev.h"#include "ggc.h"#include "cpplib.h"#include "debug.h"#include "target.h"#include "objc-tree.def"#include "obstack.h"

Go to the source code of this file.
| #define BUFSIZE 1024 |
Referenced by init_objc(), and kai_mhalloc().
Referenced by objc_decode_option().
Definition at line 116 of file objc-act.c.
Definition at line 116 of file objc-act.c.
Definition at line 116 of file objc-act.c.
| #define METHOD_DEF 0 |
Definition at line 4641 of file objc-act.c.
Referenced by comp_method_with_proto(), and get_arg_type_list().
| #define METHOD_REF 1 |
Definition at line 4642 of file objc-act.c.
Referenced by build_objc_method_call(), and comp_proto_with_proto().
| #define OBJC_ENCODE_DONT_INLINE_DEFS 1 |
| #define OBJC_ENCODE_INLINE_DEFS 0 |
Definition at line 148 of file objc-act.c.
Referenced by build_encode_expr(), encode_aggregate_within(), encode_method_def(), and encode_method_prototype().
| #define OBJC_FORWARDING_MIN_OFFSET 0 |
Definition at line 86 of file objc-act.c.
| #define OBJC_FORWARDING_STACK_OFFSET 0 |
Definition at line 82 of file objc-act.c.
| #define OBJC_GEN_METHOD_LABEL | ( | BUF, | |||
| IS_INST, | |||||
| CLASS_NAME, | |||||
| CAT_NAME, | |||||
| SEL_NAME, | |||||
| NUM | ) |
Value:
do { \ char *temp; \ sprintf ((BUF), "_%s_%s_%s_%s", \ ((IS_INST) ? "i" : "c"), \ (CLASS_NAME), \ ((CAT_NAME)? (CAT_NAME) : ""), \ (SEL_NAME)); \ for (temp = (BUF); *temp; temp++) \ if (*temp == ':') *temp = '_'; \ } while (0)
Definition at line 67 of file objc-act.c.
| #define OBJC_VERSION (flag_next_runtime ? 5 : 8) |
| #define obstack_chunk_alloc xmalloc |
Definition at line 128 of file objc-act.c.
| #define obstack_chunk_free free |
Definition at line 129 of file objc-act.c.
| #define PROTOCOL_OBJECT_CLASS_NAME "Protocol" |
Referenced by generate_protocols(), and synth_module_prologue().
| #define PROTOCOL_VERSION 2 |
| #define RAW_TYPESPEC | ( | meth | ) | (TREE_VALUE (TREE_PURPOSE (TREE_TYPE (meth)))) |
| #define STRING_OBJECT_GLOBAL_NAME "_NSConstantStringClassReference" |
Referenced by setup_string_decl().
| #define TAG_CLASS "objc_class" |
Referenced by encode_pointer(), and synth_module_prologue().
| #define TAG_OBJECT "objc_object" |
Referenced by encode_pointer(), and synth_module_prologue().
| #define TAG_SELECTOR "objc_selector" |
| #define TAG_SUPER "objc_super" |
Referenced by build_objc_method_call(), and synth_module_prologue().
| #define TYPE_ID "id" |
Referenced by _xcreate_shackle_map_for_arrays_in_func(), Actual_cvtl_type(), Actual_data_size(), Actual_result_type(), Add_Ordered_XPragmas(), LAT_DIRECTED_GRAPH16::Add_Vertices_Op_Edges_Rec(), Adjust_signed_type(), Affinity_Array_Lower_Bound(), Affinity_Array_Upper_Bound(), Allocate_Result_TN(), Analyse_Dependencies(), Apply_Back_Sub_Invariant(), Apply_Back_Sub_Variant(), Apply_Interleave(), Array_Is_HFA(), AssignPregExprPos(), Atomic_Direct(), Atomic_Using_Swap(), aux_CvtRnd(), aux_CvtTrunc(), AWN_Binary(), AWN_LdidSym(), AWN_StidIntoSym(), BND_Max_Expr(), BND_Min_Expr(), ARRAY_REF::Build_Array(), by_value(), Can_Be_Tail_Call(), canonicalize_if_condition(), Cast_Float_Operands(), CG_End_Final(), CG_Init_Func_Infos(), CG_Instrument_Arcs(), CG_Region_Initialize(), CGEMIT_Print_Variable_Info(), CGTARG_Load_From_Memory(), CGTARG_Store_To_Memory(), CGTARG_TN_For_Asm_Operand(), Change_types_to_32bit(), check_do_loop_for(), check_size(), checkForZero(), ARA_LOOP_INFO::CI_Print(), Compute_Return_Preg_Offset(), Compute_Return_Pregs(), Constant_Propogate(), Convert_Do_Loops_Conditionals(), Convert_Imm_Mul(), Convert_Le_With_Floor_2Lt(), Convert_Regs(), OPT_STAB::Convert_ST_to_AUX(), Copy_Array(), Copy_Array_Section(), Copy_Loads_In_Bound(), REGISTER_MODEL::Count_Op(), count_stats(), count_stats_tuning(), Cray_Type_From_TY(), Create_All_Preg_Symbols(), Create_array(), Create_Copy_Expr(), create_doloop(), Create_DST_type_For_Tree(), Create_Global_ST(), Create_identity_assignment(), Create_Initialize_Loop(), create_lda_of_temp(), ARRAY_LOWER_REF::Create_Local_Blkcyc_Dim(), ARRAY_LOWER_REF::Create_Local_Block_Dim(), ARRAY_LOWER_REF::Create_Local_Cyclic_Dim(), LEGO_INFO::Create_Local_Index(), ARA_LOOP_INFO::Create_New_IF_Clause(), ARA_LOOP_INFO::Create_Old_IF_Clause(), create_pointer_to_node(), ARRAY_LOWER_REF::Create_Remote_Blkcyc_Dim(), ARRAY_LOWER_REF::Create_Remote_Block_Dim(), ARRAY_LOWER_REF::Create_Remote_Cyclic_Dim(), Create_Shackle_If_Per_Stmt(), Create_Simple_Shackle_Loops(), Create_Special_Global_Symbols(), Create_Stride1_Condition_If_Required(), Create_Tmp_Array(), Create_TY_For_Tree(), Create_Unroll_Copy(), createParm(), cwh_addr_ldid(), cwh_addr_stid(), cwh_ceiling_floor(), cwh_convert_to_ty(), cwh_do_tranformational(), cwh_dope_get_dope_fudge_factor(), cwh_dst_basetype(), cwh_dst_mk_const(), cwh_expr_bincalc(), cwh_expr_binop(), cwh_expr_binop_shift(), cwh_expr_compare(), cwh_expr_compare_bitwise(), cwh_expr_unop(), cwh_funny_fp_intrinsic(), cwh_get_highest_type(), cwh_intrin_popcnt_leadz_helper(), cwh_intrin_sync_intrin(), cwh_intrin_wrap_value_parm(), cwh_make_typed_opcode(), cwh_preg_temp_save(), cwh_stab_altentry_TY(), cwh_stab_altres_offset(), cwh_stab_altres_offset_comp(), cwh_stab_const(), cwh_stmt_call_helper(), cwh_stmt_return_altentry(), cwh_stmt_return_scalar(), cwh_types_array_temp_TY(), cwh_types_mk_basic_TY(), cwh_types_mk_logical_TY(), cwh_types_shared_dope(), delete_subset_mem_op(), DISTR_INFO::DISTR_INFO(), Do_Loop_Is_Unsigned(), do_simple(), Do_Wtype(), dummy(), Dv_Type_From_TY(), em_alloca(), em_alog10(), em_bclr(), em_bits(), em_bset(), em_btest(), em_complex_abs(), em_complex_cos(), em_complex_exp(), em_complex_log(), em_complex_sin(), em_complex_sqrt(), em_complex_sqrt_preg(), em_conjg(), em_dim(), em_divfloor(), em_hypot(), em_lshr(), em_mod_float(), em_nearest_int(), em_parity(), em_popcount(), em_prod(), em_quad_abs(), em_quad_neg(), em_shft(), em_shftc(), em_shl(), em_sign(), em_split_select(), emit_builtin_compare_and_swap(), emit_builtin_lock_release(), emit_builtin_lock_test_and_set(), emit_builtin_sync_fetch_op(), emulate_intrinsic_op(), ARRAY_REF::Enter_Innermost_Scalar_Expand(), ARRAY_REF::Enter_Scalar_Expand(), Enter_Scalar_Expandable_Refs(), SYMBOL_TREE::Enter_Scalar_Refs(), Evaluate_chi(), LOOP_MULTIVER::Evaluate_cr_rec(), Execution_Cost_Expr(), Execution_Cost_Value(), OPT_TAIL::Exit_is_well_behaved(), Exp_COPY(), Exp_Intrinsic_Call(), Exp_Landingpadentry_Intrinsic(), Exp_Ldst(), Exp_Select_And_Condition(), Exp_Select_And_VLdid(), Exp_Stid_And_VComp(), Exp_To_Linex_Array(), Expand_64Bit_ALU_OP(), Expand_64Bit_BitLogic_OP(), Expand_64Bit_Compare(), Expand_64Bit_Cvtl(), Expand_64Bit_Load(), Expand_64Bit_Store(), Expand_Branch(), Expand_Composed_Load(), Expand_Composed_Store(), Expand_Convert_Length(), Expand_Extract(), Expand_Immediate_Into_Register(), Expand_Load(), Expand_Logical_And(), Expand_Logical_Not(), Expand_Logical_Or(), Expand_Madd(), Expand_Misaligned_Load(), Expand_Neg(), Expand_OP(), Expand_Select(), Expand_Split_Load(), Expand_Split_Store(), Expand_Sqrt(), expand_start_do_loop(), expand_start_parallel(), expand_start_parallel_for(), expand_start_parallel_sections(), Expand_Store(), Expand_Unsigned_Extract(), Expand_Vote(), ALIAS_CLASSIFICATION::Expr_may_contain_pointer(), Expr_Should_Always_Be_Hoisted(), Extended_Lower_Bound(), Extended_Upper_Bound(), F90_Lower_Alloc_Dealloc(), F90_Lower_Copy_To_ATemp(), F90_Lower_Copy_To_STemp(), F90_Lower_Init(), F90_Lower_Walk(), F90_Wrap_ARREXP(), fei_abs(), fei_addr_con(), fei_arith_con(), fei_as_ref(), fei_bneg(), fei_count(), fei_cvtop(), fei_doloop(), fei_dot_product(), fei_dot_product_logical(), fei_exponent(), fei_exponentiate(), fei_fpclass(), fei_get_dv_hdr_fld(), fei_ibits(), fei_ieee_sign_xfer(), fei_ieee_trunc(), fei_imag(), fei_isfinite(), fei_isnan(), fei_isunordered(), fei_logb(), fei_mask(), fei_matmul(), fei_multiply_high(), fei_mvbits(), fei_near(), fei_new_binop_cshift(), fei_ranf(), fei_remainder(), fei_return(), fei_round(), fei_scalb(), fei_scale(), fei_select(), fei_set_dv_hdr_fld(), fei_set_exponent(), fei_trunc(), Fill_Align_Symbol(), Finalize_Index_Variable(), Finalize_Index_Variable_For_Remove_Unity_Trip_Loop(), Find_Highest_Type_Of_Loop(), Find_Return_Registers(), Find_Simd_Kind(), Fix_TY_mtype(), OPT_TAIL::Fixup_exit(), Fold_Base(), Fold_Offset(), Formal_Machine_Type(), LAT_DIRECTED_GRAPH16::FP_Latency_Madd(), Freeze_Numthreads_Ldid(), Fuse(), Gather_Scatter_Scalar_Expand(), Gather_Vectorizable_Ops(), Gen_Assign_Of_Init_Val(), Gen_exp_wn(), Gen_MP_Reduction(), Gen_Parm_WN(), PF_LG::Gen_Pref_Node(), Gen_quad_preg(), Generate_Assignment_Stmt(), Generate_Blkcyc_Bounds(), Generate_Block_Bounds(), Generate_Block_Bounds_Negative(), ARA_LOOP_INFO::Generate_Copyout_Loop(), Generate_Cyclic_Bounds(), Generate_Dynamic_Bounds(), Generate_Interleaved_Bounds(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), Generate_Runtime_Cyclic_Bounds(), Generate_Simple_Bounds(), generate_tree_from_bounds_info_row(), get_32bit_cilist_item(), Get_64Bit_High_TN(), Get_Array_Dim_Size(), Get_Array_Dimension_LB(), Get_Array_Dimension_Size(), Get_element_mtype(), SUMMARY_FORMAL::Get_machine_type(), SUMMARY_EXPR::Get_mtype(), SUMMARY_VALUE::Get_mtype(), Get_Parameter_Location(), Get_Return_Info(), SUMMARY_CALLSITE::Get_return_type(), ALIAS_RULE::Get_stripped_mtype(), Get_Struct_Parameter_Location(), get_TCON_size(), get_value_type(), Handle_ASM(), Handle_INTRINSIC_OP(), Handle_ISTBITS(), Handle_ISTORE(), Handle_LDID(), Handle_Sink_General_Case(), Handle_Sink_Promotion_Case(), Handle_Sink_Symbolic_Non_Promotion_Case(), Handle_STBITS(), Handle_STID(), HasReturnPreg(), HMB_Hoist_Expressions(), HMB_Replace_Messy_Bounds(), Hoist_Expression(), Hoist_Iload_Ldid_Upper_Bound_One_Level(), IFMM_Convert(), Increase_By(), Initialize_Pdo_Last_Local_Index(), Initialize_Special_Global_Symbols(), WN_INSTRUMENT_WALKER::Instrument_Branch(), WN_INSTRUMENT_WALKER::Instrument_Circuit(), WN_INSTRUMENT_WALKER::Instrument_Compgoto(), WN_INSTRUMENT_WALKER::Instrument_Cselect(), WN_INSTRUMENT_WALKER::Instrument_Switch(), INTR_parameter_type(), INTR_return_mtype(), intrinsic_runtime(), Invert_Conditional(), IPA_constant_in_array_bounds(), IPA_LNO_Annotate_Array_Call(), IPA_LNO_Annotate_Scalar_Call(), IPA_LNO_Read_Terms(), SUMMARIZE< program >::IPL_EX_Call(), IPL_EX_New_Expr_Expr(), IPL_EX_New_Value_Expr(), IPL_EXS_Outer_Fold(), SUMMARIZE< program >::IPL_GEN_Const(), SUMMARIZE< program >::IPL_GEN_Expr(), SUMMARIZE< program >::IPL_GEN_Value(), IPL_LNO_Do_Wtype(), Irb_Init_Integer(), Is_CVT_Noop(), Is_Float_Type(), is_floating_equal(), is_numeric_equal(), WN_Verifier::Is_return_register_of_call(), Is_Valid_Opcode_FUNC(), is_vectorizable_op_stmt(), Lego_Index_From_Access_Vector(), Lego_Skew_Index(), Lego_Skew_Loop(), Lego_Skew_Offset(), Live_Init(), LNOTARGET_Cvt_Lat(), LNOTARGET_Cvt_Res(), Localize_Variable(), SHACKLE_INFO::Loop_Type(), ARRAY_LOWER_REF::Lower_Array_Expr(), Lower_Atomic(), lower_bit_field_id(), Lower_Bound_In_Affinity_Range(), lower_complex_expr(), lower_cvt(), Lower_Fetch_And_Op(), lower_linearize_array_addr(), lower_load_bits(), lower_madd(), lower_maxminloc(), lower_mm_matmul(), lower_mv_matmul(), lower_nary_madd(), lower_quad_expr(), lower_random_number(), lower_recip(), lower_reduction(), lower_return_ldid(), lower_rsqrt(), Lower_Single_Array_Dim(), lower_store_bits(), lower_transformationals(), lower_unpack(), LWN_CreateDivceil(), LWN_CreateDivfloor(), LWN_Integer_Casts(), LWN_Short_Integer_Cast(), make_pointer_to_node(), Make_Reduction_Identity(), Max_Wtype(), Maybe_Handle_Sink_Promotion_Case(), Merge_Section(), MIR_Replace(), move_ext_is_replaced(), Mp_Collapse_Cleanup(), Mp_Coordinate_Call(), Mp_Layout_Call(), Mp_Layout_Load_Pids(), Mp_Trip_Count(), Mp_Version_Loop(), Mp_Version_Parallel_Region(), RECUR_OP_DESC::Mtype(), INITV::Mtype(), Mtype_AlignmentClass(), Mtype_comparison(), Mtype_complex_to_real(), Mtype_from_opc(), Mtype_next_alignment(), Mtype_prev_alignment(), Mtype_Promote_to_A4A8(), Mtype_TransferSign(), Mtype_TransferSize(), NSE_Annotate_Array_Call(), Only_32bit_opnds(), OP_refs_x87(), LOOP_MODEL::OP_Resources_R(), OPCODE_commutative_op(), OPCODE_desc(), OPCODE_name(), OPCODE_rtype(), OPCODE_To_TOP(), Parallelize_Doacross_Loop(), Perform_Gather_Scatter(), LEGO_INFO::Pid0(), LEGO_INFO::Pid1(), Points_To_For_Array_Star(), Post_loop_peeling(), Pre_loop_peeling(), Preg_Is_Rematerializable(), PREG_To_TN(), PREG_To_TN_Clear(), SUMMARIZE< program >::Process_constant_jump_function(), IPO_INLINE::Process_Copy_In(), IPO_INLINE::Process_Copy_In_Copy_Out(), IPO_INLINE::Process_Formal_ST(), Process_Preg_Temps(), Process_Store(), Processor_Update_Inner_Tile(), Processor_Update_Outer_Tile(), Promote_Pointer(), Promote_Type(), REGION_BOUND::Propagate_boundary_up(), Realloc_Preg_To_TN_Arrays(), reassoc_expr(), Rebuild_rtype(), ETABLE::Recursive_rehash_and_replace(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), Remove_Floor_From_One_Sided_Cond(), Repair_Call_BB(), Replace_Equality_Check(), Replace_Formal_By_Actual(), Replace_Index_Variable(), Replace_Wnexp_With_Exp_Copy(), Reset_param_list(), return_conversion(), return_types_are_compatible(), return_upper_bound(), return_upper_boundplus1(), RETYPE_EXPR_expr(), Rewrite_Bounds(), Rewrite_Pragmas_On_Structs(), RV_Reverse_Index_Ldid(), SA_Set_SimdOps_Info1(), scalar_rename(), SE_Array(), SE_Findxs(), SE_Iload(), SE_Indxs_and_Bounds(), SE_Istore(), SE_Wrap_Array(), Set_up_all_preg_symbols(), Set_Up_Equivalence_Classes(), Setup_Preg_Pointers(), SHACKLE_INFO::SHACKLE_INFO(), Shrink_to_32bit(), Simd(), Simd_Align_Analysis(), Simd_Align_Generate_Peel_Loop(), Simd_Get_Vector_Type(), Simd_Handle_Negative_Coefficient(), Simd_Mark_Code(), Simd_Vectorize_Constants(), Simd_Vectorize_Induction_Variables(), Simd_Vectorize_Invariants(), Simd_Vectorize_Scalar_Reduction(), Simd_Vectorize_SimdOp_And_Kids(), simp_abs(), simp_add_sub(), simp_band(), simp_bior(), simp_bnor(), simp_bxor(), simp_cvt(), simp_cvtl(), simp_diff_value(), simp_div(), simp_eq_neq(), SIMP_Flt_ConstVal(), simp_land(), simp_lior(), simp_mod_rem(), simp_neg(), simp_power(), simp_recip(), simp_relop(), simp_shift(), simp_times(), simple_intrinsic(), simple_intrinsic_nt(), Simplify_Cond_With_Div_Floor(), SIMPNODE_SimplifyExp3(), SIMPNODE_SimplifyIntrinsic(), SNL_GEN_2D_Regtile(), SNL_Inner_Machine_Cost(), SNL_INV_Cache_Block(), SNL_Opr(), SNL_Optimize_LB_With_Access_Vectors(), SNL_Optimize_UB_With_Access_Vectors(), SNL_Regtile_Loop(), SNL_SPL_Fix_Second_Outer_Loop_Limits(), SNL_TRANS_INDEX_DATA::SNL_TRANS_INDEX_DATA(), Solve_For(), Split_Array(), PF_LOOPNODE::Split_Loops(), Split_Using_Preg(), ST_is_const_initialized_scalar(), STD_Canonicalize_Upper_Bound(), Struct_Is_HFA(), synth_module_prologue(), Targ_Conv(), Targ_WhirlOp(), SUMMARY_DESC::Target_mtype(), SUMMARY_VALUE::Target_mtype(), TAS_To_TOP(), Toggle_Eq_To_Remove_One(), Transform_Code(), AGGINIT::Traverse_Aggregate_Struct(), Traverse_TYs(), WN_INSTRUMENT_WALKER::Tree_Walk_Node(), Trip_Count(), Trip_Reduce_Loop(), Twod_Setbound(), TY_Of_Expr(), TY_Verify_Kind_Mtype(), Types_Are_Compatible(), Types_are_compatible(), types_are_compatible(), U64_LOWER_expr(), U64_LOWER_stmt_wn(), U64_lower_stmtrep(), Union_Formal_Cprop_Annot(), Union_Formal_Cprop_Annot_With_Cloning(), Union_Quasi_Clone_Cprop_Annot(), unop_routine(), Unroll_Make_Remainder_Loop(), unroll_multi_bb(), unroll_multi_make_remainder_loop(), Unroll_Replicate_Body(), update_linex_with_constant_mod(), Upper_Bound_In_Affinity_Range(), Upper_Bound_Standardize(), vho_lower_combine_loads(), vho_lower_comma(), vho_lower_cselect(), vho_lower_expr(), VHO_Lower_Mstid(), vho_lower_rcomma(), VHO_Lower_Switch(), Vintrinsic_Fission(), Walk_Linex(), ARA_LOOP_INFO::Walk_Rhs(), WFE_Add_Aggregate_Init_Double(), WFE_Add_Aggregate_Init_Integer(), WFE_Address_Of(), WFE_Alloca_ST(), Wfe_Expand_Asm_Operands(), WFE_Expand_End_Case(), WFE_Expand_Expr(), WFE_Expand_Return(), WFE_Expand_Start_Case(), WFE_Generate_Thunk(), WFE_Lhs_Of_Modify_Expr(), WFE_Save_Expr(), WFE_Unsave_Expr(), AGGINIT::WGEN_Add_Aggregate_Init_Integer(), WGEN_Address_Of(), WGEN_Adjust_Thunk(), Wgen_Expand_Asm_Operands(), WGEN_Expand_Expr(), WGEN_Expand_Return(), WGEN_Expand_Start_Case(), WGEN_Generate_Thunk(), WGEN_Lhs_Of_Modify_Expr(), WGEN_Save_Expr(), Wind_Down(), WN2F_Is_Address_Preg(), WN_ATOMIC_STORE_Lowering_Class(), WN_Can_Be_Speculative(), WN_Coerce(), WN_desc(), WN_emulation(), WN_ExprToNaryType(), WN_Float_Type_Conversion(), WN_Iload(), WN_Int_Type_Conversion(), WN_Ldid(), wn_loop_reverse_compare(), WN_LOOP_TripCount(), WN_Nary(), WN_NaryToExpr(), WN_RotateIntconst(), WN_rtype(), WN_Single_Iteration_Cost(), WN_Solve_For(), WN_Type_Conversion(), and WN_Upper_Bound_Standardize().
| #define USERTYPE | ( | t | ) |
Value:
Definition at line 3478 of file objc-act.c.
| #define UTAG_CATEGORY "_objc_category" |
Referenced by build_category_template().
| #define UTAG_CLASS "_objc_class" |
Referenced by build_class_template(), build_protocol_initializer(), build_protocol_template(), and build_super_template().
| #define UTAG_IVAR "_objc_ivar" |
Referenced by build_ivar_template().
| #define UTAG_IVAR_LIST "_objc_ivar_list" |
Referenced by build_class_template(), and generate_ivar_lists().
| #define UTAG_METHOD "_objc_method" |
Referenced by build_method_template().
| #define UTAG_METHOD_LIST "_objc_method_list" |
Referenced by build_category_template(), build_class_template(), and generate_dispatch_tables().
| #define UTAG_METHOD_PROTOTYPE "_objc_method_prototype" |
Referenced by build_method_prototype_template().
| #define UTAG_METHOD_PROTOTYPE_LIST "_objc__method_prototype_list" |
Referenced by build_method_list_template(), build_protocol_template(), and generate_method_descriptors().
| #define UTAG_MODULE "_objc_module" |
Referenced by build_module_descriptor().
| #define UTAG_PROTOCOL "_objc_protocol" |
| #define UTAG_PROTOCOL_LIST "_objc_protocol_list" |
| #define UTAG_SELECTOR "_objc_selector" |
Referenced by build_selector_template().
| #define UTAG_STATICS "_objc_statics" |
| #define UTAG_SUPER "_objc_super" |
Referenced by add_objc_decls(), and build_super_template().
| #define UTAG_SYMTAB "_objc_symtab" |
Referenced by build_module_descriptor(), and build_objc_symtab_template().
| enum string_section |
Definition at line 5626 of file objc-act.c.
References cat, CLASS_CATEGORY_LIST, CLASS_NAME, CLASS_SUPER_NAME, IDENTIFIER_POINTER, and warning.
Referenced by start_class().
Definition at line 5616 of file objc-act.c.
References interface_chain, and TREE_CHAIN.
Referenced by finish_objc(), and start_class().
Definition at line 5532 of file objc-act.c.
References CLASS_CLS_METHODS, comp_proto_with_proto(), error(), hash_add_attr(), hash_enter(), hash_lookup(), IDENTIFIER_POINTER, lookup_method(), METHOD_SEL_NAME, TREE_CHAIN, and TREE_CODE.
Definition at line 2174 of file objc-act.c.
References cls_ref_chain, NULL_TREE, tail, TREE_CHAIN, tree_cons, and TREE_VALUE.
Referenced by build_objc_string_object(), generate_category(), generate_protocols(), generate_shared_structures(), get_class_reference(), and get_super_receiver().
Definition at line 5574 of file objc-act.c.
References CLASS_NST_METHODS, comp_proto_with_proto(), error(), hash_add_attr(), hash_enter(), hash_lookup(), IDENTIFIER_POINTER, lookup_method(), METHOD_SEL_NAME, TREE_CHAIN, and TREE_CODE.
Definition at line 5652 of file objc-act.c.
References build_tree_list, chainon(), CLASS_IVARS, CLASS_RAW_IVARS, grokfield(), input_filename, lineno, TREE_PRIVATE, TREE_PROTECTED, and TREE_PUBLIC.
| void add_objc_decls | ( | ) |
Definition at line 7137 of file objc-act.c.
References build_tree_list, DECL_ARTIFICIAL, finish_decl(), get_identifier(), NULL_TREE, objc_super_template, start_decl(), TREE_USED, UOBJC_SUPER_decl, and UTAG_SUPER.
| static tree add_objc_string | ( | tree | ident, | |
| enum string_section | section | |||
| ) | [static] |
Definition at line 2243 of file objc-act.c.
References abort, build_objc_string_decl(), build_unary_op(), class_names, class_names_chain, meth_var_names, meth_var_names_chain, meth_var_types, meth_var_types_chain, NULL_TREE, TREE_CHAIN, tree_cons, TREE_PURPOSE, and TREE_VALUE.
Referenced by build_descriptor_table_initializer(), build_dispatch_table_initializer(), build_ivar_list_initializer(), build_selector(), generate_category(), generate_classref_translation_entry(), generate_protocols(), generate_shared_structures(), get_proto_encoding(), init_module_descriptor(), and objc_add_static_instance().
| static void add_objc_tree_codes | ( | ) | [static] |
Definition at line 8082 of file objc-act.c.
References int, LAST_BASE_TREE_CODE, LAST_OBJC_TREE_CODE, memcpy, objc_tree_code_length, objc_tree_code_name, objc_tree_code_type, tree_code_length, tree_code_name, and tree_code_type.
Referenced by objc_init().
Definition at line 6302 of file objc-act.c.
References protocol_chain, and TREE_CHAIN.
Referenced by objc_declare_protocols(), and start_protocol().
Definition at line 4495 of file objc-act.c.
References build1, build_tree_list, is_objc_type_qualifier(), NULL_TREE, objc_object_reference, TREE_CHAIN, tree_cons, TREE_PURPOSE, and TREE_VALUE.
Referenced by build_keyword_decl(), and build_method_decl().
Definition at line 7350 of file objc-act.c.
References copy_list(), gen_declaration_1(), IDENTIFIER_POINTER, nreverse(), sprintf(), strcat(), strcpy, strlen(), TREE_CHAIN, TREE_CODE, TREE_INT_CST_LOW, TREE_OPERAND, TREE_PURPOSE, TREE_READONLY, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_SIZE, TYPE_VOLATILE, and void_type_node.
Referenced by gen_declarator().
| static tree build_category_initializer | ( | tree | type, | |
| tree | cat_name, | |||
| tree | class_name, | |||
| tree | instance_methods, | |||
| tree | class_methods, | |||
| tree | protocol_list | |||
| ) | [static] |
Definition at line 4117 of file objc-act.c.
References build1, build_constructor(), build_int_2, build_tree_list, build_unary_op(), get_identifier(), groktypename(), nreverse(), NULL_TREE, tree_cons, TREE_TYPE, UTAG_PROTOCOL, and xref_tag().
Referenced by generate_category().
| static void build_category_template | ( | ) | [static] |
Definition at line 3163 of file objc-act.c.
References build1, build_tree_list, chainon(), finish_struct(), get_identifier(), grokfield(), input_filename, lineno, NULL_TREE, objc_category_template, RID_CHAR, ridpointers, start_struct(), UTAG_CATEGORY, UTAG_METHOD_LIST, UTAG_PROTOCOL, and xref_tag().
Referenced by generate_objc_symtab_decl().
| static tree build_class_reference_decl | ( | ) | [static] |
Definition at line 2146 of file objc-act.c.
References buf, build_decl, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_EXTERNAL, get_identifier(), ident, idx, make_decl_rtl(), objc_class_type, pushdecl_top_level(), sprintf(), TREE_PUBLIC, TREE_READONLY, and TREE_USED.
Referenced by get_class_reference().
| static void build_class_template | ( | ) | [static] |
Definition at line 3277 of file objc-act.c.
References build1, build_tree_list, chainon(), finish_struct(), get_identifier(), grokfield(), input_filename, lineno, NULL_TREE, objc_class_template, RID_CHAR, RID_LONG, RID_VOID, ridpointers, start_struct(), UTAG_CLASS, UTAG_IVAR_LIST, UTAG_METHOD_LIST, UTAG_PROTOCOL, and xref_tag().
Referenced by continue_class().
Definition at line 1376 of file objc-act.c.
References build(), convert(), f, NULL_TREE, TREE_CHAIN, TREE_CODE, TREE_CONSTANT, TREE_READONLY, TREE_STATIC, TREE_TYPE, TREE_VALUE, and TYPE_FIELDS.
Referenced by build_c_cast(), build_category_initializer(), build_constructor_from_list(), build_constructor_single(), build_ctr_info_value(), build_descriptor_table_initializer(), build_dispatch_table_initializer(), build_fn_info_value(), build_function_call(), build_gcov_info(), build_ivar_list_initializer(), build_objc_string_object(), build_protocol_initializer(), build_ptrmemfunc1(), build_selector_translation_table(), build_shared_structure_initializer(), build_zero_init(), class_initializer(), cp_gimplify_expr(), expand_vector_piecewise(), finish_compound_literal(), generate_descriptor_table(), generate_dispatch_table(), generate_ivars_list(), generate_protocol_list(), generate_static_references(), generic_initializer(), get_pseudo_ti_init(), init_def_list(), init_module_descriptor(), init_objc_symtab(), initialize_artificial_var(), pop_init_level(), ptm_initializer(), ptr_initializer(), reshape_init(), reshape_init_array_1(), reshape_init_class(), tinfo_base_init(), tsubst_copy(), tsubst_copy_and_build(), and vect_get_vec_def_for_operand().
Definition at line 2580 of file objc-act.c.
References add_objc_string(), build_array_type(), build_constructor(), build_selector(), meth_var_types, METHOD_ENCODING, METHOD_SEL_NAME, nreverse(), NULL_TREE, TREE_CHAIN, and tree_cons.
Referenced by generate_method_descriptors().
Definition at line 3847 of file objc-act.c.
References add_objc_string(), build_array_type(), build_constructor(), build_selector(), build_unary_op(), encode_method_def(), meth_var_types, METHOD_DEFINITION, METHOD_ENCODING, METHOD_SEL_NAME, nreverse(), NULL_TREE, TREE_CHAIN, and tree_cons.
Referenced by generate_dispatch_tables().
Definition at line 5266 of file objc-act.c.
References encode_type(), my_build_string(), OBJC_ENCODE_INLINE_DEFS, obstack_1grow, obstack_finish, obstack_free, obstack_object_size, result, strlen(), util_firstobj, and util_obstack.
Definition at line 2417 of file objc-act.c.
References CLASS_IVARS, CLASS_NAME, CLASS_SUPER_NAME, error(), exit(), fatal_error(), FATAL_EXIT_CODE, IDENTIFIER_POINTER, lookup_interface(), objc_copy_list(), tail, and TREE_CHAIN.
Referenced by build_private_template(), continue_class(), and get_class_ivars().
Definition at line 3717 of file objc-act.c.
References add_objc_string(), build_array_type(), build_constructor(), build_int_2, byte_position(), DECL_NAME, encode_field_decl(), get_identifier(), meth_var_names, meth_var_types, nreverse(), NULL_TREE, OBJC_ENCODE_DONT_INLINE_DEFS, obstack_1grow, obstack_finish, obstack_free, obstack_object_size, TREE_CHAIN, tree_cons, util_firstobj, and util_obstack.
Referenced by generate_ivar_lists().
Definition at line 3630 of file objc-act.c.
References build_int_2, build_nt(), build_tree_list, chainon(), finish_struct(), get_identifier(), grokfield(), input_filename, lineno, NULL_TREE, RID_INT, ridpointers, and start_struct().
Referenced by generate_ivar_lists().
Definition at line 5284 of file objc-act.c.
References build_component_ref(), build_indirect_ref(), IDENTIFIER_POINTER, instance_type, objc_method_context, self_decl, TREE_CODE, TREE_TYPE, and warning.
Referenced by lookup_objc_ivar().
| static tree build_ivar_template | ( | ) | [static] |
Definition at line 3584 of file objc-act.c.
References build1, build_tree_list, chainon(), finish_struct(), get_identifier(), grokfield(), input_filename, lineno, NULL_TREE, RID_CHAR, RID_INT, ridpointers, start_struct(), and UTAG_IVAR.
Referenced by generate_ivar_lists().
Definition at line 4539 of file objc-act.c.
References adjust_type_for_id_default(), KEYWORD_ARG_NAME, KEYWORD_KEY_NAME, make_node, and TREE_TYPE.
Definition at line 4561 of file objc-act.c.
References abort, alloca, buf, get_identifier(), IDENTIFIER_LENGTH, IDENTIFIER_POINTER, KEYWORD_KEY_NAME, len, strcat(), TREE_CHAIN, TREE_CODE, and TREE_PURPOSE.
Referenced by build_message_expr(), build_method_decl(), and build_selector_expr().
Definition at line 4797 of file objc-act.c.
References abort, args, build_keyword_selector(), element, error_mark_node, finish_message_expr(), NULL_TREE, prev, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, and TREE_VALUE.
Definition at line 4609 of file objc-act.c.
References adjust_type_for_id_default(), build_keyword_selector(), make_node, METHOD_ADD_ARGS, METHOD_SEL_ARGS, METHOD_SEL_NAME, NULL_TREE, TREE_CODE, and TREE_TYPE.
Definition at line 3670 of file objc-act.c.
References build1, build_int_2, build_nt(), build_tree_list, chainon(), finish_struct(), get_identifier(), grokfield(), input_filename, lineno, NULL_TREE, RID_INT, ridpointers, start_struct(), UTAG_METHOD_PROTOTYPE_LIST, and xref_tag().
Referenced by generate_dispatch_tables().
Definition at line 2619 of file objc-act.c.
References build_int_2, build_nt(), build_tree_list, chainon(), finish_struct(), get_identifier(), grokfield(), input_filename, lineno, NULL_TREE, RID_INT, ridpointers, and start_struct().
Referenced by generate_method_descriptors().
| static tree build_method_prototype_template | ( | ) | [static] |
Definition at line 2655 of file objc-act.c.
References build1, chainon(), finish_struct(), get_identifier(), grokfield(), input_filename, lineno, NULL_TREE, RID_CHAR, ridpointers, start_struct(), TAG_SELECTOR, tree_cons, UTAG_METHOD_PROTOTYPE, and xref_tag().
Referenced by generate_method_descriptors().
| static tree build_method_template | ( | ) | [static] |
Definition at line 3896 of file objc-act.c.
References build1, chainon(), finish_struct(), get_identifier(), grokfield(), input_filename, lineno, NULL_TREE, RID_CHAR, RID_VOID, ridpointers, start_struct(), TAG_SELECTOR, tree_cons, UTAG_METHOD, and xref_tag().
Referenced by generate_dispatch_tables().
| static rtx build_module_descriptor | ( | ) | [static] |
Definition at line 1660 of file objc-act.c.
References assemble_external(), build1, build_decl, build_function_call(), build_function_type(), build_nt(), build_tree_list, build_unary_op(), c_expand_expr_stmt(), chainon(), current_function_cannot_inline, current_function_decl, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_EXTERNAL, DECL_IGNORED_P, DECL_IN_SYSTEM_HEADER, DECL_INLINE, DECL_RTL, DECL_UNINLINABLE, finish_decl(), finish_function(), finish_struct(), get_file_function_name(), get_identifier(), grokfield(), gcc_target::have_ctors_dtors, init_module_descriptor(), input_filename, lineno, NULL_RTX, NULL_TREE, objc_module_template, ptr_type_node, pushdecl(), rest_of_decl_compilation(), RID_CHAR, RID_LONG, RID_STATIC, ridpointers, start_decl(), start_function(), start_struct(), store_parm_decls(), targetm, tree_cons, TREE_PUBLIC, TREE_TYPE, TREE_USED, UOBJC_MODULES_decl, UTAG_MODULE, UTAG_SYMTAB, void_type_node, XEXP, and xref_tag().
Referenced by finish_objc().
| static tree build_objc_method_call | ( | int | super_flag, | |
| tree | method_prototype, | |||
| tree | lookup_object, | |||
| tree | object, | |||
| tree | selector, | |||
| tree | method_params | |||
| ) | [static] |
Definition at line 5089 of file objc-act.c.
References assemble_external(), build_c_cast(), build_function_call(), build_function_type(), build_pointer_type(), get_arg_type_list(), get_identifier(), groktypename(), id_type, METHOD_REF, NULL_TREE, ptr_type_node, save_expr(), TAG_SUPER, tree_cons, TREE_TYPE, TYPE_ARG_TYPES, umsg_decl, umsg_super_decl, and xref_tag().
Referenced by finish_message_expr().
| static tree build_objc_string_decl | ( | enum string_section | section | ) | [static] |
Definition at line 2274 of file objc-act.c.
References buf, build_array_type(), build_decl, char_type_node, class_names, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_EXTERNAL, get_identifier(), ident, make_decl_rtl(), meth_var_names, meth_var_types, pushdecl_top_level(), sprintf(), TREE_CONSTANT, TREE_PUBLIC, TREE_READONLY, and TREE_USED.
Referenced by add_objc_string().
Definition at line 1271 of file objc-act.c.
References add_class_reference(), build_constructor(), build_int_2, build_string_class_template(), build_tree_list, build_unary_op(), combine_strings(), constant_string_id, constant_string_type, copy_node, error(), error_mark_node, IDENTIFIER_POINTER, length, lookup_interface(), nreverse(), NULL_TREE, objc_add_static_instance(), setup_string_decl(), string_class_decl, tree_cons, TREE_SET_CODE, TREE_STRING_LENGTH, and TYPE_FIELDS.
| static void build_objc_symtab_template | ( | ) | [static] |
Definition at line 1421 of file objc-act.c.
References build_array_type(), build_index_type(), build_int_2, build_pointer_type(), chainon(), create_builtin_decl(), finish_struct(), get_identifier(), index(), long_integer_type_node, NULL_TREE, objc_symtab_template, ptr_type_node, selector_type, short_integer_type_node, start_struct(), and UTAG_SYMTAB.
Referenced by generate_objc_symtab_decl().
Definition at line 2474 of file objc-act.c.
References build1, build_ivar_chain(), build_tree_list, CLASS_NAME, CLASS_STATIC_TEMPLATE, finish_struct(), groktypename(), instance_type, NULL_TREE, start_struct(), TREE_STATIC_TEMPLATE, TYPE_FIELDS, and uprivate_record.
Referenced by continue_class().
Definition at line 5221 of file objc-act.c.
References build_protocol_reference(), build_unary_op(), error(), error_mark_node, IDENTIFIER_POINTER, lookup_protocol(), p, PROTOCOL_FORWARD_DECL, protocol_type, and TREE_TYPE.
| static tree build_protocol_initializer | ( | tree | type, | |
| tree | protocol_name, | |||
| tree | protocol_list, | |||
| tree | instance_methods, | |||
| tree | class_methods | |||
| ) | [static] |
Definition at line 3108 of file objc-act.c.
References build1, build_constructor(), build_int_2, build_tree_list, build_unary_op(), get_identifier(), groktypename(), nreverse(), NULL_TREE, PROTOCOL_VERSION, tree_cons, TREE_TYPE, UTAG_CLASS, and xref_tag().
Referenced by generate_protocols().
Definition at line 5190 of file objc-act.c.
References build_decl, build_tree_list, DECL_ARTIFICIAL, DECL_EXTERNAL, groktypename(), ident, IDENTIFIER_GLOBAL_VALUE, make_decl_rtl(), NULL_TREE, objc_protocol_template, PROTOCOL_FORWARD_DECL, pushdecl_top_level(), synth_id_with_class_suffix(), TREE_PUBLIC, and TREE_USED.
Referenced by build_protocol_expr(), and generate_protocol_references().
| static tree build_protocol_template | ( | ) | [static] |
Definition at line 2517 of file objc-act.c.
References build1, build_tree_list, chainon(), finish_struct(), get_identifier(), grokfield(), input_filename, lineno, NULL_TREE, RID_CHAR, ridpointers, start_struct(), UTAG_CLASS, UTAG_METHOD_PROTOTYPE_LIST, UTAG_PROTOCOL, and xref_tag().
Referenced by generate_protocols(), and start_protocol().
Definition at line 1984 of file objc-act.c.
References add_objc_string(), build_c_cast(), meth_var_names, and selector_type.
Referenced by build_descriptor_table_initializer(), build_dispatch_table_initializer(), and build_selector_translation_table().
Definition at line 5245 of file objc-act.c.
References abort, build_keyword_selector(), build_selector_reference(), build_typed_selector_reference(), and TREE_CODE.
Definition at line 2116 of file objc-act.c.
References build_array_ref(), build_int_2, build_selector_reference_decl(), index(), NULL_TREE, sel_ref_chain, TREE_CHAIN, tree_cons, TREE_PURPOSE, TREE_VALUE, and UOBJC_SELECTOR_TABLE_decl.
Referenced by build_selector_expr(), and finish_message_expr().
| static tree build_selector_reference_decl | ( | ) | [static] |
Definition at line 1957 of file objc-act.c.
References buf, build_decl, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_EXTERNAL, get_identifier(), ident, idx, make_decl_rtl(), pushdecl_top_level(), selector_type, sprintf(), TREE_PUBLIC, TREE_READONLY, and TREE_USED.
Referenced by build_selector_reference().
| static void build_selector_template | ( | ) | [static] |
Definition at line 3229 of file objc-act.c.
References build1, build_tree_list, chainon(), finish_struct(), get_identifier(), grokfield(), input_filename, lineno, NULL_TREE, objc_selector_template, RID_CHAR, RID_VOID, ridpointers, start_struct(), and UTAG_SELECTOR.
Referenced by synth_module_prologue().
| static void build_selector_translation_table | ( | ) | [static] |
Definition at line 1995 of file objc-act.c.
References build_constructor(), build_int_2, build_selector(), build_tree_list, current_function_decl, DECL_EXTERNAL, DECL_INITIAL, DECL_NAME, finish_decl(), get_proto_encoding(), IDENTIFIER_LENGTH, nreverse(), NULL_TREE, objc_ellipsis_node, objc_selector_template, offset, RID_STATIC, ridpointers, sel_ref_chain, selector_type, start_decl(), TREE_CHAIN, tree_cons, TREE_PURPOSE, TREE_STATIC, TREE_TYPE, TREE_VALUE, and UOBJC_SELECTOR_TABLE_decl.
Referenced by finish_objc().
| static tree build_shared_structure_initializer | ( | tree | type, | |
| tree | isa, | |||
| tree | super, | |||
| tree | name, | |||
| tree | size, | |||
| int | status, | |||
| tree | dispatch_table, | |||
| tree | ivar_list, | |||
| tree | protocol_list | |||
| ) | [static] |
Definition at line 4188 of file objc-act.c.
References build1, build_constructor(), build_int_2, build_tree_list, build_unary_op(), default_conversion(), get_identifier(), groktypename(), nreverse(), NULL_TREE, tree_cons, TREE_TYPE, UTAG_PROTOCOL, and xref_tag().
Referenced by generate_shared_structures().
| static void build_string_class_template | ( | ) | [static] |
Definition at line 1221 of file objc-act.c.
References build_pointer_type(), chainon(), char_type_node, constant_string_type, create_builtin_decl(), finish_struct(), id_type, NULL_TREE, and unsigned_type_node.
Referenced by build_objc_string_object().
| static tree build_super_template | ( | ) | [static] |
Definition at line 3542 of file objc-act.c.
References build1, build_tree_list, chainon(), finish_struct(), get_identifier(), grokfield(), groktypename(), input_filename, lineno, NULL_TREE, objc_object_reference, start_struct(), super_type, UTAG_CLASS, UTAG_SUPER, and xref_tag().
Referenced by start_class().
| static tree build_tmp_function_decl | ( | ) | [static] |
Definition at line 2892 of file objc-act.c.
References build1, build_nt(), build_tree_list, define_decl(), get_identifier(), get_parm_info(), NULL_TREE, objc_object_reference, poplevel(), push_parm_decl(), pushlevel(), sprintf(), TAG_SELECTOR, xref_tag(), and xxx.
Referenced by generate_protocols(), and get_proto_encoding().
Definition at line 2089 of file objc-act.c.
References build_array_ref(), build_c_cast(), build_int_2, build_unary_op(), index(), NULL_TREE, sel_ref_chain, selector_type, TREE_CHAIN, tree_cons, TREE_PURPOSE, TREE_VALUE, and UOBJC_SELECTOR_TABLE_decl.
Referenced by build_selector_expr(), and finish_message_expr().
Definition at line 4695 of file objc-act.c.
References IDENTIFIER_POINTER, METHOD_SEL_NAME, hashed_attribute::next, NULL_TREE, TREE_CODE, hashed_attribute::value, warn_with_method(), and warning.
Referenced by finish_message_expr().
Definition at line 3483 of file objc-act.c.
References CLASS_IVARS, CLASS_RAW_IVARS, comptypes(), DECL_NAME, error(), error_with_ivar(), t1, t2, TREE_CHAIN, and TREE_TYPE.
Referenced by continue_class().
Definition at line 5801 of file objc-act.c.
References CLASS_NAME, CLASS_SUPER_NAME, first, IDENTIFIER_POINTER, lookup_method(), METHOD_SEL_NAME, objc_implementation_context, TREE_CHAIN, TREE_CODE, and warning.
Definition at line 5866 of file objc-act.c.
References abort, CLASS_CLS_METHODS, CLASS_NAME, CLASS_NST_METHODS, CLASS_SUPER_NAME, first, IDENTIFIER_POINTER, lookup_interface(), lookup_method(), METHOD_SEL_NAME, NULL_TREE, objc_implementation_context, TREE_CHAIN, TREE_CODE, and warning.
Referenced by check_protocol().
Definition at line 5933 of file objc-act.c.
References check_methods(), check_methods_accessible(), CLASS_CLS_METHODS, CLASS_NST_METHODS, CLASS_SUPER_NAME, conforms_to_protocol(), f1, f2, IDENTIFIER_POINTER, implementation_template, lookup_interface(), objc_implementation_context, PROTOCOL_CLS_METHODS, PROTOCOL_LIST, PROTOCOL_NAME, PROTOCOL_NST_METHODS, sub, TREE_CHAIN, TREE_CODE, TREE_VALUE, and warning.
Referenced by check_protocols().
Definition at line 982 of file objc-act.c.
References fatal_error(), IDENTIFIER_POINTER, lookup_protocol(), p, PROTOCOL_LIST, PROTOCOL_NAME, TREE_CHAIN, TREE_CODE, and TREE_VALUE.
Referenced by start_protocol().
Definition at line 5992 of file objc-act.c.
References check_protocol(), p, TREE_CHAIN, and TREE_VALUE.
Referenced by finish_class().
Definition at line 6978 of file objc-act.c.
References comptypes(), function1_template, get_arg_type_list(), groktypename(), make_node, METHOD_DEF, METHOD_DEFINITION, TREE_TYPE, and TYPE_ARG_TYPES.
Referenced by really_start_method().
Definition at line 6997 of file objc-act.c.
References comptypes(), function1_template, function2_template, get_arg_type_list(), groktypename(), make_node, METHOD_REF, TREE_TYPE, and TYPE_ARG_TYPES.
Referenced by add_class_method(), and add_instance_method().
Definition at line 5838 of file objc-act.c.
References CLASS_PROTOCOL_LIST, CLASS_SUPER_NAME, lookup_interface(), NULL_TREE, p, tmp, TREE_CHAIN, TREE_CODE, and TREE_VALUE.
Referenced by check_protocol().
Definition at line 6171 of file objc-act.c.
References build_class_template(), build_ivar_chain(), build_private_template(), check_ivars(), imp_entry::class_decl, CLASS_IVARS, CLASS_NAME, CLASS_STATIC_TEMPLATE, error_mark_node, finish_struct(), imp_entry::imp_context, imp_entry::imp_template, implementation_template, imp_entry::meta_decl, imp_entry::next, NULL_TREE, objc_class_template, synth_forward_declarations(), TREE_CODE, TREE_STATIC_TEMPLATE, TYPE_FIELDS, UOBJC_CLASS_decl, UOBJC_METACLASS_decl, xmalloc(), and xref_tag().
| void continue_method_def | ( | ) |
Definition at line 7115 of file objc-act.c.
References get_parm_info(), METHOD_ADD_ARGS, objc_ellipsis_node, objc_method_context, poplevel(), really_start_method(), self_decl, store_parm_decls(), and TREE_PURPOSE.
Definition at line 1041 of file objc-act.c.
References build_decl, DECL_ARTIFICIAL, get_identifier(), make_decl_rtl(), pushdecl(), and TREE_STATIC.
Referenced by build_objc_symtab_template(), build_string_class_template(), forward_declare_categories(), and synth_module_prologue().
Definition at line 618 of file objc-act.c.
References finish_decl(), NULL_TREE, and start_decl().
Referenced by build_tmp_function_decl(), finish_class(), generate_forward_declaration_to_string_table(), and synth_forward_declarations().
Definition at line 7967 of file objc-act.c.
References buf, CLASS_CLS_METHODS, CLASS_NAME, CLASS_NST_METHODS, CLASS_RAW_IVARS, CLASS_SUPER_NAME, fprintf(), gen_declaration(), gen_method_decl(), IDENTIFIER_POINTER, TREE_CHAIN, and xmalloc().
Referenced by finish_objc().
Definition at line 6642 of file objc-act.c.
References encode_aggregate_within(), obstack_1grow, TREE_CODE, and util_obstack.
Referenced by encode_type().
| static void encode_aggregate_within | ( | tree | type, | |
| int | curtype, | |||
| int | format, | |||
| int | left, | |||
| int | right | |||
| ) | [static] |
Definition at line 6521 of file objc-act.c.
References DECL_NAME, encode_field_decl(), IDENTIFIER_POINTER, OBJC_ENCODE_INLINE_DEFS, obstack_1grow, obstack_grow, obstack_next_free, obstack_object_size, strlen(), TREE_CHAIN, TREE_CODE, TYPE_FIELDS, TYPE_MAIN_VARIANT, TYPE_NAME, and util_obstack.
Referenced by encode_aggregate().
Definition at line 6494 of file objc-act.c.
References encode_pointer(), encode_type(), NULL, obstack_1grow, obstack_grow, sprintf(), strlen(), TREE_INT_CST_LOW, TREE_TYPE, TYPE_SIZE, and util_obstack.
Referenced by encode_type().
| static void encode_bitfield | ( | int | width | ) | [static] |
Definition at line 6682 of file objc-act.c.
References obstack_grow, sprintf(), strlen(), and util_obstack.
Referenced by encode_field_decl().
Definition at line 6769 of file objc-act.c.
References abort, integer_zerop(), long_integer_type_node, long_unsigned_type_node, obstack_grow, sprintf(), strlen(), TREE_CODE, TYPE_MIN_VALUE, TYPE_MODE, and util_obstack.
Referenced by encode_field_decl().
Definition at line 6825 of file objc-act.c.
References DECL_BIT_FIELD, DECL_BIT_FIELD_TYPE, DECL_SIZE, encode_bitfield(), encode_complete_bitfield(), encode_type(), int_bit_position(), tree_low_cst(), and TREE_TYPE.
Referenced by build_ivar_list_initializer(), and encode_aggregate_within().
Definition at line 7244 of file objc-act.c.
References DECL_ARGUMENTS, encode_type(), forwarding_offset(), get_identifier(), HOST_WIDE_INT, int_size_in_bytes(), OBJC_ENCODE_INLINE_DEFS, OBJC_FORWARDING_MIN_OFFSET, obstack_1grow, obstack_finish, obstack_free, obstack_grow, obstack_object_size, result, sprintf(), strlen(), TREE_CHAIN, TREE_TYPE, util_firstobj, and util_obstack.
Referenced by build_dispatch_table_initializer(), and objc_expand_function_end().
Definition at line 2733 of file objc-act.c.
References buf, DECL_ARGUMENTS, encode_type(), encode_type_qualifiers(), forwarding_offset(), get_identifier(), HOST_WIDE_INT, int_size_in_bytes(), METHOD_SEL_ARGS, OBJC_ENCODE_INLINE_DEFS, OBJC_FORWARDING_MIN_OFFSET, obstack_1grow, obstack_finish, obstack_free, obstack_grow, obstack_object_size, result, sprintf(), strlen(), TREE_CHAIN, TREE_PURPOSE, TREE_TYPE, util_firstobj, and util_obstack.
Referenced by generate_protocols(), and get_proto_encoding().
Definition at line 6432 of file objc-act.c.
References encode_type(), IDENTIFIER_POINTER, obstack_1grow, obstack_grow, strcmp(), strlen(), TAG_CLASS, TAG_OBJECT, TAG_SELECTOR, TREE_CODE, TREE_STATIC_TEMPLATE, TREE_TYPE, TYPE_MODE, TYPE_NAME, and util_obstack.
Referenced by encode_array(), and encode_type().
Definition at line 6693 of file objc-act.c.
References encode_aggregate(), encode_array(), encode_pointer(), integer_zerop(), long_integer_type_node, long_unsigned_type_node, obstack_1grow, TREE_CODE, TYPE_MIN_VALUE, TYPE_MODE, and util_obstack.
Referenced by build_encode_expr(), encode_array(), encode_field_decl(), encode_method_def(), encode_method_prototype(), and encode_pointer().
Definition at line 6405 of file objc-act.c.
References obstack_1grow, RID_BYCOPY, RID_BYREF, RID_CONST, RID_IN, RID_INOUT, RID_ONEWAY, RID_OUT, ridpointers, TREE_CHAIN, TREE_VALUE, and util_obstack.
Referenced by encode_method_prototype().
Definition at line 3462 of file objc-act.c.
References DECL_SOURCE_FILE, DECL_SOURCE_LINE, and gen_declaration().
Referenced by check_ivars().
Definition at line 6856 of file objc-act.c.
References next, and TREE_OPERAND.
Referenced by block_may_fallthru(), c_finish_if_stmt(), cp_gimplify_init_expr(), really_start_method(), shortcut_cond_expr(), stabilize_init(), start_method_def(), tree_expr_nonnegative_p(), and tree_expr_nonnegative_warnv_p().
Definition at line 6235 of file objc-act.c.
References alloca, build1, build_tree_list, category, check_methods(), check_protocols(), CLASS_CATEGORY_LIST, CLASS_CLS_METHODS, CLASS_NAME, CLASS_NST_METHODS, CLASS_PROTOCOL_LIST, CLASS_SUPER_NAME, define_decl(), get_identifier(), IDENTIFIER_POINTER, implementation_template, NULL_TREE, objc_implementation_context, objc_object_reference, RID_EXTERN, ridpointers, sprintf(), strlen(), TREE_CODE, and tree_cons.
Definition at line 566 of file objc-act.c.
References c_objc_common_finish_file(), fclose(), and finish_objc().
Definition at line 4850 of file objc-act.c.
References build_objc_method_call(), build_selector_reference(), build_typed_selector_reference(), build_unary_op(), check_duplicates(), CLASS_CLS_METHODS, CLASS_NAME, CLASS_NST_METHODS, CLASS_SUPER_NAME, comptypes(), error(), error_mark_node, gen_declaration(), hash_lookup(), IDENTIFIER_POINTER, implementation_template, IS_ID, IS_PROTOCOL_QUALIFIED_ID, IS_SUPER, lookup_class_method_static(), lookup_instance_method_static(), lookup_interface(), lookup_method(), lookup_method_in_protocol_list(), NULL_TREE, objc_class_type, objc_implementation_context, objc_method_context, receiver_is_class_object(), save_expr(), self_decl, TREE_CODE, TREE_STATIC_TEMPLATE, TREE_TYPE, TYPE_NAME, TYPE_PROTOCOL_LIST, and warning.
Referenced by build_message_expr().
| void finish_method_def | ( | ) |
Definition at line 7307 of file objc-act.c.
References finish_function(), NULL, NULL_TREE, objc_expand_function_end(), and objc_method_context.
| static void finish_objc | ( | ) | [static] |
Definition at line 8106 of file objc-act.c.
References add_class(), gcc_target::asm_out, build_module_descriptor(), build_selector_translation_table(), imp_entry::class_decl, class_names_chain, cls_ref_chain, gcc_target::asm_out::constructor, DEFAULT_INIT_PRIORITY, dump_interface(), finish_class(), generate_category(), generate_classref_translation_entry(), generate_dispatch_tables(), generate_forward_declaration_to_string_table(), generate_ivar_lists(), generate_objc_symtab_decl(), generate_protocols(), generate_shared_structures(), generate_static_references(), generate_strings(), handle_class_ref(), handle_impent(), gcc_target::have_ctors_dtors, IDENTIFIER_POINTER, imp_entry::imp_context, imp_entry::imp_template, implementation_template, imp_entry::meta_decl, meth_var_names_chain, meth_var_types_chain, METHOD_SEL_NAME, hash::next, hashed_attribute::next, imp_entry::next, NULL_TREE, objc_implementation_context, objc_ivar_chain, OBJC_PROLOGUE, objc_static_instances, protocol_chain, sel_ref_chain, SIZEHASHTABLE, targetm, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, UOBJC_CLASS_decl, UOBJC_METACLASS_decl, hashed_attribute::value, warn_missing_braces, warn_with_method(), and warning.
Referenced by finish_file().
| void finish_protocol | ( | protocol | ) |
Definition at line 6395 of file objc-act.c.
| static void forward_declare_categories | ( | ) | [static] |
Definition at line 1567 of file objc-act.c.
References imp_entry::class_decl, create_builtin_decl(), IDENTIFIER_POINTER, imp_entry::imp_context, imp_entry::next, objc_category_template, objc_implementation_context, synth_id_with_class_suffix(), and TREE_CODE.
Referenced by generate_objc_symtab_decl().
| static int forwarding_offset | ( | tree | parm | ) | [static] |
Definition at line 2688 of file objc-act.c.
References addr(), apply_args_register_offset(), BYTES_BIG_ENDIAN, DECL_ARG_TYPE, DECL_INCOMING_RTL, DECL_RTL, GET_CODE, GET_MODE, GET_MODE_SIZE, INTVAL, MEM, OBJC_FORWARDING_STACK_OFFSET, PLUS, REG, REGNO, TREE_TYPE, TYPE_MODE, and XEXP.
Referenced by encode_method_def(), and encode_method_prototype().
| static char* gen_declaration | ( | tree | atype_or_adecl, | |
| char * | buf | |||
| ) | [static] |
Definition at line 7799 of file objc-act.c.
References gen_declaration_1().
Referenced by dump_interface(), error_with_ivar(), finish_message_expr(), and get_object_reference().
Definition at line 7812 of file objc-act.c.
References DECL_NAME, gen_declarator(), gen_declspecs(), IDENTIFIER_POINTER, is_complex_decl(), NULL_TREE, strcat(), TREE_CODE, TREE_PURPOSE, TREE_TYPE, and TREE_VALUE.
Referenced by adorn_decl(), gen_declaration(), and gen_method_decl().
| static char* gen_declarator | ( | tree | decl, | |
| char * | buf, | |||
| const char * | name | |||
| ) | [static] |
Definition at line 7452 of file objc-act.c.
References abort, adorn_decl(), IDENTIFIER_POINTER, is_complex_decl(), NULL_TREE, str, strcat(), strcpy, TREE_CODE, TREE_OPERAND, and TREE_TYPE.
Referenced by gen_declaration_1().
Definition at line 7544 of file objc-act.c.
References char_type_node, copy_list(), DECL_NAME, double_type_node, float_type_node, IDENTIFIER_POINTER, integer_type_node, IS_ID, long_double_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, nreverse(), PROTOCOL_NAME, short_integer_type_node, short_unsigned_type_node, signed_char_type_node, strcat(), TREE_CHAIN, TREE_CODE, TREE_READONLY, TREE_STATIC_TEMPLATE, TREE_VALUE, TYPE_MAIN_VARIANT, TYPE_NAME, TYPE_PROTOCOL_LIST, TYPE_VOLATILE, unsigned_char_type_node, and unsigned_type_node.
Referenced by gen_declaration_1().
| static char* gen_method_decl | ( | tree | method, | |
| char * | buf | |||
| ) | [static] |
Definition at line 7903 of file objc-act.c.
References gen_declaration_1(), IDENTIFIER_POINTER, KEYWORD_ARG_NAME, KEYWORD_KEY_NAME, METHOD_ADD_ARGS, METHOD_SEL_ARGS, METHOD_SEL_NAME, objc_ellipsis_node, objc_object_reference, RAW_TYPESPEC, strcat(), TREE_CHAIN, TREE_PURPOSE, and TREE_TYPE.
Referenced by dump_interface(), and warn_with_method().
Definition at line 4281 of file objc-act.c.
References add_class_reference(), add_objc_string(), build_category_initializer(), category, CLASS_CATEGORY_LIST, CLASS_NAME, class_names, CLASS_PROTOCOL_LIST, CLASS_SUPER_NAME, finish_decl(), generate_protocol_list(), generate_protocol_references(), implementation_template, NULL_TREE, objc_category_template, objc_implementation_context, RID_STATIC, ridpointers, start_decl(), synth_id_with_class_suffix(), tree_cons, TREE_TYPE, TREE_USED, UOBJC_CLASS_METHODS_decl, and UOBJC_INSTANCE_METHODS_decl.
Referenced by finish_objc().
Definition at line 8250 of file objc-act.c.
References add_objc_string(), build_c_cast(), build_tree_list, class_names, DECL_CONTEXT, DECL_NAME, finish_decl(), NULL_TREE, RID_STATIC, ridpointers, start_decl(), tree_cons, TREE_PURPOSE, TREE_TYPE, and TREE_VALUE.
Referenced by finish_objc().
| static tree generate_descriptor_table | ( | tree | type, | |
| const char * | name, | |||
| int | size, | |||
| tree | list, | |||
| tree | proto | |||
| ) | [static] |
Definition at line 2803 of file objc-act.c.
References build_constructor(), build_int_2, build_tree_list, DECL_CONTEXT, finish_decl(), nreverse(), NULL_TREE, RID_STATIC, ridpointers, start_decl(), synth_id_with_class_suffix(), and tree_cons.
Referenced by generate_method_descriptors().
Definition at line 3936 of file objc-act.c.
References build_constructor(), build_int_2, build_tree_list, finish_decl(), nreverse(), NULL_TREE, objc_implementation_context, RID_STATIC, ridpointers, start_decl(), synth_id_with_class_suffix(), tree_cons, and TREE_TYPE.
Referenced by generate_dispatch_tables().
| static void generate_dispatch_tables | ( | ) | [static] |
Definition at line 3962 of file objc-act.c.
References build_dispatch_table_initializer(), build_method_list_template(), build_method_template(), build_tree_list, CLASS_CLS_METHODS, CLASS_NST_METHODS, generate_dispatch_table(), get_identifier(), groktypename(), list_length(), NULL_TREE, objc_implementation_context, objc_method_template, size, TREE_CODE, TREE_TYPE, UOBJC_CLASS_METHODS_decl, UOBJC_INSTANCE_METHODS_decl, UTAG_METHOD_LIST, and xref_tag().
Referenced by finish_objc().
| static void generate_forward_declaration_to_string_table | ( | ) | [static] |
Definition at line 1785 of file objc-act.c.
References build_nt(), define_decl(), get_identifier(), NULL_TREE, RID_CHAR, RID_EXTERN, ridpointers, tree_cons, and UOBJC_STRINGS_decl.
Referenced by finish_objc(), and synth_module_prologue().
| static void generate_ivar_lists | ( | ) | [static] |
Definition at line 3791 of file objc-act.c.
References build_ivar_list_initializer(), build_ivar_list_template(), build_ivar_template(), build_tree_list, CLASS_IVARS, CLASS_SUPER_NAME, generate_ivars_list(), get_identifier(), groktypename(), implementation_template, list_length(), NULL_TREE, objc_class_template, objc_ivar_template, size, TREE_TYPE, TYPE_FIELDS, UOBJC_CLASS_VARIABLES_decl, UOBJC_INSTANCE_VARIABLES_decl, UTAG_IVAR_LIST, and xref_tag().
Referenced by finish_objc().
Definition at line 3766 of file objc-act.c.
References build_constructor(), build_int_2, build_tree_list, finish_decl(), nreverse(), NULL_TREE, objc_implementation_context, RID_STATIC, ridpointers, start_decl(), synth_id_with_class_suffix(), tree_cons, and TREE_TYPE.
Referenced by generate_ivar_lists().
Definition at line 2829 of file objc-act.c.
References build_descriptor_table_initializer(), build_method_prototype_list_template(), build_method_prototype_template(), build_tree_list, generate_descriptor_table(), get_identifier(), groktypename(), list_length(), NULL_TREE, objc_method_prototype_template, PROTOCOL_CLS_METHODS, PROTOCOL_NST_METHODS, size, TREE_TYPE, UOBJC_CLASS_METHODS_decl, UOBJC_INSTANCE_METHODS_decl, UTAG_METHOD_PROTOTYPE_LIST, and xref_tag().
Referenced by generate_protocols().
| static void generate_objc_symtab_decl | ( | ) | [static] |
Definition at line 1590 of file objc-act.c.
References build_category_template(), build_objc_symtab_template(), build_tree_list, DECL_ARTIFICIAL, DECL_IGNORED_P, finish_decl(), forward_declare_categories(), get_identifier(), init_objc_symtab(), NULL_TREE, objc_category_template, objc_symtab_template, RID_STATIC, ridpointers, start_decl(), tree_cons, TREE_TYPE, TREE_USED, and UOBJC_SYMBOLS_decl.
Referenced by finish_objc().
Definition at line 4030 of file objc-act.c.
References abort, build1, build_constructor(), build_int_2, build_nt(), build_tree_list, build_unary_op(), CLASS_PROTOCOL_LIST, DECL_CONTEXT, finish_decl(), get_identifier(), groktypename(), nreverse(), NULL_TREE, PROTOCOL_FORWARD_DECL, PROTOCOL_LIST, RID_STATIC, ridpointers, size, start_decl(), synth_id_with_class_suffix(), TREE_CHAIN, TREE_CODE, tree_cons, TREE_TYPE, TREE_VALUE, UTAG_PROTOCOL, and xref_tag().
Referenced by generate_category(), generate_protocols(), and generate_shared_structures().
Definition at line 2984 of file objc-act.c.
References build_protocol_reference(), PROTOCOL_FORWARD_DECL, PROTOCOL_LIST, PROTOCOL_NAME, TREE_CHAIN, TREE_CODE, and TREE_VALUE.
Referenced by generate_category(), generate_protocols(), and generate_shared_structures().
| static void generate_protocols | ( | ) | [static] |
Definition at line 3007 of file objc-act.c.
References add_class_reference(), add_objc_string(), build1, build_int_2, build_protocol_initializer(), build_protocol_template(), build_tmp_function_decl(), build_tree_list, build_unary_op(), class_names, DECL_CONTEXT, encode_method_prototype(), finish_decl(), generate_method_descriptors(), generate_protocol_list(), generate_protocol_references(), get_identifier(), groktypename(), hack_method_prototype(), METHOD_ENCODING, NULL_TREE, objc_protocol_template, p, protocol_chain, PROTOCOL_CLS_METHODS, PROTOCOL_FORWARD_DECL, PROTOCOL_LIST, PROTOCOL_NAME, PROTOCOL_NST_METHODS, PROTOCOL_OBJECT_CLASS_NAME, RID_STATIC, ridpointers, start_decl(), synth_id_with_class_suffix(), TREE_CHAIN, tree_cons, TREE_TYPE, TREE_USED, UOBJC_CLASS_METHODS_decl, and UOBJC_INSTANCE_METHODS_decl.
Referenced by finish_objc().
| static void generate_shared_structures | ( | ) | [static] |
Definition at line 4332 of file objc-act.c.
References add_class_reference(), add_objc_string(), build1, build_c_cast(), build_int_2, build_shared_structure_initializer(), build_tree_list, build_unary_op(), CLASS_NAME, class_names, CLASS_PROTOCOL_LIST, CLASS_STATIC_TEMPLATE, CLASS_SUPER_NAME, convert(), DECL_NAME, finish_decl(), generate_protocol_list(), generate_protocol_references(), groktypename(), implementation_template, integer_type_node, lookup_interface(), NULL_TREE, objc_class_template, RID_STATIC, ridpointers, start_decl(), tree_cons, TREE_TYPE, TYPE_SIZE_UNIT, UOBJC_CLASS_decl, UOBJC_CLASS_METHODS_decl, UOBJC_CLASS_VARIABLES_decl, UOBJC_INSTANCE_METHODS_decl, UOBJC_INSTANCE_VARIABLES_decl, and UOBJC_METACLASS_decl.
Referenced by finish_objc().
| static void generate_static_references | ( | ) | [static] |
Definition at line 1828 of file objc-act.c.
References abort, buf, build_array_type(), build_constructor(), build_decl, build_int_2, build_nt(), build_pointer_type(), build_tree_list, build_unary_op(), class_names, DECL_ARTIFICIAL, DECL_CONTEXT, decls, finish_decl(), get_identifier(), get_objc_string_decl(), ident, nreverse(), NULL_TREE, objc_static_instances, RID_STATIC, ridpointers, sprintf(), start_decl(), static_instances_decl, TREE_CHAIN, tree_cons, TREE_PURPOSE, TREE_STATIC, TREE_TYPE, TREE_USED, TREE_VALUE, TYPE_NAME, and void_type_node.
Referenced by finish_objc().
| static void generate_strings | ( | ) | [static] |
Definition at line 1904 of file objc-act.c.
References build_nt(), class_names_chain, DECL_CONTEXT, DECL_NAME, finish_decl(), IDENTIFIER_LENGTH, IDENTIFIER_POINTER, meth_var_names_chain, meth_var_types_chain, my_build_string(), NULL_TREE, RID_CHAR, RID_STATIC, ridpointers, start_decl(), TREE_CHAIN, tree_cons, TREE_PURPOSE, and TREE_VALUE.
Referenced by finish_objc().
Definition at line 4652 of file objc-act.c.
References build_tree_list, chainon(), groktypename_in_parm_context(), id_type, METHOD_ADD_ARGS, METHOD_DEF, METHOD_SEL_ARGS, NULL_TREE, objc_ellipsis_node, selector_type, self_decl, super_type, TREE_CHAIN, TREE_TYPE, and void_type_node.
Referenced by build_objc_method_call(), comp_method_with_proto(), and comp_proto_with_proto().
Definition at line 2203 of file objc-act.c.
References add_class_reference(), assemble_external(), build_class_reference_decl(), build_function_call(), build_tree_list, cls_ref_chain, IDENTIFIER_LENGTH, IDENTIFIER_POINTER, my_build_string(), NULL_TREE, objc_get_class_decl, TREE_CHAIN, tree_cons, TREE_PURPOSE, and TREE_VALUE.
Referenced by get_super_receiver().
| static tree get_objc_string_decl | ( | tree | ident, | |
| enum string_section | section | |||
| ) | [static] |
Definition at line 1801 of file objc-act.c.
References abort, class_names, class_names_chain, meth_var_names, meth_var_names_chain, meth_var_types, meth_var_types_chain, NULL_TREE, TREE_PURPOSE, and TREE_VALUE.
Referenced by generate_static_references().
Definition at line 929 of file objc-act.c.
References copy_node, error(), error_mark_node, gen_declaration(), id_type, lookup_and_install_protocols(), lookup_name(), make_tree_vec, NULL_TREE, objc_id_id, TREE_CODE, TREE_TYPE, TYPE_BINFO, TYPE_MAIN_VARIANT, TYPE_NEXT_VARIANT, TYPE_POINTER_TO, TYPE_PROTOCOL_LIST, and warning.
Definition at line 2061 of file objc-act.c.
References add_objc_string(), build_int_2, build_tmp_function_decl(), encode_method_prototype(), hack_method_prototype(), meth_var_types, and METHOD_ENCODING.
Referenced by build_selector_translation_table().
Definition at line 895 of file objc-act.c.
References copy_node, lookup_and_install_protocols(), make_tree_vec, NULL_TREE, TYPE_BINFO, TYPE_MAIN_VARIANT, TYPE_NEXT_VARIANT, TYPE_POINTER_TO, TYPE_PROTOCOL_LIST, and xref_tag().
| tree get_super_receiver | ( | ) |
Definition at line 7161 of file objc-act.c.
References add_class_reference(), assemble_external(), build_component_ref(), build_compound_expr(), build_function_call(), build_indirect_ref(), build_modify_expr(), build_tree_list, build_unary_op(), chainon(), CLASS_NAME, CLASS_SUPER_NAME, error(), error_mark_node, get_class_reference(), get_identifier(), IDENTIFIER_LENGTH, IDENTIFIER_POINTER, implementation_template, my_build_string(), NULL_TREE, objc_get_class_decl, objc_get_meta_class_decl, objc_implementation_context, objc_method_context, self_decl, self_id, TREE_CODE, TREE_TYPE, ucls_super_ref, UOBJC_SUPER_decl, and uucls_super_ref.
Referenced by lookup_objc_ivar().
Definition at line 8396 of file objc-act.c.
References ggc_mark_tree, hash::next, hashed_attribute::next, NULL, SIZEHASHTABLE, and hashed_attribute::value.
Referenced by objc_act_parse_init().
Definition at line 8381 of file objc-act.c.
References imp_entry::class_decl, ggc_mark_tree, imp_entry::imp_context, imp_entry::imp_template, imp_entry::meta_decl, and imp_entry::next.
Referenced by objc_act_parse_init().
Definition at line 2932 of file objc-act.c.
References abort, assign_parms(), build_decl, current_function_decl, DECL_ARGUMENTS, DECL_CONTEXT, DECL_RESULT, get_parm_info(), groktypename(), init_function_start(), integer_type_node, METHOD_ADD_ARGS, NULL, objc_ellipsis_node, poplevel(), start_method_def(), TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_SET_CODE, TREE_TYPE, and TYPE_PRECISION.
Referenced by generate_protocols(), and get_proto_encoding().
Definition at line 8277 of file objc-act.c.
References alloca, ASM_DECLARE_UNRESOLVED_REFERENCE, asm_out_file, build1, build_decl, char_type_node, DECL_EXTERNAL, DECL_INITIAL, exp, get_identifier(), IDENTIFIER_POINTER, pushdecl(), rest_of_decl_compilation(), sprintf(), string_type_node, strlen(), TREE_PUBLIC, TREE_STATIC, TREE_USED, and TREE_VALUE.
Referenced by finish_objc().
Definition at line 8318 of file objc-act.c.
References alloca, ASM_DECLARE_CLASS_REFERENCE, asm_out_file, assemble_variable(), BITS_PER_WORD, build_decl, build_int_2, CLASS_NAME, CLASS_SUPER_NAME, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_INITIAL, get_identifier(), IDENTIFIER_POINTER, implementation_template, objc_implementation_context, sprintf(), strlen(), TREE_CODE, TREE_CONSTANT, TREE_PUBLIC, TREE_READONLY, TREE_TYPE, TREE_USED, and type_for_size().
Referenced by finish_objc().
Definition at line 5377 of file objc-act.c.
References ATTR_ALLOC_LIST_SIZE, hashed_attribute::next, hashed_attribute::value, and xmalloc().
Referenced by add_class_method(), and add_instance_method().
Definition at line 5334 of file objc-act.c.
References HASH_ALLOC_LIST_SIZE, hash_func(), METHOD_SEL_NAME, hash::next, SIZEHASHTABLE, and xmalloc().
Referenced by add_class_method(), and add_instance_method().
Definition at line 5309 of file objc-act.c.
References h, IDENTIFIER_POINTER, and s.
Referenced by hash_enter(), and hash_lookup().
| static void hash_init | ( | ) | [static] |
Definition at line 5322 of file objc-act.c.
References SIZEHASHTABLE, and xcalloc().
Referenced by init_objc().
Definition at line 5358 of file objc-act.c.
References hash_func(), METHOD_SEL_NAME, hash::next, SIZEHASHTABLE, and target.
Definition at line 1476 of file objc-act.c.
References build_constructor(), build_int_2, build_unary_op(), imp_entry::class_decl, imp_entry::imp_context, imp_entry::next, nreverse(), NULL_TREE, static_instances_decl, TREE_CODE, and tree_cons.
Referenced by init_objc_symtab().
Definition at line 1621 of file objc-act.c.
References add_objc_string(), build_constructor(), build_int_2, build_tree_list, build_unary_op(), class_names, get_identifier(), input_filename, nreverse(), NULL_TREE, objc_module_template, OBJC_VERSION, size_in_bytes(), tree_cons, and UOBJC_SYMBOLS_decl.
Referenced by build_module_descriptor().
| static void init_objc | ( | ) | [static] |
Definition at line 8095 of file objc-act.c.
References BUFSIZE, gcc_obstack_init, hash_init(), obstack_finish, synth_module_prologue(), util_firstobj, util_obstack, and xmalloc().
Referenced by objc_init().
Definition at line 1521 of file objc-act.c.
References build_constructor(), build_int_2, build_tree_list, build_unary_op(), init_def_list(), nreverse(), NULL_TREE, sel_ref_chain, static_instances_decl, TREE_CHAIN, tree_cons, TREE_TYPE, TYPE_FIELDS, and UOBJC_SELECTOR_TABLE_decl.
Referenced by generate_objc_symtab_decl().
Definition at line 2349 of file objc-act.c.
References alias_chain, class_chain, lookup_interface(), TREE_CHAIN, TREE_PURPOSE, and TREE_VALUE.
| static int is_complex_decl | ( | tree | type | ) | [static] |
Definition at line 7336 of file objc-act.c.
References IS_ID, and TREE_CODE.
Referenced by gen_declaration_1(), and gen_declarator().
Definition at line 5703 of file objc-act.c.
References DECL_NAME, NULL_TREE, and TREE_CHAIN.
Referenced by VN_IVC::Is_Induction_Var(), is_private(), is_public(), and lookup_objc_ivar().
| static int is_objc_type_qualifier | ( | tree | node | ) | [static] |
Definition at line 4477 of file objc-act.c.
References RID_BYCOPY, RID_BYREF, RID_CONST, RID_IN, RID_INOUT, RID_ONEWAY, RID_OUT, RID_VOLATILE, ridpointers, and TREE_CODE.
Referenced by adjust_type_for_id_default().
| int is_private | ( | tree | decl | ) |
Definition at line 5716 of file objc-act.c.
References CLASS_IVARS, DECL_NAME, error(), IDENTIFIER_POINTER, implementation_template, is_ivar(), and TREE_PRIVATE.
Referenced by is_public(), and lookup_objc_ivar().
Definition at line 5733 of file objc-act.c.
References CLASS_NAME, error(), IDENTIFIER_POINTER, is_ivar(), is_private(), lookup_interface(), objc_implementation_context, objc_object_reference, TREE_CODE, TREE_PRIVATE, TREE_PUBLIC, TREE_STATIC_TEMPLATE, TREE_TYPE, TYPE_FIELDS, TYPE_NAME, uprivate_record, and warning.
Definition at line 1004 of file objc-act.c.
References error(), ident, IDENTIFIER_POINTER, lookup_protocol(), NULL, p, prev, TREE_CHAIN, and TREE_VALUE.
Referenced by get_object_reference(), get_static_reference(), start_class(), and start_protocol().
Definition at line 5473 of file objc-act.c.
References category, CLASS_CATEGORY_LIST, CLASS_CLS_METHODS, CLASS_PROTOCOL_LIST, CLASS_SUPER_NAME, lookup_instance_method_static(), lookup_interface(), lookup_method(), lookup_method_in_protocol_list(), and NULL_TREE.
Referenced by finish_message_expr(), and really_start_method().
Definition at line 5420 of file objc-act.c.
References category, CLASS_CATEGORY_LIST, CLASS_NST_METHODS, CLASS_PROTOCOL_LIST, CLASS_SUPER_NAME, lookup_interface(), lookup_method(), lookup_method_in_protocol_list(), and NULL_TREE.
Referenced by finish_message_expr(), lookup_class_method_static(), and really_start_method().
Definition at line 2373 of file objc-act.c.
References CLASS_NAME, interface_chain, NULL_TREE, and TREE_CHAIN.
Definition at line 5399 of file objc-act.c.
References METHOD_SEL_NAME, NULL_TREE, TREE_CHAIN, and TREE_CODE.
Referenced by add_class_method(), add_instance_method(), check_methods(), check_methods_accessible(), finish_message_expr(), lookup_class_method_static(), lookup_instance_method_static(), and lookup_method_in_protocol_list().
| static tree lookup_method_in_protocol_list | ( | tree | rproto_list, | |
| tree | sel_name, | |||
| int | class_meth | |||
| ) | [static] |
Definition at line 648 of file objc-act.c.
References lookup_method(), p, PROTOCOL_CLS_METHODS, PROTOCOL_LIST, PROTOCOL_NST_METHODS, TREE_CHAIN, TREE_CODE, and TREE_VALUE.
Referenced by finish_message_expr(), lookup_class_method_static(), and lookup_instance_method_static().
Definition at line 8427 of file objc-act.c.
References build_ivar_reference(), error_mark_node, get_super_receiver(), IDENTIFIER_POINTER, is_ivar(), is_private(), objc_ivar_chain, objc_method_context, and strcmp().
Definition at line 6312 of file objc-act.c.
References NULL_TREE, protocol_chain, PROTOCOL_NAME, and TREE_CHAIN.
Referenced by build_protocol_expr(), check_protocol_recursively(), lookup_and_install_protocols(), objc_declare_protocols(), and start_protocol().
Definition at line 683 of file objc-act.c.
References p, PROTOCOL_LIST, TREE_CHAIN, TREE_CODE, and TREE_VALUE.
Referenced by objc_comptypes().
| tree maybe_building_objc_message_expr | ( | ) |
Definition at line 4784 of file objc-act.c.
| static tree my_build_string | ( | int | len, | |
| const char * | str | |||
| ) | [static] |
Definition at line 1242 of file objc-act.c.
References build_array_type(), build_index_type(), build_int_2, build_string(), char_type_node, int_array_type_node, integer_type_node, TREE_CONSTANT, TREE_STATIC, TREE_TYPE, and wide_flag.
Referenced by build_encode_expr(), generate_strings(), get_class_reference(), and get_super_receiver().
| static void objc_act_parse_init | ( | ) | [static] |
Definition at line 8417 of file objc-act.c.
References ggc_add_root(), ggc_mark_hash_table(), ggc_mark_imp_list(), and OCTI_MAX.
Referenced by objc_init().
Definition at line 1335 of file objc-act.c.
References add_objc_string(), buf, build_decl, class_names, DECL_ARTIFICIAL, DECL_COMMON, DECL_DEFER_OUTPUT, DECL_INITIAL, get_identifier(), NULL_TREE, objc_static_instances, pushdecl_top_level(), rest_of_decl_compilation(), sprintf(), TREE_CHAIN, tree_cons, TREE_PURPOSE, TREE_STATIC, TREE_VALUE, and TYPE_NAME.
Referenced by build_objc_string_object().
Definition at line 874 of file objc-act.c.
References constant_string_type, TREE_CODE, TREE_STATIC_TEMPLATE, and TREE_TYPE.
Definition at line 724 of file objc-act.c.
References cat, CLASS_CATEGORY_LIST, CLASS_PROTOCOL_LIST, CLASS_SUPER_NAME, IDENTIFIER_POINTER, IS_PROTOCOL_QUALIFIED_ID, lookup_interface(), lookup_protocol_in_reflist(), objc_class_id, objc_object_id, p, PROTOCOL_NAME, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, TYPE_NAME, TYPE_PROTOCOL_LIST, TYPED_OBJECT, and warning.
Definition at line 2387 of file objc-act.c.
References chainon(), copy_node, DECL_BIT_FIELD, DECL_INITIAL, DECL_SIZE, NULL_TREE, tail, and TREE_CHAIN.
Referenced by build_ivar_chain().
Definition at line 2309 of file objc-act.c.
References alias_chain, IDENTIFIER_POINTER, is_class_name(), tree_cons, and warning.
Referenced by c_parser_objc_alias_declaration(), and cp_parser_objc_alias_declaration().
Definition at line 2322 of file objc-act.c.
References class_chain, error(), ident, IDENTIFIER_POINTER, is_class_name(), lookup_name(), NULL_TREE, TREE_CHAIN, tree_cons, TREE_STATIC_TEMPLATE, TREE_VALUE, and xref_tag().
Referenced by c_parser_objc_class_declaration(), and cp_parser_objc_class_declaration().
Definition at line 6328 of file objc-act.c.
References add_protocol(), lookup_protocol(), make_node, make_tree_vec, NULL_TREE, PROTOCOL_DEFINED, PROTOCOL_FORWARD_DECL, PROTOCOL_LIST, PROTOCOL_NAME, TREE_CHAIN, TREE_VALUE, and TYPE_BINFO.
Referenced by c_parser_objc_protocol_definition(), and cp_parser_objc_protocol_declaration().
| int objc_decode_option | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 577 of file objc-act.c.
References CSTSTRCLASS, error(), p, strcmp(), strlen(), strncmp(), and xstrdup().
| static const char* objc_demangle | ( | char * | mangled | ) | const [static] |
Definition at line 8015 of file objc-act.c.
References free(), NULL, strchr, strcpy, strlen(), and xmalloc().
Referenced by objc_printable_name().
| static void objc_expand_function_end | ( | ) | [static] |
Definition at line 7301 of file objc-act.c.
References current_function_decl, encode_method_def(), METHOD_ENCODING, and objc_method_context.
Referenced by finish_method_def().
| const char* objc_init | ( | char * | filename | ) | const |
Definition at line 510 of file objc-act.c.
References add_objc_tree_codes(), c_objc_common_init(), concat(), fopen, free(), init_objc(), lineno, make_node, NULL, objc_act_parse_init(), objc_ellipsis_node, and objc_printable_name().
Definition at line 8071 of file objc-act.c.
References DECL_NAME, IDENTIFIER_POINTER, and objc_demangle().
Referenced by objc_init().
| static tree build_shared_structure_initializer PARAMS | ( | (tree, tree, tree, tree, tree, int, tree, tree, tree) | ) | [static] |
| static tree my_build_string PARAMS | ( | (int, const char *) | ) | [static] |
| static char* gen_declarator PARAMS | ( | (tree, char *, const char *) | ) | [static] |
| static char* gen_method_decl PARAMS | ( | (tree, char *) | ) | [static] |
| static void encode_bitfield PARAMS | ( | (int) | ) | [static] |
| static tree build_objc_string_decl PARAMS | ( | (enum string_section) | ) | [static] |
| static tree add_objc_string PARAMS | ( | (tree, enum string_section) | ) | [static] |
| static const char* objc_demangle PARAMS | ( | (const char *) | ) | [static, read] |
Definition at line 635 of file mips-tfile.c.
Definition at line 77 of file cplus-dem.c.
Definition at line 7024 of file objc-act.c.
References alloca, buf, build_nt(), chainon(), CLASS_NAME, CLASS_SUPER_NAME, comp_method_with_proto(), current_function_decl, expr_last(), get_identifier(), IDENTIFIER_POINTER, implementation_template, lookup_class_method_static(), lookup_instance_method_static(), METHOD_DEFINITION, METHOD_SEL_NAME, NULL, NULL_TREE, OBJC_GEN_METHOD_LABEL, objc_implementation_context, RID_STATIC, ridpointers, save_expr(), start_function(), strlen(), TREE_CODE, tree_cons, TREE_OPERAND, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, and warn_with_method().
Referenced by continue_method_def().
Definition at line 4727 of file objc-act.c.
References CLASS_NAME, cls_ref_chain, exp, get_identifier(), objc_class_type, objc_get_class_decl, objc_implementation_context, objc_method_context, self_decl, STRIP_NOPS, TREE_CHAIN, TREE_CODE, TREE_OPERAND, TREE_PURPOSE, TREE_STRING_POINTER, TREE_TYPE, and TREE_VALUE.
Referenced by finish_message_expr().
| static void setup_string_decl | ( | ) | [static] |
Definition at line 1062 of file objc-act.c.
References constant_string_global_id, get_identifier(), lookup_name(), string_class_decl, and STRING_OBJECT_GLOBAL_NAME.
Referenced by build_objc_string_object().
Definition at line 6011 of file objc-act.c.
References add_category(), add_class(), build_super_template(), build_tree_list, CLASS_CLS_METHODS, CLASS_NAME, CLASS_PROTOCOL_LIST, CLASS_SUPER_NAME, error(), error_mark_node, exit(), FATAL_EXIT_CODE, finish_class(), get_identifier(), IDENTIFIER_POINTER, implementation_template, implemented_classes, is_class_name(), lookup_and_install_protocols(), lookup_interface(), lookup_name(), make_node, make_tree_vec, NULL_TREE, objc_implementation_context, objc_ivar_chain, objc_super_template, self_id, TREE_CHAIN, tree_cons, TREE_VALUE, TYPE_BINFO, ucmd_id, unused_list, and warning.
Definition at line 6872 of file objc-act.c.
References build1, build_tree_list, expr_last(), get_identifier(), KEYWORD_ARG_NAME, last_expr, METHOD_ADD_ARGS, METHOD_SEL_ARGS, nextkey(), NULL_TREE, objc_ellipsis_node, objc_method_context, objc_object_reference, push_parm_decl(), pushdecl(), pushlevel(), self_id, TAG_SELECTOR, TREE_CHAIN, TREE_CODE, TREE_OPERAND, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, ucmd_id, unused_list, UOBJC_SUPER_decl, uprivate_record, and xref_tag().
Referenced by hack_method_prototype().
Definition at line 6352 of file objc-act.c.
References add_protocol(), build_protocol_template(), check_protocol_recursively(), IDENTIFIER_POINTER, lookup_and_install_protocols(), lookup_protocol(), make_node, make_tree_vec, NULL_TREE, objc_protocol_template, PROTOCOL_DEFINED, PROTOCOL_FORWARD_DECL, PROTOCOL_LIST, PROTOCOL_NAME, TYPE_BINFO, and warning.
| static void synth_forward_declarations | ( | ) | [static] |
Definition at line 3431 of file objc-act.c.
References build_component_ref(), build_tree_list, DECL_ARTIFICIAL, define_decl(), get_identifier(), NULL_TREE, objc_class_template, objc_implementation_context, RID_EXTERN, ridpointers, synth_id_with_class_suffix(), tree_cons, TREE_USED, ucls_super_ref, UOBJC_CLASS_decl, UOBJC_METACLASS_decl, and uucls_super_ref.
Referenced by continue_class().
Definition at line 4435 of file objc-act.c.
References abort, alloca, CLASS_NAME, CLASS_SUPER_NAME, get_identifier(), IDENTIFIER_POINTER, objc_implementation_context, PROTOCOL_NAME, sprintf(), strlen(), and TREE_CODE.
Referenced by build_protocol_reference(), forward_declare_categories(), generate_category(), generate_descriptor_table(), generate_dispatch_table(), generate_ivars_list(), generate_protocol_list(), generate_protocols(), and synth_forward_declarations().
| static void synth_module_prologue | ( | ) | [static] |
Definition at line 1084 of file objc-act.c.
References build_array_type(), build_decl, build_function_type(), build_pointer_type(), build_selector_template(), builtin_function(), const_string_type_node, constant_string_id, constant_string_type, create_builtin_decl(), debug_hooks, DECL_ARTIFICIAL, DECL_BUILT_IN_NONANSI, DECL_EXTERNAL, DECL_INLINE, do_nothing_debug_hooks, flag_traditional, generate_forward_declaration_to_string_table(), get_identifier(), id_type, layout_type(), make_decl_rtl(), NO_DEBUG, NOT_BUILT_IN, NULL, NULL_TREE, objc_class_id, objc_class_type, objc_get_class_decl, objc_get_meta_class_decl, objc_id_id, objc_object_id, objc_object_reference, objc_selector_template, PROTOCOL_OBJECT_CLASS_NAME, protocol_type, pushdecl(), selector_type, TAG_CLASS, TAG_OBJECT, TAG_SELECTOR, TAG_SUPER, tree_cons, TREE_PUBLIC, TREE_USED, TYPE_ID, umsg_decl, umsg_super_decl, UOBJC_SELECTOR_TABLE_decl, void_type_node, and xref_tag().
Referenced by init_objc().
Definition at line 6957 of file objc-act.c.
References DECL_SOURCE_FILE, DECL_SOURCE_LINE, and gen_method_decl().
Referenced by check_duplicates(), finish_objc(), and really_start_method().
tree building_objc_message_expr = 0 [static] |
Definition at line 4781 of file objc-act.c.
| hash* cls_method_hash_list = 0 |
Definition at line 208 of file objc-act.c.
| hash* nst_method_hash_list = 0 |
Definition at line 207 of file objc-act.c.
const int objc_tree_code_length[] [static] |
Initial value:
{
0,
}
Definition at line 108 of file objc-act.c.
Referenced by add_objc_tree_codes().
const char* const objc_tree_code_name[] [static] |
Initial value:
{
"@@dummy",
}
Definition at line 118 of file objc-act.c.
Referenced by add_objc_tree_codes().
const char objc_tree_code_type[] [static] |
Initial value:
{
'x',
}
Definition at line 96 of file objc-act.c.
Referenced by add_objc_tree_codes().
int offset_is_register [static] |
Definition at line 2685 of file objc-act.c.
char tmpbuf[256] [static] |
Definition at line 7347 of file objc-act.c.
Referenced by _rnl90to77(), RNL(), s_cat_kai(), ANL_VARLIST::Write(), and xtensa_operand_encode().
| char* util_firstobj |
Definition at line 135 of file objc-act.c.
Referenced by build_encode_expr(), build_ivar_list_initializer(), encode_method_def(), encode_method_prototype(), and init_objc().
struct obstack util_obstack [static] |
Definition at line 132 of file objc-act.c.
Referenced by build_encode_expr(), build_ivar_list_initializer(), encode_aggregate(), encode_aggregate_within(), encode_array(), encode_bitfield(), encode_complete_bitfield(), encode_method_def(), encode_method_prototype(), encode_pointer(), encode_type(), encode_type_qualifiers(), and init_objc().
1.5.6