osprey/kgccfe/gnu/objc/objc-act.h File Reference

#include "objc-tree.def"

Include dependency graph for objc-act.h:

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

Go to the source code of this file.

Data Types

type  hashed_attribute
type  hashed_entry
type  imp_entry

Defines

#define KEYWORD_KEY_NAME(DECL)   ((DECL)->decl.name)
#define KEYWORD_ARG_NAME(DECL)   ((DECL)->decl.arguments)
#define METHOD_SEL_NAME(DECL)   ((DECL)->decl.name)
#define METHOD_SEL_ARGS(DECL)   ((DECL)->decl.arguments)
#define METHOD_ADD_ARGS(DECL)   ((DECL)->decl.result)
#define METHOD_DEFINITION(DECL)   ((DECL)->decl.initial)
#define METHOD_ENCODING(DECL)   ((DECL)->decl.context)
#define CLASS_NAME(CLASS)   ((CLASS)->type.name)
#define CLASS_SUPER_NAME(CLASS)   ((CLASS)->type.context)
#define CLASS_IVARS(CLASS)   TREE_VEC_ELT (TYPE_BINFO (CLASS), 0)
#define CLASS_RAW_IVARS(CLASS)   TREE_VEC_ELT (TYPE_BINFO (CLASS), 1)
#define CLASS_NST_METHODS(CLASS)   ((CLASS)->type.minval)
#define CLASS_CLS_METHODS(CLASS)   ((CLASS)->type.maxval)
#define CLASS_STATIC_TEMPLATE(CLASS)   TREE_VEC_ELT (TYPE_BINFO (CLASS), 2)
#define CLASS_CATEGORY_LIST(CLASS)   TREE_VEC_ELT (TYPE_BINFO (CLASS), 3)
#define CLASS_PROTOCOL_LIST(CLASS)   TREE_VEC_ELT (TYPE_BINFO (CLASS), 4)
#define PROTOCOL_NAME(CLASS)   ((CLASS)->type.name)
#define PROTOCOL_LIST(CLASS)   TREE_VEC_ELT (TYPE_BINFO (CLASS), 0)
#define PROTOCOL_NST_METHODS(CLASS)   ((CLASS)->type.minval)
#define PROTOCOL_CLS_METHODS(CLASS)   ((CLASS)->type.maxval)
#define PROTOCOL_FORWARD_DECL(CLASS)   TREE_VEC_ELT (TYPE_BINFO (CLASS), 1)
#define PROTOCOL_DEFINED(CLASS)   TREE_USED (CLASS)
#define TYPE_PROTOCOL_LIST(TYPE)   ((TYPE)->type.context)
#define TREE_STATIC_TEMPLATE(record_type)   (TREE_PUBLIC (record_type))
#define TYPED_OBJECT(type)   (TREE_CODE (type) == RECORD_TYPE && TREE_STATIC_TEMPLATE (type))
#define DEFTREECODE(SYM, NAME, TYPE, LENGTH)   SYM,
#define HASH_ALLOC_LIST_SIZE   170
#define ATTR_ALLOC_LIST_SIZE   170
#define SIZEHASHTABLE   257
#define objc_static_instances   objc_global_trees[OCTI_STATIC_NST]
#define static_instances_decl   objc_global_trees[OCTI_STATIC_NST_DECL]
#define self_id   objc_global_trees[OCTI_SELF_ID]
#define ucmd_id   objc_global_trees[OCTI_UCMD_ID]
#define unused_list   objc_global_trees[OCTI_UNUSED_LIST]
#define objc_ellipsis_node   objc_global_trees[OCTI_ELLIPSIS_NODE]
#define self_decl   objc_global_trees[OCTI_SELF_DECL]
#define umsg_decl   objc_global_trees[OCTI_UMSG_DECL]
#define umsg_super_decl   objc_global_trees[OCTI_UMSG_SUPER_DECL]
#define objc_get_class_decl   objc_global_trees[OCTI_GET_CLASS_DECL]
#define objc_get_meta_class_decl   objc_global_trees[OCTI_GET_MCLASS_DECL]
#define super_type   objc_global_trees[OCTI_SUPER_TYPE]
#define selector_type   objc_global_trees[OCTI_SEL_TYPE]
#define id_type   objc_global_trees[OCTI_ID_TYPE]
#define objc_class_type   objc_global_trees[OCTI_CLS_TYPE]
#define instance_type   objc_global_trees[OCTI_NST_TYPE]
#define protocol_type   objc_global_trees[OCTI_PROTO_TYPE]
#define IS_ID(TYPE)   (TYPE_MAIN_VARIANT (TYPE) == TYPE_MAIN_VARIANT (id_type))
#define IS_PROTOCOL_QUALIFIED_ID(TYPE)   (IS_ID (TYPE) && TYPE_PROTOCOL_LIST (TYPE))
#define IS_SUPER(TYPE)   (super_type && TYPE_MAIN_VARIANT (TYPE) == TYPE_MAIN_VARIANT (super_type))
#define class_chain   objc_global_trees[OCTI_CLS_CHAIN]
#define alias_chain   objc_global_trees[OCTI_ALIAS_CHAIN]
#define interface_chain   objc_global_trees[OCTI_INTF_CHAIN]
#define protocol_chain   objc_global_trees[OCTI_PROTO_CHAIN]
#define implemented_classes   objc_global_trees[OCTI_IMPL_CHAIN]
#define cls_ref_chain   objc_global_trees[OCTI_CLS_REF_CHAIN]
#define sel_ref_chain   objc_global_trees[OCTI_SEL_REF_CHAIN]
#define objc_ivar_chain   objc_global_trees[OCTI_IVAR_CHAIN]
#define class_names_chain   objc_global_trees[OCTI_CLS_NAMES_CHAIN]
#define meth_var_names_chain   objc_global_trees[OCTI_METH_VAR_NAMES_CHAIN]
#define meth_var_types_chain   objc_global_trees[OCTI_METH_VAR_TYPES_CHAIN]
#define UOBJC_SYMBOLS_decl   objc_global_trees[OCTI_SYMBOLS_DECL]
#define UOBJC_INSTANCE_VARIABLES_decl   objc_global_trees[OCTI_NST_VAR_DECL]
#define UOBJC_CLASS_VARIABLES_decl   objc_global_trees[OCTI_CLS_VAR_DECL]
#define UOBJC_INSTANCE_METHODS_decl   objc_global_trees[OCTI_NST_METH_DECL]
#define UOBJC_CLASS_METHODS_decl   objc_global_trees[OCTI_CLS_METH_DECL]
#define UOBJC_CLASS_decl   objc_global_trees[OCTI_CLS_DECL]
#define UOBJC_METACLASS_decl   objc_global_trees[OCTI_MCLS_DECL]
#define UOBJC_SELECTOR_TABLE_decl   objc_global_trees[OCTI_SEL_TABLE_DECL]
#define UOBJC_MODULES_decl   objc_global_trees[OCTI_MODULES_DECL]
#define UOBJC_STRINGS_decl   objc_global_trees[OCTI_STRG_DECL]
#define objc_interface_context   objc_global_trees[OCTI_INTF_CTX]
#define objc_implementation_context   objc_global_trees[OCTI_IMPL_CTX]
#define objc_method_context   objc_global_trees[OCTI_METH_CTX]
#define objc_ivar_context   objc_global_trees[OCTI_IVAR_CTX]
#define implementation_template   objc_global_trees[OCTI_IMPL_TEMPL]
#define objc_class_template   objc_global_trees[OCTI_CLS_TEMPL]
#define objc_category_template   objc_global_trees[OCTI_CAT_TEMPL]
#define uprivate_record   objc_global_trees[OCTI_UPRIV_REC]
#define objc_protocol_template   objc_global_trees[OCTI_PROTO_TEMPL]
#define objc_selector_template   objc_global_trees[OCTI_SEL_TEMPL]
#define ucls_super_ref   objc_global_trees[OCTI_UCLS_SUPER_REF]
#define uucls_super_ref   objc_global_trees[OCTI_UUCLS_SUPER_REF]
#define objc_method_template   objc_global_trees[OCTI_METH_TEMPL]
#define objc_ivar_template   objc_global_trees[OCTI_IVAR_TEMPL]
#define objc_symtab_template   objc_global_trees[OCTI_SYMTAB_TEMPL]
#define objc_module_template   objc_global_trees[OCTI_MODULE_TEMPL]
#define objc_super_template   objc_global_trees[OCTI_SUPER_TEMPL]
#define objc_object_reference   objc_global_trees[OCTI_OBJ_REF]
#define objc_method_prototype_template   objc_global_trees[OCTI_METH_PROTO_TEMPL]
#define function1_template   objc_global_trees[OCTI_FUNCTION1_TEMPL]
#define function2_template   objc_global_trees[OCTI_FUNCTION2_TEMPL]
#define objc_object_id   objc_global_trees[OCTI_OBJ_ID]
#define objc_class_id   objc_global_trees[OCTI_CLS_ID]
#define objc_id_id   objc_global_trees[OCTI_ID_ID]
#define constant_string_id   objc_global_trees[OCTI_CNST_STR_ID]
#define constant_string_type   objc_global_trees[OCTI_CNST_STR_TYPE]
#define constant_string_global_id   objc_global_trees[OCTI_CNST_STR_GLOB_ID]
#define string_class_decl   objc_global_trees[OCTI_STRING_CLASS_DECL]
#define UOBJC_SUPER_decl   objc_global_trees[OCTI_SUPER_DECL]

Typedefs

typedef struct hashed_entryhash
typedef struct hashed_attributeattr

Enumerations

enum  objc_tree_code { LAST_BASE_TREE_CODE = LAST_C_TREE_CODE, LAST_OBJC_TREE_CODE }
enum  objc_tree_index {
  OCTI_STATIC_NST, OCTI_STATIC_NST_DECL, OCTI_SELF_ID, OCTI_UCMD_ID,
  OCTI_UNUSED_LIST, OCTI_ELLIPSIS_NODE, OCTI_SELF_DECL, OCTI_UMSG_DECL,
  OCTI_UMSG_SUPER_DECL, OCTI_GET_CLASS_DECL, OCTI_GET_MCLASS_DECL, OCTI_SUPER_TYPE,
  OCTI_SEL_TYPE, OCTI_ID_TYPE, OCTI_CLS_TYPE, OCTI_NST_TYPE,
  OCTI_PROTO_TYPE, OCTI_CLS_CHAIN, OCTI_ALIAS_CHAIN, OCTI_INTF_CHAIN,
  OCTI_PROTO_CHAIN, OCTI_IMPL_CHAIN, OCTI_CLS_REF_CHAIN, OCTI_SEL_REF_CHAIN,
  OCTI_IVAR_CHAIN, OCTI_CLS_NAMES_CHAIN, OCTI_METH_VAR_NAMES_CHAIN, OCTI_METH_VAR_TYPES_CHAIN,
  OCTI_SYMBOLS_DECL, OCTI_NST_VAR_DECL, OCTI_CLS_VAR_DECL, OCTI_NST_METH_DECL,
  OCTI_CLS_METH_DECL, OCTI_CLS_DECL, OCTI_MCLS_DECL, OCTI_SEL_TABLE_DECL,
  OCTI_MODULES_DECL, OCTI_STRG_DECL, OCTI_INTF_CTX, OCTI_IMPL_CTX,
  OCTI_METH_CTX, OCTI_IVAR_CTX, OCTI_IMPL_TEMPL, OCTI_CLS_TEMPL,
  OCTI_CAT_TEMPL, OCTI_UPRIV_REC, OCTI_PROTO_TEMPL, OCTI_SEL_TEMPL,
  OCTI_UCLS_SUPER_REF, OCTI_UUCLS_SUPER_REF, OCTI_METH_TEMPL, OCTI_IVAR_TEMPL,
  OCTI_SYMTAB_TEMPL, OCTI_MODULE_TEMPL, OCTI_SUPER_TEMPL, OCTI_OBJ_REF,
  OCTI_METH_PROTO_TEMPL, OCTI_FUNCTION1_TEMPL, OCTI_FUNCTION2_TEMPL, OCTI_OBJ_ID,
  OCTI_CLS_ID, OCTI_ID_ID, OCTI_CNST_STR_ID, OCTI_CNST_STR_TYPE,
  OCTI_CNST_STR_GLOB_ID, OCTI_STRING_CLASS_DECL, OCTI_SUPER_DECL, OCTI_MAX
}

Functions/Subroutines

const char *objc_init PARAMS ((const char *))
int objc_decode_option PARAMS ((int, char **))
void finish_file PARAMS ((void))
tree start_class PARAMS ((enum tree_code, tree, tree, tree))
tree continue_class PARAMS ((tree))
tree start_protocol PARAMS ((enum tree_code, tree, tree))
tree is_ivar PARAMS ((tree, tree))
tree add_instance_variable PARAMS ((tree, int, tree, tree, tree))
tree finish_message_expr PARAMS ((tree, tree, tree))
int objc_comptypes PARAMS ((tree, tree, int))

Variables

int objc_receiver_context
hashnst_method_hash_list
hashcls_method_hash_list
struct imp_entryimp_list
int imp_count
int cat_count
tree objc_global_trees [OCTI_MAX]


Define Documentation

#define alias_chain   objc_global_trees[OCTI_ALIAS_CHAIN]

Definition at line 289 of file objc-act.h.

Referenced by is_class_name(), and objc_declare_alias().

#define ATTR_ALLOC_LIST_SIZE   170

Definition at line 151 of file objc-act.h.

Referenced by hash_add_attr().

#define CLASS_CATEGORY_LIST ( CLASS   )     TREE_VEC_ELT (TYPE_BINFO (CLASS), 3)

#define class_chain   objc_global_trees[OCTI_CLS_CHAIN]

Definition at line 288 of file objc-act.h.

Referenced by is_class_name(), and objc_declare_class().

#define CLASS_CLS_METHODS ( CLASS   )     ((CLASS)->type.maxval)

#define CLASS_IVARS ( CLASS   )     TREE_VEC_ELT (TYPE_BINFO (CLASS), 0)

#define CLASS_NAME ( CLASS   )     ((CLASS)->type.name)

#define class_names_chain   objc_global_trees[OCTI_CLS_NAMES_CHAIN]

Definition at line 303 of file objc-act.h.

Referenced by add_objc_string(), finish_objc(), generate_strings(), and get_objc_string_decl().

#define CLASS_NST_METHODS ( CLASS   )     ((CLASS)->type.minval)

#define CLASS_PROTOCOL_LIST ( CLASS   )     TREE_VEC_ELT (TYPE_BINFO (CLASS), 4)

#define CLASS_RAW_IVARS ( CLASS   )     TREE_VEC_ELT (TYPE_BINFO (CLASS), 1)

Definition at line 96 of file objc-act.h.

Referenced by add_instance_variable(), check_ivars(), and dump_interface().

#define CLASS_STATIC_TEMPLATE ( CLASS   )     TREE_VEC_ELT (TYPE_BINFO (CLASS), 2)

Definition at line 99 of file objc-act.h.

Referenced by build_private_template(), continue_class(), and generate_shared_structures().

#define CLASS_SUPER_NAME ( CLASS   )     ((CLASS)->type.context)

#define cls_ref_chain   objc_global_trees[OCTI_CLS_REF_CHAIN]

#define constant_string_global_id   objc_global_trees[OCTI_CNST_STR_GLOB_ID]

Definition at line 356 of file objc-act.h.

Referenced by setup_string_decl().

#define constant_string_id   objc_global_trees[OCTI_CNST_STR_ID]

Definition at line 354 of file objc-act.h.

Referenced by build_objc_string_object(), and synth_module_prologue().

#define constant_string_type   objc_global_trees[OCTI_CNST_STR_TYPE]

#define DEFTREECODE ( SYM,
NAME,
TYPE,
LENGTH   )     SYM,

Definition at line 118 of file objc-act.h.

#define function1_template   objc_global_trees[OCTI_FUNCTION1_TEMPL]

Definition at line 348 of file objc-act.h.

Referenced by comp_method_with_proto(), and comp_proto_with_proto().

#define function2_template   objc_global_trees[OCTI_FUNCTION2_TEMPL]

Definition at line 349 of file objc-act.h.

Referenced by comp_proto_with_proto().

#define HASH_ALLOC_LIST_SIZE   170

Definition at line 150 of file objc-act.h.

Referenced by hash_enter().

#define id_type   objc_global_trees[OCTI_ID_TYPE]

#define implementation_template   objc_global_trees[OCTI_IMPL_TEMPL]

#define implemented_classes   objc_global_trees[OCTI_IMPL_CHAIN]

Definition at line 292 of file objc-act.h.

Referenced by start_class().

#define instance_type   objc_global_trees[OCTI_NST_TYPE]

Definition at line 276 of file objc-act.h.

Referenced by build_ivar_reference(), and build_private_template().

#define interface_chain   objc_global_trees[OCTI_INTF_CHAIN]

Definition at line 290 of file objc-act.h.

Referenced by add_class(), and lookup_interface().

#define IS_ID ( TYPE   )     (TYPE_MAIN_VARIANT (TYPE) == TYPE_MAIN_VARIANT (id_type))

Definition at line 281 of file objc-act.h.

Referenced by finish_message_expr(), gen_declspecs(), and is_complex_decl().

#define IS_PROTOCOL_QUALIFIED_ID ( TYPE   )     (IS_ID (TYPE) && TYPE_PROTOCOL_LIST (TYPE))

Definition at line 283 of file objc-act.h.

Referenced by finish_message_expr(), and objc_comptypes().

#define IS_SUPER ( TYPE   )     (super_type && TYPE_MAIN_VARIANT (TYPE) == TYPE_MAIN_VARIANT (super_type))

Definition at line 285 of file objc-act.h.

Referenced by finish_message_expr().

#define KEYWORD_ARG_NAME ( DECL   )     ((DECL)->decl.arguments)

Definition at line 81 of file objc-act.h.

Referenced by build_keyword_decl(), gen_method_decl(), and start_method_def().

#define KEYWORD_KEY_NAME ( DECL   )     ((DECL)->decl.name)

Definition at line 80 of file objc-act.h.

Referenced by build_keyword_decl(), build_keyword_selector(), and gen_method_decl().

#define meth_var_names_chain   objc_global_trees[OCTI_METH_VAR_NAMES_CHAIN]

Definition at line 304 of file objc-act.h.

Referenced by add_objc_string(), finish_objc(), generate_strings(), and get_objc_string_decl().

#define meth_var_types_chain   objc_global_trees[OCTI_METH_VAR_TYPES_CHAIN]

Definition at line 305 of file objc-act.h.

Referenced by add_objc_string(), finish_objc(), generate_strings(), and get_objc_string_decl().

#define METHOD_ADD_ARGS ( DECL   )     ((DECL)->decl.result)

#define METHOD_DEFINITION ( DECL   )     ((DECL)->decl.initial)

#define METHOD_ENCODING ( DECL   )     ((DECL)->decl.context)

#define METHOD_SEL_ARGS ( DECL   )     ((DECL)->decl.arguments)

#define METHOD_SEL_NAME ( DECL   )     ((DECL)->decl.name)

#define objc_category_template   objc_global_trees[OCTI_CAT_TEMPL]

#define objc_class_id   objc_global_trees[OCTI_CLS_ID]

Definition at line 352 of file objc-act.h.

Referenced by objc_comptypes(), and synth_module_prologue().

#define objc_class_template   objc_global_trees[OCTI_CLS_TEMPL]

#define objc_class_type   objc_global_trees[OCTI_CLS_TYPE]

#define objc_ellipsis_node   objc_global_trees[OCTI_ELLIPSIS_NODE]

#define objc_get_class_decl   objc_global_trees[OCTI_GET_CLASS_DECL]

#define objc_get_meta_class_decl   objc_global_trees[OCTI_GET_MCLASS_DECL]

Definition at line 269 of file objc-act.h.

Referenced by get_super_receiver(), and synth_module_prologue().

#define objc_id_id   objc_global_trees[OCTI_ID_ID]

Definition at line 353 of file objc-act.h.

Referenced by get_object_reference(), and synth_module_prologue().

#define objc_implementation_context   objc_global_trees[OCTI_IMPL_CTX]

#define objc_interface_context   objc_global_trees[OCTI_INTF_CTX]

Definition at line 326 of file objc-act.h.

#define objc_ivar_chain   objc_global_trees[OCTI_IVAR_CHAIN]

Definition at line 299 of file objc-act.h.

Referenced by finish_objc(), lookup_objc_ivar(), and start_class().

#define objc_ivar_context   objc_global_trees[OCTI_IVAR_CTX]

Definition at line 329 of file objc-act.h.

#define objc_ivar_template   objc_global_trees[OCTI_IVAR_TEMPL]

Definition at line 341 of file objc-act.h.

Referenced by generate_ivar_lists().

#define objc_method_context   objc_global_trees[OCTI_METH_CTX]

#define objc_method_prototype_template   objc_global_trees[OCTI_METH_PROTO_TEMPL]

Definition at line 346 of file objc-act.h.

Referenced by generate_method_descriptors().

#define objc_method_template   objc_global_trees[OCTI_METH_TEMPL]

Definition at line 340 of file objc-act.h.

Referenced by generate_dispatch_tables().

#define objc_module_template   objc_global_trees[OCTI_MODULE_TEMPL]

Definition at line 343 of file objc-act.h.

Referenced by build_module_descriptor(), and init_module_descriptor().

#define objc_object_id   objc_global_trees[OCTI_OBJ_ID]

Definition at line 351 of file objc-act.h.

Referenced by objc_comptypes(), and synth_module_prologue().

#define objc_object_reference   objc_global_trees[OCTI_OBJ_REF]

#define objc_protocol_template   objc_global_trees[OCTI_PROTO_TEMPL]

Definition at line 335 of file objc-act.h.

Referenced by build_protocol_reference(), generate_protocols(), and start_protocol().

#define objc_selector_template   objc_global_trees[OCTI_SEL_TEMPL]

#define objc_static_instances   objc_global_trees[OCTI_STATIC_NST]

Definition at line 253 of file objc-act.h.

Referenced by finish_objc(), generate_static_references(), and objc_add_static_instance().

#define objc_super_template   objc_global_trees[OCTI_SUPER_TEMPL]

Definition at line 344 of file objc-act.h.

Referenced by add_objc_decls(), and start_class().

#define objc_symtab_template   objc_global_trees[OCTI_SYMTAB_TEMPL]

Definition at line 342 of file objc-act.h.

Referenced by build_objc_symtab_template(), and generate_objc_symtab_decl().

#define protocol_chain   objc_global_trees[OCTI_PROTO_CHAIN]

Definition at line 291 of file objc-act.h.

Referenced by add_protocol(), finish_objc(), generate_protocols(), and lookup_protocol().

#define PROTOCOL_CLS_METHODS ( CLASS   )     ((CLASS)->type.maxval)

#define PROTOCOL_DEFINED ( CLASS   )     TREE_USED (CLASS)

Definition at line 107 of file objc-act.h.

Referenced by objc_declare_protocols(), and start_protocol().

#define PROTOCOL_FORWARD_DECL ( CLASS   )     TREE_VEC_ELT (TYPE_BINFO (CLASS), 1)

#define PROTOCOL_LIST ( CLASS   )     TREE_VEC_ELT (TYPE_BINFO (CLASS), 0)

#define PROTOCOL_NAME ( CLASS   )     ((CLASS)->type.name)

#define PROTOCOL_NST_METHODS ( CLASS   )     ((CLASS)->type.minval)

#define protocol_type   objc_global_trees[OCTI_PROTO_TYPE]

Definition at line 277 of file objc-act.h.

Referenced by build_protocol_expr(), and synth_module_prologue().

#define sel_ref_chain   objc_global_trees[OCTI_SEL_REF_CHAIN]

#define selector_type   objc_global_trees[OCTI_SEL_TYPE]

#define self_decl   objc_global_trees[OCTI_SELF_DECL]

#define self_id   objc_global_trees[OCTI_SELF_ID]

Definition at line 260 of file objc-act.h.

Referenced by get_super_receiver(), start_class(), and start_method_def().

#define SIZEHASHTABLE   257

Definition at line 152 of file objc-act.h.

Referenced by finish_objc(), ggc_mark_hash_table(), hash_enter(), hash_init(), and hash_lookup().

#define static_instances_decl   objc_global_trees[OCTI_STATIC_NST_DECL]

Definition at line 256 of file objc-act.h.

Referenced by generate_static_references(), init_def_list(), and init_objc_symtab().

#define string_class_decl   objc_global_trees[OCTI_STRING_CLASS_DECL]

Definition at line 358 of file objc-act.h.

Referenced by build_objc_string_object(), and setup_string_decl().

#define super_type   objc_global_trees[OCTI_SUPER_TYPE]

Definition at line 272 of file objc-act.h.

Referenced by build_super_template(), and get_arg_type_list().

#define TREE_STATIC_TEMPLATE ( record_type   )     (TREE_PUBLIC (record_type))

#define TYPE_PROTOCOL_LIST ( TYPE   )     ((TYPE)->type.context)

#define TYPED_OBJECT ( type   )     (TREE_CODE (type) == RECORD_TYPE && TREE_STATIC_TEMPLATE (type))

Definition at line 113 of file objc-act.h.

Referenced by objc_comptypes().

#define ucls_super_ref   objc_global_trees[OCTI_UCLS_SUPER_REF]

Definition at line 337 of file objc-act.h.

Referenced by get_super_receiver(), and synth_forward_declarations().

#define ucmd_id   objc_global_trees[OCTI_UCMD_ID]

Definition at line 261 of file objc-act.h.

Referenced by start_class(), and start_method_def().

#define umsg_decl   objc_global_trees[OCTI_UMSG_DECL]

Definition at line 266 of file objc-act.h.

Referenced by build_objc_method_call(), and synth_module_prologue().

#define umsg_super_decl   objc_global_trees[OCTI_UMSG_SUPER_DECL]

Definition at line 267 of file objc-act.h.

Referenced by build_objc_method_call(), and synth_module_prologue().

#define unused_list   objc_global_trees[OCTI_UNUSED_LIST]

Definition at line 262 of file objc-act.h.

Referenced by start_class(), and start_method_def().

#define UOBJC_CLASS_decl   objc_global_trees[OCTI_CLS_DECL]

#define UOBJC_CLASS_METHODS_decl   objc_global_trees[OCTI_CLS_METH_DECL]

#define UOBJC_CLASS_VARIABLES_decl   objc_global_trees[OCTI_CLS_VAR_DECL]

Definition at line 312 of file objc-act.h.

Referenced by generate_ivar_lists(), and generate_shared_structures().

#define UOBJC_INSTANCE_METHODS_decl   objc_global_trees[OCTI_NST_METH_DECL]

#define UOBJC_INSTANCE_VARIABLES_decl   objc_global_trees[OCTI_NST_VAR_DECL]

Definition at line 311 of file objc-act.h.

Referenced by generate_ivar_lists(), and generate_shared_structures().

#define UOBJC_METACLASS_decl   objc_global_trees[OCTI_MCLS_DECL]

#define UOBJC_MODULES_decl   objc_global_trees[OCTI_MODULES_DECL]

Definition at line 318 of file objc-act.h.

Referenced by build_module_descriptor().

#define UOBJC_SELECTOR_TABLE_decl   objc_global_trees[OCTI_SEL_TABLE_DECL]

#define UOBJC_STRINGS_decl   objc_global_trees[OCTI_STRG_DECL]

Definition at line 319 of file objc-act.h.

Referenced by generate_forward_declaration_to_string_table().

#define UOBJC_SUPER_decl   objc_global_trees[OCTI_SUPER_DECL]

Definition at line 359 of file objc-act.h.

Referenced by add_objc_decls(), get_super_receiver(), and start_method_def().

#define UOBJC_SYMBOLS_decl   objc_global_trees[OCTI_SYMBOLS_DECL]

Definition at line 310 of file objc-act.h.

Referenced by generate_objc_symtab_decl(), and init_module_descriptor().

#define uprivate_record   objc_global_trees[OCTI_UPRIV_REC]

Definition at line 334 of file objc-act.h.

Referenced by build_private_template(), is_public(), and start_method_def().

#define uucls_super_ref   objc_global_trees[OCTI_UUCLS_SUPER_REF]

Definition at line 338 of file objc-act.h.

Referenced by get_super_receiver(), and synth_forward_declarations().


Typedef Documentation

Definition at line 133 of file objc-act.h.

Definition at line 132 of file objc-act.h.


Enumeration Type Documentation

Enumerator:
LAST_BASE_TREE_CODE 
LAST_OBJC_TREE_CODE 

Definition at line 119 of file objc-act.h.

Enumerator:
OCTI_STATIC_NST 
OCTI_STATIC_NST_DECL 
OCTI_SELF_ID 
OCTI_UCMD_ID 
OCTI_UNUSED_LIST 
OCTI_ELLIPSIS_NODE 
OCTI_SELF_DECL 
OCTI_UMSG_DECL 
OCTI_UMSG_SUPER_DECL 
OCTI_GET_CLASS_DECL 
OCTI_GET_MCLASS_DECL 
OCTI_SUPER_TYPE 
OCTI_SEL_TYPE 
OCTI_ID_TYPE 
OCTI_CLS_TYPE 
OCTI_NST_TYPE 
OCTI_PROTO_TYPE 
OCTI_CLS_CHAIN 
OCTI_ALIAS_CHAIN 
OCTI_INTF_CHAIN 
OCTI_PROTO_CHAIN 
OCTI_IMPL_CHAIN 
OCTI_CLS_REF_CHAIN 
OCTI_SEL_REF_CHAIN 
OCTI_IVAR_CHAIN 
OCTI_CLS_NAMES_CHAIN 
OCTI_METH_VAR_NAMES_CHAIN 
OCTI_METH_VAR_TYPES_CHAIN 
OCTI_SYMBOLS_DECL 
OCTI_NST_VAR_DECL 
OCTI_CLS_VAR_DECL 
OCTI_NST_METH_DECL 
OCTI_CLS_METH_DECL 
OCTI_CLS_DECL 
OCTI_MCLS_DECL 
OCTI_SEL_TABLE_DECL 
OCTI_MODULES_DECL 
OCTI_STRG_DECL 
OCTI_INTF_CTX 
OCTI_IMPL_CTX 
OCTI_METH_CTX 
OCTI_IVAR_CTX 
OCTI_IMPL_TEMPL 
OCTI_CLS_TEMPL 
OCTI_CAT_TEMPL 
OCTI_UPRIV_REC 
OCTI_PROTO_TEMPL 
OCTI_SEL_TEMPL 
OCTI_UCLS_SUPER_REF 
OCTI_UUCLS_SUPER_REF 
OCTI_METH_TEMPL 
OCTI_IVAR_TEMPL 
OCTI_SYMTAB_TEMPL 
OCTI_MODULE_TEMPL 
OCTI_SUPER_TEMPL 
OCTI_OBJ_REF 
OCTI_METH_PROTO_TEMPL 
OCTI_FUNCTION1_TEMPL 
OCTI_FUNCTION2_TEMPL 
OCTI_OBJ_ID 
OCTI_CLS_ID 
OCTI_ID_ID 
OCTI_CNST_STR_ID 
OCTI_CNST_STR_TYPE 
OCTI_CNST_STR_GLOB_ID 
OCTI_STRING_CLASS_DECL 
OCTI_SUPER_DECL 
OCTI_MAX 

Definition at line 171 of file objc-act.h.


Function Documentation

int objc_comptypes PARAMS ( (tree, tree, int)   ) 

tree finish_message_expr PARAMS ( (tree, tree, tree  ) 

tree add_instance_variable PARAMS ( (tree, int, tree, tree, tree  ) 

tree is_ivar PARAMS ( (tree, tree  ) 

tree start_protocol PARAMS ( (enum tree_code, tree, tree  ) 

tree continue_class PARAMS ( (tree  ) 

tree start_class PARAMS ( (enum tree_code, tree, tree, tree  ) 

void finish_file PARAMS ( (void  )  [read]

Definition at line 77 of file cplus-dem.c.

int objc_decode_option PARAMS ( (int, char **)   ) 

const char* objc_init PARAMS ( (const char *)   )  [read]

Definition at line 635 of file mips-tfile.c.


Variable Documentation

int cat_count

Definition at line 208 of file objc-act.c.

int imp_count

Definition at line 207 of file objc-act.c.


Generated on Wed Apr 8 15:51:02 2009 for Open64 by  doxygen 1.5.6