osprey/kg++fe/gnu/tree.c File Reference

#include "config.h"
#include "system.h"
#include "flags.h"
#include "tree.h"
#include "real.h"
#include "tm_p.h"
#include "function.h"
#include "obstack.h"
#include "toplev.h"
#include "ggc.h"
#include "hashtab.h"
#include "output.h"
#include "target.h"
#include "langhooks.h"
#include "gt-tree.h"

Include dependency graph for tree.c:

Go to the source code of this file.

Defines

#define TYPE_HASH_INITIAL_SIZE   1000
#define FILE_FUNCTION_FORMAT   "_GLOBAL__%s_%s"

Functions/Subroutines

int _obstack_allocated_p PARAMS ((struct obstack *h, PTR obj))
struct type_hash GTY (())
static GTY ((if_marked("type_hash_marked_p"), param_is(struct type_hash)))
tree decl_assembler_name (tree decl)
size_t tree_size (tree node)
tree make_node (enum tree_code code)
tree copy_node (tree node)
tree copy_list (tree list)
tree build_int_2_wide (unsigned HOST_WIDE_INT low, HOST_WIDE_INT hi)
tree build_vector (tree type, tree vals)
tree build_real (tree type, REAL_VALUE_TYPE d)
REAL_VALUE_TYPE real_value_from_int_cst (type, tree type i)
tree build_real_from_int_cst (tree type, tree i)
tree build_string (int len, const char *str)
tree build_complex (tree type, tree real, tree imag)
tree make_tree_vec (int len)
int integer_zerop (tree expr)
int integer_onep (tree expr)
int integer_all_onesp (tree expr)
int integer_pow2p (tree expr)
int tree_log2 (tree expr)
int tree_floor_log2 (tree expr)
int real_zerop (tree expr)
int real_onep (tree expr)
int real_twop (tree expr)
int real_minus_onep (tree expr)
int really_constant_p (tree exp)
tree value_member (tree elem, tree list)
tree purpose_member (tree elem, tree list)
tree binfo_member (tree elem, tree list)
int chain_member (tree elem, tree chain)
int chain_member_value (tree elem, tree chain)
int chain_member_purpose (tree elem, tree chain)
int list_length (tree t)
int fields_length (tree type)
tree chainon (tree op1, tree op2)
tree tree_last (tree chain)
tree nreverse (tree t)
tree listify (tree chain)
tree build_tree_list (tree parm, tree value)
tree tree_cons (tree purpose, tree value, tree chain)
tree size_in_bytes (tree type)
HOST_WIDE_INT int_size_in_bytes (tree type)
tree bit_position (tree field)
HOST_WIDE_INT int_bit_position (tree field)
tree byte_position (tree field)
HOST_WIDE_INT int_byte_position (tree field)
unsigned int expr_align (tree t)
tree array_type_nelts (tree type)
int staticp (tree arg)
tree save_expr (tree expr)
tree unsave_expr (tree expr)
int first_rtl_op (enum tree_code code)
enum tree_node_structure_enum tree_node_structure (tree t)
void unsave_expr_1 (tree expr)
tree lhd_unsave_expr_now (tree expr)
int unsafe_for_reeval (tree expr)
int contains_placeholder_p (tree exp)
int has_cleanups (tree exp)
tree substitute_in_expr (tree exp, tree f, tree r)
tree stabilize_reference (tree ref)
tree stabilize_reference_1 (tree e)
tree build VPARAMS ((enum tree_code code, tree tt,...))
tree build1 (enum tree_code code, tree type, tree node)
tree build_nt VPARAMS ((enum tree_code code,...))
tree build_decl (enum tree_code code, tree name, tree type)
tree build_block (tree vars, tags, tree subblocks, tree supercontext, tree chain)
tree build_expr_wfl (tree node, const char *file, int line, int col)
tree build_decl_attribute_variant (tree ddecl, tree attribute)
tree build_type_attribute_variant (tree ttype, tree attribute)
int is_attribute_p (char *attr, tree ident) const
tree lookup_attribute (char *attr_name, tree list) const
tree merge_attributes (tree a1, tree a2)
tree merge_type_attributes (tree t1, tree t2)
tree merge_decl_attributes (tree olddecl, tree newdecl)
static void set_type_quals (tree type, int type_quals)
tree get_qualified_type (tree type, int type_quals)
tree build_qualified_type (tree type, int type_quals)
tree build_type_copy (tree type)
unsigned int type_hash_list (tree list)
static int type_hash_eq (void *va, const void *vb) const
static hashval_t type_hash_hash (void *item) const
tree type_hash_lookup (unsigned int hashcode, tree type)
void type_hash_add (unsigned int hashcode, tree type)
tree type_hash_canon (unsigned int hashcode, tree type)
static int type_hash_marked_p (void *p) const
static void print_type_hash_statistics ()
unsigned int attribute_hash_list (tree list)
int attribute_list_equal (tree l1, tree l2)
int attribute_list_contained (tree l1, tree l2)
int type_list_equal (tree l1, tree l2)
int type_num_arguments (tree type)
int tree_int_cst_equal (tree t1, tree t2)
int tree_int_cst_lt (tree t1, tree t2)
int tree_int_cst_compare (tree t1, tree t2)
int host_integerp (tree t, int pos)
HOST_WIDE_INT tree_low_cst (tree t, int pos)
int tree_int_cst_msb (tree t)
int tree_int_cst_sgn (tree t)
int simple_cst_list_equal (tree l1, tree l2)
int simple_cst_equal (tree t1, tree t2)
int compare_tree_int (tree t, unsigned HOST_WIDE_INT u)
tree build_pointer_type (tree to_type)
tree build_reference_type (tree to_type)
tree build_type_no_quals (tree t)
tree build_index_type (tree maxval)
tree build_range_type (tree type, tree lowval, tree highval)
tree build_index_2_type (tree lowval, tree highval)
int index_type_equal (tree itype1, tree itype2)
tree build_array_type (tree elt_type, tree index_type)
tree get_inner_array_type (tree array)
tree build_function_type (tree value_type, tree arg_types)
tree build_function_type_list VPARAMS ((tree return_type,...))
tree build_method_type (tree basetype, tree type)
tree build_offset_type (tree basetype, tree type)
tree build_complex_type (tree component_type)
tree get_unwidened (tree op, tree for_type)
tree get_narrower (tree op, int *unsignedp_ptr)
int int_fits_type_p (tree c, tree type)
bool variably_modified_type_p (tree type)
tree get_containing_scope (tree t)
tree decl_function_context (tree decl)
tree decl_type_context (tree decl)
tree get_callee_fndecl (tree call)
void print_obstack_statistics (char *str, struct obstack *o) const
void dump_tree_statistics ()
void default_flag_random_seed ()
static void append_random_chars (char *template)
void clean_symbol_name (char *p)
tree get_file_function_name_long (char *type) const
tree get_file_function_name (int kind)
tree get_set_constructor_bits (tree init, char *buffer, int bit_size)
tree get_set_constructor_bytes (tree init, unsigned char *buffer, int wd_size)
static void finish_vector_type (tree t)
void build_common_tree_nodes (int signed_char)
void build_common_tree_nodes_2 (int short_double)
static tree make_vector (enum machine_mode mode, tree innertype, int unsignedp)
bool initializer_zerop (tree init)

Variables

static int next_decl_uid
static int next_type_uid = 1
int debug_no_type_hash = 0
const char * flag_random_seed


Define Documentation

#define FILE_FUNCTION_FORMAT   "_GLOBAL__%s_%s"

Definition at line 4437 of file tree.c.

Referenced by get_file_function_name_long().

#define TYPE_HASH_INITIAL_SIZE   1000

Definition at line 120 of file tree.c.

Referenced by GTY(), and init_ttree().


Function Documentation

static void append_random_chars ( char *  template  )  [static]

tree array_type_nelts ( tree  type  ) 

unsigned int attribute_hash_list ( tree  list  ) 

Definition at line 3102 of file tree.c.

References tail, TREE_CHAIN, TREE_PURPOSE, and TYPE_HASH.

Referenced by build_type_attribute_qual_variant(), and build_type_attribute_variant().

int attribute_list_contained ( tree  l1,
tree  l2 
)

Definition at line 3134 of file tree.c.

Referenced by attribute_list_equal(), comptypes_internal(), and merge_attributes().

int attribute_list_equal ( tree  l1,
tree  l2 
)

tree binfo_member ( tree  elem,
tree  list 
)

Definition at line 943 of file tree.c.

References BINFO_TYPE, NULL_TREE, and TREE_CHAIN.

tree bit_position ( tree  field  ) 

tree build1 ( enum tree_code  code,
tree  type,
tree  node 
)

tree build_array_type ( tree  elt_type,
tree  index_type 
)

Definition at line 3727 of file tree.c.

Referenced by build_constant_data_ref(), build_constants_constructor(), build_cplus_array_type_1(), build_ctr_info_value(), build_descriptor_table_initializer(), build_dispatch_table_initializer(), build_fn_info_type(), build_gcov_info(), build_ivar_list_initializer(), build_objc_string_decl(), build_objc_symtab_template(), build_prim_array_type(), build_string_literal(), c_build_qualified_type(), c_common_nodes_and_builtins(), c_make_fname_decl(), clipper_build_va_list(), common_type(), composite_type(), coverage_counter_alloc(), d30v_build_va_list(), emit_offset_symbol_table(), end_final(), expand_builtin_args_info(), ffecom_char_args_x_(), ffecom_char_enhance_arg_(), ffecom_constantunion(), ffecom_debug_kludge_(), ffecom_expr_(), ffecom_lookup_label(), ffecom_make_tempvar(), ffecom_subscript_check_(), ffecom_sym_transform_(), ffecom_transform_common_(), ffecom_transform_equiv_(), ffecom_transform_namelist_(), ffecom_type_localvar_(), ffecom_vardesc_(), ffecom_vardesc_array_(), ffecom_vardesc_dims_(), ffeste_R1001(), finish_vector_type(), fix_string_type(), generate_static_references(), get_nl_goto_field(), get_pseudo_ti_desc(), get_pseudo_ti_index(), grokdeclarator(), GTY(), i960_build_va_list(), init_eh(), ix86_build_builtin_va_list(), ix86_build_va_list(), java_init_decl_processing(), make_vector_type(), mf_build_string(), mips_build_builtin_va_list(), mudflap_init(), my_build_string(), reconstruct_complex_type(), rs6000_build_builtin_va_list(), rs6000_build_va_list(), s390_build_builtin_va_list(), s390_build_va_list(), synth_module_prologue(), and vector_size_helper().

tree build_block ( tree  vars,
tags  ,
tree  subblocks,
tree  supercontext,
tree  chain 
)

Definition at line 2482 of file tree.c.

References BLOCK, BLOCK_CHAIN, BLOCK_SUBBLOCKS, BLOCK_SUPERCONTEXT, BLOCK_VARS, and make_node.

Referenced by build_jni_stub().

void build_common_tree_nodes ( int  signed_char  ) 

void build_common_tree_nodes_2 ( int  short_double  ) 

Definition at line 4837 of file tree.c.

Referenced by c_common_nodes_and_builtins(), ffecom_init_0(), and GTY().

tree build_complex ( tree  type,
tree  real,
tree  imag 
)

tree build_complex_type ( tree  component_type  ) 

tree build_decl ( enum tree_code  code,
tree  name,
tree  type 
)

Definition at line 2446 of file tree.c.

References DECL_MODE, DECL_NAME, erase_duplicates(), FUNCTION_MODE, layout_decl(), make_node, and TREE_TYPE.

tree build_decl_attribute_variant ( tree  ddecl,
tree  attribute 
)

Definition at line 2531 of file tree.c.

Referenced by grokdeclarator().

tree build_expr_wfl ( tree  node,
const char *  file,
int  line,
int  col 
)

tree build_function_type ( tree  value_type,
tree  arg_types 
)

Definition at line 3784 of file tree.c.

Referenced by alpha_init_builtins(), altivec_init_builtins(), arm_init_builtins(), arm_init_iwmmxt_builtins(), arm_init_tls_builtins(), bfin_init_builtins(), build_common_builtin_nodes(), build_dynamic_cast_1(), build_function_type_list(), build_jni_stub(), build_mips16_call_stub(), build_mips16_function_stub(), build_module_descriptor(), build_objc_method_call(), build_op_delete_call(), build_throw(), c4x_init_builtins(), c_common_nodes_and_builtins(), c_init_decl_processing(), cgraph_build_static_cdtor(), check_function_type(), coerce_delete_type(), coerce_new_type(), common_type(), compile_resource_file(), composite_type(), copy_default_args_to_explicit_spec(), cxx_init_decl_processing(), def_fn_type(), define_builtin_type(), do_allocate_exception(), do_begin_catch(), do_get_exception_ptr(), duplicate_decls(), emit_library_call_value_1(), emit_register_classes(), expand_static_init(), ffecom_do_entry_(), ffecom_gen_sfuncdef_(), ffecom_init_0(), ffecom_make_gfrt_(), ffecom_start_progunit_(), ffecom_sym_transform_(), frv_init_builtins(), get_atexit_node(), get_tinfo_decl(), grokdeclarator(), grokfndecl(), GTY(), ia64_init_builtins(), init_exception_processing(), init_one_libfunc(), iq2000_init_builtins(), ix86_init_mmx_sse_builtins(), java_init_decl_processing(), match_builtin_function_types(), merge_types(), mips_init_builtins(), output_func_start_profiler(), parse_signature_string(), push_void_library_fn(), reconstruct_complex_type(), revert_static_member_fn(), s390_init_builtins(), sh_media_init_builtins(), spe_init_builtins(), start_cleanup_fn(), start_function(), start_objects(), synth_module_prologue(), throw_bad_cast(), throw_bad_typeid(), tree_ssa_prefetch_arrays(), tsubst_function_type(), unify(), vector_size_helper(), VPARAMS(), and xstormy16_init_builtins().

tree build_index_2_type ( tree  lowval,
tree  highval 
)

Definition at line 3686 of file tree.c.

tree build_index_type ( tree  maxval  ) 

tree build_int_2_wide ( unsigned HOST_WIDE_INT  low,
HOST_WIDE_INT  hi 
)

Definition at line 449 of file tree.c.

References integer_type_node, make_node, TREE_INT_CST_HIGH, TREE_INT_CST_LOW, and TREE_TYPE.

Referenced by interpret_integer().

tree build_method_type ( tree  basetype,
tree  type 
)

Definition at line 3842 of file tree.c.

Referenced by build_java_method_type().

tree build_offset_type ( tree  basetype,
tree  type 
)

tree build_pointer_type ( tree  to_type  ) 

Definition at line 3546 of file tree.c.

Referenced by add_function_candidate(), alpha_gimplify_va_arg(), alpha_gimplify_va_arg_1(), altivec_init_builtins(), altivec_resolve_overloaded_builtin(), arc_va_arg(), arm_init_builtins(), array_to_pointer_conversion(), assign_parm_find_data_types(), assign_parms(), assign_parms_augmented_arg_list(), build_addr(), build_addr_func(), build_address(), build_address_of(), build_array_type(), build_base_path(), build_binary_op(), build_c_cast(), build_cleanup(), build_common_tree_nodes_2(), build_conditional_expr(), build_const_cast_1(), build_cplus_method_type(), build_ctr_info_type(), build_delete(), build_dummy_object(), build_dynamic_cast_1(), build_exception_object_ref(), build_fold_addr_expr(), build_function_call(), build_function_call_expr(), build_gcov_info(), build_invokevirtual(), build_java_array_type(), build_jni_stub(), build_method_call(), build_method_type(), build_method_type_directly(), build_new(), build_new_1(), build_new_method_call(), build_objc_method_call(), build_objc_symtab_template(), build_over_call(), build_ptrmem_type(), build_raw_new_expr(), build_reinterpret_cast(), build_reinterpret_cast_1(), build_special_member_call(), build_static_cast(), build_static_cast_1(), build_string_class_template(), build_string_literal(), build_throw(), build_type_no_quals(), build_unary_op(), build_up_reference(), build_user_type_conversion_1(), build_vbase_delete(), build_vec_delete(), build_vec_delete_1(), build_vec_init(), build_vtbl_address(), build_x_va_arg(), c4x_gimplify_va_arg_expr(), c_common_nodes_and_builtins(), c_common_type_for_mode(), casts_away_constness(), casts_away_constness_r(), check_field_decls(), check_special_function_return_type(), clear_storage_via_libcall(), common_pointer_type(), common_type(), comp_target_types(), composite_pointer_type(), composite_pointer_type_r(), composite_type(), comptypes(), convert_class_to_reference(), convert_for_assignment(), convert_like_real(), convert_to_base_statically(), convert_to_reference(), cp_parser_builtin_offsetof(), create_coverage(), create_mem_ref(), cris_expand_builtin_va_arg(), cxx_init_decl_processing(), cxx_make_type(), cxx_type_promotes_to(), d30v_expand_builtin_va_arg(), decay_conversion(), decl_attributes(), default_function_array_conversion(), dummy_object(), emit_block_move_via_libcall(), emit_library_call_value_1(), emit_support_tinfos(), end_final(), expand_builtin_args_info(), expand_builtin_memcmp(), expand_builtin_strcmp(), expand_builtin_strncmp(), expand_call(), expand_expr_stmt_value(), expand_invoke(), expand_start_catch_block(), ffecom_1_fn(), ffecom_arg_ptr_to_expr(), ffecom_arglist_expr_(), ffecom_arrayref_(), ffecom_call_(), ffecom_char_args_x_(), ffecom_do_entry_(), ffecom_end_transition(), ffecom_expr_intrinsic_(), ffecom_f2c_make_type_(), ffecom_gen_sfuncdef_(), ffecom_gfrt_tree_(), ffecom_init_0(), ffecom_let_char_(), ffecom_ptr_to_expr(), ffecom_start_progunit_(), ffecom_subscript_check_(), ffecom_sym_transform_(), ffecom_transform_namelist_(), ffecom_tree_divide_(), ffecom_type_namelist_(), ffecom_vardesc_(), ffecom_vardesc_array_(), ffecom_vardesc_dims_(), ffeste_io_cilist_(), ffeste_io_cllist_(), ffeste_io_ialist_(), ffeste_io_icilist_(), ffeste_io_inlist_(), ffeste_io_olist_(), ffeste_R838(), find_interesting_uses_address(), finish_omp_clauses(), fixup_child_record_type(), fold_builtin_memcmp(), fold_builtin_strcmp(), fold_builtin_strncmp(), force_expr_to_var_cost(), force_var_cost(), fr30_pass_by_reference(), frv_init_builtins(), generate_bytecode_insns(), generate_static_references(), get_atexit_node(), get_chain_decl(), get_chain_field(), get_guard_bits(), get_member_function_from_ptrfunc(), gimplify_cond_expr(), gimplify_decl_expr(), gimplify_omp_atomic_pipeline(), gimplify_parameters(), gimplify_va_arg_expr(), grokdeclarator(), grokparms(), GTY(), handle_const_attribute(), handle_noreturn_attribute(), hppa_gimplify_va_arg_expr(), hppa_va_arg(), i860_gimplify_va_arg_expr(), i860_va_arg(), i860_va_start(), ia64_gimplify_va_arg(), ia64_init_builtins(), ia64_va_arg(), idx_find_step(), implicitly_declare_fn(), init_eh(), init_rtti_processing(), initialize_argument_information(), initialize_reference(), inline_conversion(), install_var_field(), instantiate_type(), iq2000_expand_prologue(), ix86_build_builtin_va_list(), ix86_build_va_list(), ix86_gimplify_va_arg(), ix86_init_mmx_sse_builtins(), ix86_va_arg(), java_init_decl_processing(), layout_type(), lookup_field_for_decl(), lower_omp_single_copy(), m32r_va_arg(), m88k_build_va_list(), make_class(), maybe_adjust_types_for_deduction(), merge_types(), mf_build_string(), mf_xform_derefs_1(), mips_build_builtin_va_list(), mips_expand_prologue(), mips_gimplify_va_arg_expr(), mmix_expand_builtin_va_arg(), mn10200_va_arg(), mn10300_va_arg(), more_specialized_fn(), mudflap_init(), mx_register_decls(), promote_type(), push_class(), qualify_type_recursive(), reconstruct_complex_type(), resolve_address_of_overloaded_function(), resolve_offset_ref(), rs6000_build_builtin_va_list(), rs6000_build_va_list(), rs6000_builtin_type(), rs6000_gimplify_va_arg(), rs6000_init_builtins(), s390_call_saved_register_used(), s390_gimplify_va_arg(), sh_gimplify_va_arg_expr(), sh_output_mi_thunk(), sh_va_arg(), simplify_aggr_init_expr(), simplify_aggr_init_exprs_r(), sparc_gimplify_va_arg(), spe_init_builtins(), stabilize_reference(), stabilize_va_list(), standard_conversion(), std_gimplify_va_arg_expr(), string_conv_p(), strip_all_pointer_quals(), synth_module_prologue(), thunk_adjust(), try_one_overload(), tsubst(), type_decays_to(), type_for_mode(), unary_complex_lvalue(), use_thunk(), VEC(), vect_create_addr_base_for_vector_ref(), vect_create_data_ref_ptr(), vector_size_helper(), WFE_Expand_Expr(), write_type(), xstormy16_expand_builtin_va_arg(), and xtensa_gimplify_va_arg_expr().

tree build_qualified_type ( tree  type,
int  type_quals 
)

tree build_range_type ( tree  type,
tree  lowval,
tree  highval 
)

tree build_real ( tree  type,
REAL_VALUE_TYPE  d 
)

tree build_real_from_int_cst ( tree  type,
tree  i 
)

Definition at line 540 of file tree.c.

Referenced by chrec_apply(), fold_convert(), and fold_convert_const().

tree build_reference_type ( tree  to_type  ) 

tree build_string ( int  len,
const char *  str 
)

tree build_tree_list ( tree  parm,
tree  value 
)

Definition at line 1128 of file tree.c.

References make_node, TREE_PURPOSE, and TREE_VALUE.

tree build_type_attribute_variant ( tree  ttype,
tree  attribute 
)

tree build_type_copy ( tree  type  ) 

tree build_type_no_quals ( tree  t  ) 

Definition at line 3604 of file tree.c.

Referenced by build_type_no_quals(), c_common_get_alias_set(), and GTY().

tree build_vector ( tree  type,
tree  vals 
)

tree byte_position ( tree  field  ) 

int chain_member ( tree  elem,
tree  chain 
)

Definition at line 958 of file tree.c.

Referenced by finish_function(), pushdecl(), and warn_if_shadowing().

int chain_member_purpose ( tree  elem,
tree  chain 
)

Definition at line 993 of file tree.c.

References TREE_CHAIN, and TREE_PURPOSE.

int chain_member_value ( tree  elem,
tree  chain 
)

Definition at line 976 of file tree.c.

References TREE_CHAIN, and TREE_VALUE.

tree chainon ( tree  op1,
tree  op2 
)

Definition at line 1044 of file tree.c.

Referenced by accumulate_vtbl_inits(), add_block_to_enclosing(), add_implicitly_declared_members(), add_instance_variable(), add_var_to_bind_expr(), build_category_template(), build_class_template(), build_ctor_vtbl_group(), build_ivar_list_template(), build_ivar_template(), build_jni_stub(), build_method_list_template(), build_method_prototype_list_template(), build_method_prototype_template(), build_method_template(), build_module_descriptor(), build_objc_symtab_template(), build_protocol_template(), build_selector_template(), build_string_class_template(), build_super_template(), build_vtbl_initializer(), c4x_pr_CODE_SECTION(), c4x_pr_DATA_SECTION(), c4x_pr_FUNC_IS_PURE(), c4x_pr_FUNC_NEVER_RETURNS(), c4x_pr_INTERRUPT(), c_parser_asm_operands(), c_parser_attributes(), c_parser_declaration_or_fndef(), c_parser_enum_specifier(), c_parser_objc_class_declaration(), c_parser_objc_message_args(), c_parser_objc_method_decl(), c_parser_objc_protocol_definition(), c_parser_objc_protocol_refs(), c_parser_objc_selector_arg(), c_parser_objc_type_name(), c_parser_parameter_declaration(), c_parser_struct_declaration(), c_parser_struct_or_union_specifier(), cp_parser_attributes_opt(), cp_parser_class_specifier(), cp_parser_decl_specifier_seq(), cp_parser_member_declaration(), cp_parser_objc_class_ivars(), cp_parser_objc_identifier_list(), cp_parser_objc_message_args(), cp_parser_objc_method_keyword_params(), cp_parser_objc_method_tail_params_opt(), cp_parser_objc_selector_expression(), cp_parser_parameter_declaration(), cp_parser_template_parameter_list(), cp_parser_type_specifier_seq(), decl_attributes(), declare_inline_vars(), declare_vars(), declspecs_add_attrs(), def_fn_type(), determine_specialization(), do_pending_defargs(), duplicate_decls(), expand_builtin_stpcpy(), expand_call_inline(), expand_parallel_call(), expand_start_for(), expand_start_parallel(), expand_start_parallel_for(), expand_start_parallel_sections(), expand_start_sections(), expand_start_single(), finish_class_definition(), finish_fname_decls(), finish_member_declaration(), finish_struct_1(), get_arg_type_list(), get_basefndecls(), get_parm_info(), get_super_receiver(), gimplify_asm_expr(), grokdeclarator(), grokparms(), GTY(), insert_block(), lazily_declare_fn(), link_handler(), lookup_conversions_r(), lower_omp_master(), lower_omp_ordered(), lower_omp_single(), make_class_data(), move_cleanups_up(), objc_copy_list(), parse_signature_string(), pop_label_level(), poplevel(), process_template_parm(), really_start_method(), set_block(), start_decl(), store_parm_decls(), store_parm_decls_oldstyle(), tsubst_friend_function(), and warn_hidden().

void clean_symbol_name ( char *  p  ) 

Definition at line 4530 of file tree.c.

Referenced by get_file_function_name_long(), and output_clean_symbol_name().

int compare_tree_int ( tree  t,
unsigned HOST_WIDE_INT  u 
)

int contains_placeholder_p ( tree  exp  ) 

tree copy_list ( tree  list  ) 

tree copy_node ( tree  node  ) 

tree decl_assembler_name ( tree  decl  ) 

Definition at line 159 of file tree.c.

tree decl_function_context ( tree  decl  ) 

tree decl_type_context ( tree  decl  ) 

Definition at line 4315 of file tree.c.

Referenced by build_unary_op().

void default_flag_random_seed (  ) 

void dump_tree_statistics ( void   ) 

Definition at line 4408 of file tree.c.

Referenced by cp_finish_file(), finalize(), and finish_file().

unsigned int expr_align ( tree  t  ) 

Definition at line 1267 of file tree.c.

Referenced by expr_align().

int fields_length ( tree  type  ) 

Definition at line 1026 of file tree.c.

Referenced by store_constructor().

static void finish_vector_type ( tree  t  )  [static]

int first_rtl_op ( enum tree_code  code  ) 

tree get_callee_fndecl ( tree  call  ) 

Definition at line 4349 of file tree.c.

Referenced by aggregate_value_p(), alloc_object_size(), build_cxx_call(), build_new_1(), build_op_delete_call(), builtin_mathfn_code(), c_warn_unused_result(), call_expr_flags(), ccp_fold(), ccp_fold_builtin(), cgraph_create_edges(), check_call(), compute_object_sizes(), convert_call_expr(), copy_bb(), copy_body_r(), do_jump(), estimate_num_insns_1(), execute_fold_all_builtins(), execute_optimize_stdarg(), expand_builtin(), expand_builtin_int_roundingfn(), expand_builtin_mathfn(), expand_builtin_mathfn_2(), expand_builtin_mathfn_3(), expand_builtin_memcpy(), expand_builtin_memory_chk(), expand_builtin_memset(), expand_builtin_object_size(), expand_builtin_stpcpy(), expand_builtin_strcmp(), expand_builtin_strncmp(), expand_builtin_strncpy(), expand_call(), expand_call_inline(), expr_expected_value(), find_func_aliases(), find_tail_calls(), finish_omp_clauses(), fold(), fold_binary(), fold_builtin_1(), fold_builtin_bitop(), fold_builtin_classify(), fold_builtin_exponent(), fold_builtin_logarithm(), fold_builtin_unordered_cmp(), fold_fixed_mathfn(), fold_negate_expr(), fold_stmt(), fold_trunc_transparent_mathfn(), get_call_expr_operands(), gimplify_call_expr(), inline_forbidden_p(), inline_forbidden_p_1(), lower_stmt(), maybe_emit_chk_warning(), maybe_emit_sprintf_chk_warning(), negate_expr(), pass_through_call(), rebuild_cgraph_edges(), record_call_1(), stmt_cost(), strip_builtin_expect(), tree_could_trap_p(), tree_expr_nonnegative_p(), tree_expr_nonnegative_warnv_p(), update_call_expr_flags(), verify_cgraph_node(), and verify_cgraph_node_1().

tree get_containing_scope ( tree  t  ) 

Definition at line 4265 of file tree.c.

Referenced by decl_function_context(), rest_of_compilation(), and tree_expand_cfg().

tree get_file_function_name ( int  kind  ) 

tree get_file_function_name_long ( char *  type  )  const

tree get_inner_array_type ( tree  array  ) 

Definition at line 3765 of file tree.c.

Referenced by emit_move_sequence(), and x86_field_alignment().

tree get_narrower ( tree  op,
int *  unsignedp_ptr 
)

Definition at line 4077 of file tree.c.

Referenced by build_binary_op(), operand_equal_for_comparison_p(), and shorten_compare().

tree get_qualified_type ( tree  type,
int  type_quals 
)

Definition at line 2819 of file tree.c.

Referenced by build_qualified_type().

tree get_set_constructor_bits ( tree  init,
char *  buffer,
int  bit_size 
)

Definition at line 4618 of file tree.c.

Referenced by get_set_constructor_bytes(), and store_constructor().

tree get_set_constructor_bytes ( tree  init,
unsigned char *  buffer,
int  wd_size 
)

Definition at line 4676 of file tree.c.

Referenced by compare_constant(), const_hash_1(), and output_constant().

tree get_unwidened ( tree  op,
tree  for_type 
)

static GTY ( (if_marked("type_hash_marked_p"), param_is(struct type_hash))   )  [static]

Definition at line 129 of file tree.c.

References htab_create(), type_hash_eq(), type_hash_hash(), and TYPE_HASH_INITIAL_SIZE.

struct type_hash GTY ( ()   )  [read, write]

Definition at line 113 of file tree.c.

int has_cleanups ( tree  exp  ) 

Definition at line 1832 of file tree.c.

References first_rtl_op(), i, nops, TREE_CHAIN, TREE_CODE, TREE_CODE_CLASS, TREE_OPERAND, TREE_SIDE_EFFECTS, and TREE_VALUE.

Referenced by fold(), and has_cleanups().

int host_integerp ( tree  t,
int  pos 
)

Definition at line 3292 of file tree.c.

Referenced by addr_object_size(), adjust_offset_for_component_ref(), all_cases_count(), alloc_object_size(), assemble_variable(), assign_temp(), build_anewarray(), build_binary_op(), build_index_type(), build_newarray(), build_nonstandard_integer_type(), build_range_type(), build_vec_init(), c_getstr(), c_strlen(), categorize_ctor_elements_1(), check_all_va_list_escapes(), check_format_arg(), compute_object_sizes(), compute_record_mode(), count_type_elements(), decide_block_copy(), decode_addr_const(), dump_array_domain(), dump_expr(), dump_generic_node(), dump_type_suffix(), expand_builtin_args_info(), expand_builtin_frame_address(), expand_builtin_memcmp(), expand_builtin_memcpy(), expand_builtin_memmove(), expand_builtin_memory_chk(), expand_builtin_mempcpy(), expand_builtin_memset(), expand_builtin_strncmp(), expand_builtin_strncpy(), expand_expr(), expand_expr_real_1(), fold(), fold_binary(), fold_builtin_memcmp(), fold_builtin_memory_chk(), fold_builtin_memory_op(), fold_builtin_memset(), fold_builtin_powi(), fold_builtin_snprintf_chk(), fold_builtin_sprintf_chk(), fold_builtin_strcat_chk(), fold_builtin_strncat_chk(), fold_builtin_strncmp(), fold_builtin_strncpy_chk(), fold_builtin_stxcpy_chk(), fold_comparison(), fold_plusminus_mult_expr(), fold_ternary(), fold_unary(), function_arg(), function_arg_record_value_1(), function_arg_record_value_2(), get_block_for_decl(), get_dispatch_vector(), get_element_number(), get_inner_reference(), get_memory_rtx(), get_narrower(), get_pointer_alignment(), get_ref_base_and_extent(), get_set_constructor_bits(), get_unwidened(), gimple_add_tmp_var(), handle_vector_size_attribute(), highest_pow2_factor(), init_offset_limit(), int_expr_size(), is_aligning_offset(), layout_type(), locate_and_pad_parm(), lower_omp_for_lastprivate(), m32c_pragma_memregs(), make_bit_field_ref(), max_int_size_in_bytes(), maybe_emit_chk_warning(), maybe_emit_sprintf_chk_warning(), mode_for_size_tree(), output_constructor(), place_field(), plus_expr_object_size(), pp_c_character_constant(), pp_c_direct_abstract_declarator(), pp_c_integer_literal(), predict_loops(), ptr_difference_const(), push_fields_onto_fieldstack(), reshape_init_array(), reshape_init_array_1(), rs6000_darwin64_record_arg_advance_recurse(), rs6000_darwin64_record_arg_recurse(), set_mem_attributes_minus_bitpos(), stack_protect_classify_type(), store_constructor(), string_constant(), target_char_cast(), tree_low_cst(), try_unroll_loop_completely(), va_list_counter_bump(), vect_compute_data_ref_alignment(), widen_bitfield(), and widen_memory_access().

int index_type_equal ( tree  itype1,
tree  itype2 
)

bool initializer_zerop ( tree  init  ) 

HOST_WIDE_INT int_bit_position ( tree  field  ) 

HOST_WIDE_INT int_byte_position ( tree  field  ) 

int int_fits_type_p ( tree  c,
tree  type 
)

HOST_WIDE_INT int_size_in_bytes ( tree  type  ) 

Definition at line 1198 of file tree.c.

Referenced by alpha_encode_section_info(), alpha_in_small_data_p(), arc_pass_by_reference(), arc_return_in_memory(), arc_va_arg(), arm_function_value(), arm_pad_reg_upward(), arm_return_in_memory(), assign_parm_adjust_entry_rtl(), assign_parm_setup_block(), assign_parm_setup_stack(), assign_parms(), assign_parms_unsplit_complex(), assign_temp(), avr_function_value(), avr_num_arg_regs(), avr_return_in_memory(), bfin_arg_partial_bytes(), bfin_return_in_memory(), build_known_method_ref(), build_ref_from_constant_pool(), build_static_field_ref(), c4x_gimplify_va_arg_expr(), c4x_va_arg(), classify_argument(), clipper_va_arg(), compare_constant(), complete_array_type(), const_hash_1(), construct_container(), copy_blkmode_from_reg(), count_type_elements(), crx_return_in_memory(), d30v_expand_builtin_va_arg(), d30v_function_arg(), d30v_function_arg_advance(), d30v_function_arg_boundary(), d30v_function_arg_partial_nregs(), dsp16xx_function_arg_advance(), encode_method_def(), encode_method_prototype(), end_final(), enough_regs_for_param(), estimate_move_cost(), expand_assignment(), expand_call(), expand_expr(), expand_expr_real_1(), expand_function_start(), expand_return(), expand_value_return(), ffecom_init_zero_(), finalize_must_preallocate(), fr30_num_arg_regs(), fr30_pass_by_value(), fr30_va_arg(), frv_in_small_data_p(), function_arg(), function_arg_advance(), function_arg_boundary(), function_arg_padding(), function_arg_partial_nregs(), function_arg_pass_by_reference(), function_arg_record_value(), function_cannot_inline_p(), function_value(), gen_rtx_REG_offset(), gen_type(), get_boehm_type_descriptor(), get_constant_size(), gimplify_init_constructor(), handle_structs_in_regs(), hard_function_value(), hppa_gimplify_va_arg_expr(), hppa_va_arg(), i860_va_arg(), i960_arg_size_and_align(), i960_va_arg(), ia64_function_arg(), ia64_function_arg_advance(), ia64_function_arg_partial_nregs(), ia64_function_arg_words(), ia64_function_value(), ia64_gimplify_va_arg(), ia64_hpux_function_arg_padding(), ia64_in_small_data_p(), ia64_return_in_memory(), initialize_argument_information(), instantiate_decls(), instantiate_decls_1(), ip2k_return_in_memory(), iq2000_expand_prologue(), iq2000_pass_by_reference(), iq2000_return_in_memory(), ix86_gimplify_va_arg(), ix86_in_large_data_p(), ix86_pass_by_reference(), ix86_return_in_memory(), ix86_va_arg(), load_register_parameters(), m32r_arg_partial_bytes(), m32r_encode_section_info(), m32r_in_small_data_p(), m32r_pass_by_reference(), m32r_va_arg(), m68hc11_function_arg_advance(), m68hc11_function_arg_padding(), m68hc11_return_in_memory(), m68hc11_va_arg(), m88k_function_arg(), m88k_va_arg(), mark_reference_fields(), mcore_num_arg_regs(), mcore_return_in_memory(), mergeable_string_section(), mips_arg_info(), mips_encode_section_info(), mips_expand_prologue(), mips_function_value(), mips_gimplify_va_arg_expr(), mips_in_small_data_p(), mips_offset_within_object_p(), mips_output_external(), mips_pad_arg_upward(), mips_pass_by_reference(), mips_return_in_memory(), mips_select_section(), mips_unique_section(), mips_va_arg(), mn10200_va_arg(), mn10300_arg_partial_bytes(), mn10300_pass_by_reference(), mn10300_return_in_memory(), mn10300_va_arg(), mt_arg_partial_bytes(), mt_function_arg_advance(), mt_pass_by_reference(), must_pass_in_stack_var_size_or_pad(), ns32k_arg_partial_bytes(), output_constant(), output_constant_def_contents(), output_constructor(), pa_pass_by_reference(), pa_return_in_memory(), pj_expand_builtin_va_arg(), precompute_register_parameters(), romp_output_function_epilogue(), rs6000_arg_partial_bytes(), rs6000_arg_size(), rs6000_darwin64_record_arg(), rs6000_function_value(), rs6000_gimplify_va_arg(), rs6000_pass_by_reference(), rs6000_return_in_memory(), rs6000_va_arg(), s390_function_arg_size(), s390_gimplify_va_arg(), s390_return_in_memory(), s390_va_arg(), score_offset_within_object_p(), score_output_external(), score_return_in_memory(), sh_arg_partial_bytes(), sh_function_arg_advance(), sh_gimplify_va_arg_expr(), sh_init_cumulative_args(), sh_return_in_memory(), sh_setup_incoming_varargs(), sh_va_arg(), shcompact_byref(), sjlj_build_landing_pads(), sparc_arg_partial_bytes(), sparc_gimplify_va_arg(), sparc_pass_by_reference(), sparc_return_in_memory(), sparc_va_arg(), store_constructor(), store_expr(), store_field(), store_one_arg(), store_unaligned_arguments_into_pseudos(), th_in_small_data_p(), type_natural_mode(), v850_arg_partial_bytes(), v850_encode_data_area(), v850_pass_by_reference(), v850_return_in_memory(), v850_va_arg(), WFE_Expand_Expr(), xstormy16_expand_builtin_va_arg(), xstormy16_return_in_memory(), xtensa_return_in_memory(), and xtensa_return_in_msb().

int integer_all_onesp ( tree  expr  ) 

int integer_onep ( tree  expr  ) 

int integer_pow2p ( tree  expr  ) 

int integer_zerop ( tree  expr  ) 

Definition at line 619 of file tree.c.

Referenced by abs_replacement(), add_pointed_to_expr(), addr_for_mem_ref(), all_chrecs_equal_p(), alloc_iv(), analyze_ziv_subscript(), array_type_nelts(), associate_equivalences_with_edges(), associate_trees(), build_base_path(), build_binary_op(), build_c_cast(), build_class_member_access_expr(), build_conditional_expr(), build_java_arrayaccess(), build_new(), build_over_call(), build_ptrmemfunc(), build_range_check(), build_unary_op(), build_vtbl_initializer(), c_common_truthvalue_conversion(), c_finish_loop(), c_parser_postfix_expression(), check_bitfield_decl(), check_bitfield_type_and_width(), check_bool_init(), check_field_decls(), check_for_plus_in_loops(), check_for_plus_in_loops_1(), check_format_arg(), check_format_types(), check_function_sentinel(), check_nonnull_arg(), chrec_apply(), chrec_fold_minus(), chrec_fold_multiply(), chrec_fold_plus(), chrec_zerop(), compute_array_index_type(), compute_overlap_steps_for_affine_1_2(), compute_record_mode(), conditional_replacement(), convert_for_assignment(), convert_force(), convert_ptrmem(), convert_to_base_statically(), convert_to_integer(), convert_to_pointer(), count_type_elements(), cp_convert_to_pointer(), cp_parser_pure_specifier(), create_mem_ref(), cris_expand_builtin_va_arg(), delete_sanity(), dfs_unshared_virtual_bases(), do_jump(), do_store_flag(), dump_array_domain(), dump_expr(), dump_generic_node(), eliminate_using_constants(), empty_base_at_nonzero_offset_p(), encode_complete_bitfield(), encode_type(), execute_optimize_stdarg(), expand_builtin_expect_jump(), expand_builtin_memset(), expand_builtin_strncat(), expand_builtin_strncpy(), expand_builtin_strrchr(), expand_complex_div_wide(), expand_expr(), expand_expr_real_1(), expand_parallel_call(), extract_muldiv_1(), extract_range_from_binary_expr(), ffecom_expr_power_integer_(), ffecom_intrinsic_ichar_(), ffecom_overlap_(), ffeste_begin_iterdo_(), finalize_record_size(), find_assert_locations(), find_interesting_uses_cond(), find_sole_member(), finish_struct(), finish_struct_1(), fold(), fold_binary(), fold_binary_to_constant(), fold_builtin_constant_p(), fold_builtin_memcmp(), fold_builtin_memcpy(), fold_builtin_memmove(), fold_builtin_memory_op(), fold_builtin_mempcpy(), fold_builtin_memset(), fold_builtin_next_arg(), fold_builtin_snprintf_chk(), fold_builtin_sprintf_chk(), fold_builtin_strncat(), fold_builtin_strncat_chk(), fold_builtin_strncmp(), fold_builtin_strncpy(), fold_builtin_strrchr(), fold_comparison(), fold_complex_div_parts(), fold_complex_mult_parts(), fold_cond_expr_cond(), fold_cond_expr_with_comparison(), fold_convert(), fold_offsetof_1(), fold_read_from_constant_string(), fold_single_bit_test(), fold_single_bit_test_into_sign_test(), fold_ternary(), fold_truth_not_expr(), fold_truthop(), forward_propagate_addr_expr_1(), forward_propagate_into_cond_1(), frv_adjust_field_align(), function_arg_record_value_1(), function_arg_record_value_2(), generate_bytecode_conditional(), generate_bytecode_insns(), genrtl_do_stmt(), get_constraint_for(), get_constraint_for_component_ref(), get_inner_reference(), get_pseudo_ti_desc(), get_pseudo_ti_index(), get_ref_base_and_extent(), gimplify_c_loop(), gimplify_cp_loop(), gimplify_if_stmt(), grok_function_init(), grokdeclarator(), grokfield(), GTY(), hfa_element_mode(), initializer_constant_valid_p(), initializer_zerop(), integer_all_onesp(), integer_onep(), integer_pow2p(), integer_zerop(), internal_build_compound_expr(), invert_truthvalue(), is_empty_class(), is_zeros_p(), ix86_gimplify_va_arg(), layout_class_type(), layout_decl(), layout_empty_base(), layout_type(), lookup_avail_expr(), lower_omp_for_lastprivate(), make_range(), maybe_fold_offset_to_array_ref(), maybe_fold_stmt_addition(), maybe_fold_stmt_indirect(), merge_ranges(), min_precision(), mmix_expand_builtin_va_arg(), multiple_of_p(), null_pointer_constant_p(), null_ptr_cst_p(), number_of_iterations_exit(), number_of_iterations_in_loop(), object_analysis(), optimize_bit_field_compare(), output_init_element(), parser_build_binary_op(), place_field(), pop_init_level(), pp_c_bool_literal(), print_operand(), process_init_element(), push_fields_onto_fieldstack(), pushdecl(), range_is_nonnull(), range_is_null(), record_edge_info(), record_single_argument_cond_exprs(), remove_useless_stmts_cond(), return_prediction(), set_mem_attributes_minus_bitpos(), shorten_compare(), simplify_abs_using_ranges(), simplify_rhs_and_lookup_avail_expr(), size_binop(), some_nonzerop(), sra_type_can_be_decomposed_p(), std_expand_builtin_va_arg(), std_gimplify_va_arg_expr(), store_constructor(), substitute_single_use_vars(), tree_could_trap_p(), tree_fold_divides_p(), tree_fold_gcd(), tree_may_unswitch_on(), tree_predict_by_opcode(), tree_unswitch_single_loop(), truthvalue_conversion(), tsubst(), type_can_be_decomposed_p(), update_alignment_for_field(), use_thunk(), vect_analyze_offset_expr(), vect_analyze_pointer_ref_access(), vrp_int_const_binop(), write_integer_cst(), write_template_arg_literal(), zero_sized_field_decl(), and zero_sized_type().

int is_attribute_p ( char *  attr,
tree  ident 
) const

tree lhd_unsave_expr_now ( tree  expr  ) 

int list_length ( tree  t  ) 

tree listify ( tree  chain  ) 

Definition at line 1103 of file tree.c.

References next, NULL_TREE, result, TREE_CHAIN, and tree_cons.

tree lookup_attribute ( char *  attr_name,
tree  list 
) const

Definition at line 2648 of file tree.c.

References abort, is_attribute_p(), NULL_TREE, TREE_CHAIN, TREE_CODE, and TREE_PURPOSE.

Referenced by arm_comp_type_attributes(), arm_compute_func_type(), arm_dllexport_p(), arm_dllimport_p(), arm_function_ok_for_sibcall(), arm_init_cumulative_args(), assemble_alias(), attribute_list_contained(), avr_naked_function_p(), avr_progmem_p(), bfin_comp_type_attributes(), bfin_handle_longcall_attribute(), c4x_assembler_function_p(), c4x_interrupt_function_p(), c4x_leaf_function_p(), c4x_naked_function_p(), c_cannot_inline_tree_fn(), c_common_get_alias_set(), c_determine_visibility(), c_disregard_inline_limits(), c_warn_unused_result(), calc_live_regs(), cgraph_decide_inlining(), check_decl(), check_function_sentinel(), cp_cannot_inline_tree_fn(), cp_finish_decl(), Create_TY_For_Tree(), crx_interrupt_function_p(), darwin_encode_section_info(), decide_is_function_needed(), decide_is_variable_needed(), decl_attributes(), decl_tls_model(), decl_visibility(), default_binds_local_p_1(), determine_visibility(), diagnose_mismatched_decls(), do_assemble_alias(), duplicate_decls(), expand_call_inline(), expand_interrupt_handler_epilogue(), expand_interrupt_handler_prologue(), expand_prologue(), finish_aliases_1(), finish_decl(), finish_enum(), fold(), fold_binary(), frv_emit_movsi(), funkind(), GTY(), h8300_eightbit_data_p(), h8300_funcvec_function_p(), h8300_interrupt_function_p(), h8300_monitor_function_p(), h8300_os_task_function_p(), h8300_saveall_function_p(), h8300_tiny_data_p(), handle_alias_attribute(), handle_visibility_attribute(), handle_weakref_attribute(), has_proper_scope_for_analysis(), i386_nlm_encode_section_info(), i386_pe_adjust_class_at_definition(), i386_pe_asm_named_section(), i386_pe_dllexport_p(), i386_pe_dllimport_p(), i386_pe_encode_section_info(), i386_pe_section_type_flags(), ia64_compute_frame_size(), ia64_epilogue_uses(), ia64_function_ok_for_sibcall(), ia64_get_addr_area(), import_export_class(), init_cumulative_args(), inlinable_function_p(), inline_forbidden_p_1(), interrupt_function_p(), ip2k_naked_function_p(), is_called_in_ARM_mode(), ix86_comp_type_attributes(), ix86_fntype_regparm(), ix86_function_ok_for_sibcall(), ix86_function_regparm(), ix86_function_sseregparm(), ix86_handle_cconv_attribute(), ix86_handle_cdecl_attribute(), ix86_handle_regparm_attribute(), ix86_handle_struct_attribute(), ix86_internal_arg_pointer(), ix86_ms_bitfield_layout_p(), ix86_return_pops_args(), lhd_tree_inlining_cannot_inline_tree_fn(), lhd_tree_inlining_disregard_inline_limits(), m32r_compute_function_type(), m32r_encode_section_info(), m32r_hard_regno_rename_ok(), m32r_in_small_data_p(), m68hc11_encode_section_info(), m68hc11_initial_elimination_offset(), m68k_interrupt_function_p(), machopic_select_section(), mcore_dllexport_p(), mcore_dllimport_p(), mcore_naked_function_p(), merge_attributes(), mips_encode_section_info(), mt_interrupt_function_p(), n_regs_saved_by_prologue(), nonnull_arg_p(), ns32k_return_pops_args(), output_mi_thunk(), print_operand(), process_function_and_variable_attributes(), rest_of_decl_compilation(), rs6000_function_ok_for_sibcall(), rs6000_handle_struct_attribute(), rs6000_ms_bitfield_layout_p(), sh_attr_renesas_p(), sh_cfun_interrupt_handler_p(), sh_expand_epilogue(), sh_expand_prologue(), sh_insert_attributes(), sh_media_register_for_return(), sh_symbian_dllexport_p(), sh_symbian_dllimport_p(), signal_function_p(), solaris_insert_attributes(), solaris_output_init_fini(), start_decl(), start_function(), start_preparsed_function(), symbian_add_attribute(), symbian_class_needs_attribute_p(), symbian_export_vtable_and_rtti_p(), symbian_import_export_class(), use_blocks_for_decl_p(), v850_get_data_area(), v850_interrupt_function_p(), WFE_Start_Function(), WFE_Weak_Finish(), x86_output_mi_thunk(), x86_this_parameter(), xstormy16_encode_section_info(), and xstormy16_interrupt_function_p().

tree make_node ( enum tree_code  code  ) 

tree make_tree_vec ( int  len  ) 

static tree make_vector ( enum machine_mode  mode,
tree  innertype,
int  unsignedp 
) [static]

Definition at line 4960 of file tree.c.

References finish_vector_type(), make_node, TREE_TYPE, TREE_UNSIGNED, and TYPE_MODE.

Referenced by build_common_tree_nodes_2().

tree merge_attributes ( tree  a1,
tree  a2 
)

Definition at line 2668 of file tree.c.

Referenced by duplicate_decls(), merge_decl_attributes(), and merge_type_attributes().

tree merge_decl_attributes ( tree  olddecl,
tree  newdecl 
)

Definition at line 2730 of file tree.c.

tree merge_type_attributes ( tree  t1,
tree  t2 
)

Definition at line 2719 of file tree.c.

tree nreverse ( tree  t  ) 

Definition at line 1086 of file tree.c.

Referenced by adorn_decl(), build_category_initializer(), build_ctr_info_value(), build_descriptor_table_initializer(), build_dispatch_table_initializer(), build_expr_from_tree(), build_fn_info_value(), build_function_type_list(), build_gcov_info(), build_ivar_list_initializer(), build_jni_stub(), build_non_dependent_args(), build_objc_string_object(), build_over_call(), build_protocol_initializer(), build_selector_translation_table(), build_shared_structure_initializer(), build_vbase_delete(), build_vector_from_ctor(), build_vtbl_initializer(), build_vtt_inits(), build_zero_init(), c_parser_enum_specifier(), c_parser_objc_class_instance_variables(), c_parser_struct_or_union_specifier(), check_field_decls(), convert_arguments(), cp_finish_file(), cp_parser_asm_operand_list(), cp_parser_attribute_list(), cp_parser_base_clause(), cp_parser_class_specifier(), cp_parser_initializer_list(), cp_parser_parenthesized_expression_list(), cp_parser_type_id_list(), cxx_omp_clause_apply_fn(), declare_tmp_vars(), declare_vars(), def_fn_type(), dump_template_decl(), emit_offset_symbol_table(), end_final(), expand_builtin_args_info(), expand_function_start(), finish_enum(), finish_file(), finish_mem_initializers(), finish_struct_1(), fixup_child_record_type(), gen_declspecs(), generate_descriptor_table(), generate_dispatch_table(), generate_ivars_list(), generate_protocol_list(), generate_static_references(), get_parm_info(), get_pure_virtuals(), get_vbase_types(), gimplify_call_expr(), give_name_to_locals(), grokdeclarator(), grokparms(), GTY(), init_def_list(), init_module_descriptor(), init_objc_symtab(), initialize_inlined_parameters(), instantiate_class_template(), jcf_parse(), layout_class_methods(), layout_type(), make_class_data(), parse_signature_string(), pop_init_level(), poplevel(), process_init_constructor(), ptm_initializer(), ptr_initializer(), remap_block(), remap_decl(), remap_decls(), remap_type_1(), reshape_init(), set_type_package_list(), sort_mem_initializers(), sparc_fold_builtin(), sparc_handle_vis_mul8x16(), store_init_value(), store_parm_decls(), tinfo_base_init(), tsubst_copy_and_build(), tsubst_omp_clauses(), unreverse_member_declarations(), use_thunk(), and VPARAMS().

int _obstack_allocated_p PARAMS ( (struct obstack *h, PTR obj)   ) 

void print_obstack_statistics ( char *  str,
struct obstack o 
) const

static void print_type_hash_statistics ( void   )  [static]

Definition at line 3089 of file tree.c.

References fprintf(), htab_collisions(), htab_elements, and htab_size.

Referenced by dump_tree_statistics().

tree purpose_member ( tree  elem,
tree  list 
)

int real_minus_onep ( tree  expr  ) 

Definition at line 880 of file tree.c.

Referenced by fold(), fold_binary(), fold_builtin_cbrt(), real_minus_onep(), and tree_predict_by_opcode().

int real_onep ( tree  expr  ) 

int real_twop ( tree  expr  ) 

Definition at line 864 of file tree.c.

Referenced by fold(), and real_twop().

REAL_VALUE_TYPE real_value_from_int_cst ( type  ,
tree type  i 
)

int real_zerop ( tree  expr  ) 

int really_constant_p ( tree  exp  ) 

tree save_expr ( tree  expr  ) 

Definition at line 1416 of file tree.c.

static void set_type_quals ( tree  type,
int  type_quals 
) [static]

int simple_cst_equal ( tree  t1,
tree  t2 
)

int simple_cst_list_equal ( tree  l1,
tree  l2 
)

tree size_in_bytes ( tree  type  ) 

tree stabilize_reference ( tree  ref  ) 

tree stabilize_reference_1 ( tree  e  ) 

int staticp ( tree  arg  ) 

Definition at line 1338 of file tree.c.

tree substitute_in_expr ( tree  exp,
tree  f,
tree  r 
)

Definition at line 1894 of file tree.c.

Referenced by substitute_in_expr().

tree tree_cons ( tree  purpose,
tree  value,
tree  chain 
)

int tree_floor_log2 ( tree  expr  ) 

Definition at line 793 of file tree.c.

Referenced by do_jump(), inverse(), and min_precision().

int tree_int_cst_compare ( tree  t1,
tree  t2 
)

int tree_int_cst_equal ( tree  t1,
tree  t2 
)

Definition at line 3224 of file tree.c.

Referenced by add_case_node(), all_ones_mask_p(), balance_case_nodes(), build_binary_op(), build_over_call(), build_vbase_offset_vtbl_entries(), build_zero_init(), c_add_case_label(), c_strlen(), check_for_full_enumeration_handling(), compare_constant(), comptypes(), comptypes_internal(), convert_to_integer(), convert_to_vector(), cp_fold_obj_type_ref(), dfs_base_derived_from(), dfs_find_final_overrider(), dump_expr(), emit_case_nodes(), expand_case(), expand_end_case_type(), expand_expr(), expand_expr_real_1(), extract_range_from_unary_expr(), find_equivalent_equality_comparison(), fold(), fold_const_aggregate_ref(), fold_convert(), fold_indirect_ref_1(), fold_negate_expr(), fold_relational_const(), generate_element_init_1(), group_case_labels(), group_case_nodes(), include_empty_classes(), instantiate_missing_elements(), layout_class_type(), lookup_base_r(), make_range(), make_thunk(), mark_seen_cases(), match_case_to_enum(), merge_ranges(), modify_vtable_entry(), node_has_high_bound(), node_has_low_bound(), operand_equal_p(), optimize_minmax_comparison(), output_init_element(), output_pending_init_elements(), pp_c_enumeration_constant(), pp_c_enumerator(), process_init_element(), set_init_index(), simplify_cond_and_lookup_avail_expr(), size_diffop(), sra_elt_eq(), tree_fold_divides_p(), try_move_mult_to_index(), type_hash_eq(), type_lists_compatible_p(), unify(), vector_types_convertible_p(), verify_array_type(), verify_enumeral_type(), verify_integer_type(), and verify_type().

int tree_int_cst_lt ( tree  t1,
tree  t2 
)

Definition at line 3246 of file tree.c.

Referenced by add_case_node(), add_pending_init(), addr_object_size(), analyze_siv_subscript_cst_affine(), array_size_for_constructor(), build_anon_union_vars(), build_binary_op(), build_enumerator(), build_zero_init(), c_add_case_label(), complete_array_type(), compute_estimated_nb_iterations(), convert_to_integer(), create_iv(), expand_builtin_memory_chk(), expand_builtin_strcmp(), expand_builtin_strncmp(), expand_builtin_strncpy(), expand_end_case_type(), expand_expr(), extract_range_from_cond(), find_init_member(), find_loop_niter(), find_loop_niter_by_eval(), finish_enum(), fold(), fold_binary(), fold_builtin_memory_chk(), fold_builtin_snprintf_chk(), fold_builtin_sprintf_chk(), fold_builtin_strncat_chk(), fold_builtin_strncpy(), fold_builtin_strncpy_chk(), fold_builtin_stxcpy_chk(), get_maxval_strlen(), group_case_nodes(), handle_sentinel_attribute(), in_array_bounds_p(), infer_loop_bounds_from_undefined(), int_fits_type_p(), integer_cst_le(), is_valid_const_index(), layout_class_type(), layout_virtual_bases(), make_range(), mark_seen_cases(), maybe_deduce_size_from_array_init(), maybe_emit_chk_warning(), maybe_emit_sprintf_chk_warning(), maybe_fold_offset_to_component_ref(), maybe_fold_stmt_addition(), next_child_for_group(), node_has_high_bound(), node_has_low_bound(), optimize_minmax_comparison(), output_init_element(), output_pending_init_elements(), predict_loops(), process_init_element(), push_init_level(), pushcase_range(), range_in_array_bounds_p(), reshape_init(), set_init_index(), set_nonincremental_init_from_string(), simplify_cond_and_lookup_avail_expr(), size_diffop(), tree_int_cst_compare(), tree_verify_flow_info(), verify_array_type(), verify_enumeral_type(), verify_field_decl(), verify_integer_cst(), verify_integer_type(), verify_parm_decl(), verify_real_type(), verify_type(), and verify_var_decl().

int tree_int_cst_msb ( tree  t  ) 

Definition at line 3324 of file tree.c.

Referenced by int_fits_type_p().

int tree_int_cst_sgn ( tree  t  ) 

tree tree_last ( tree  chain  ) 

int tree_log2 ( tree  expr  ) 

HOST_WIDE_INT tree_low_cst ( tree  t,
int  pos 
)

Definition at line 3311 of file tree.c.

Referenced by add_stack_var(), addr_object_size(), adjust_offset_for_component_ref(), all_cases_count(), alloc_object_size(), array_size_for_constructor(), assemble_noswitch_variable(), assemble_variable(), assemble_variable_contents(), assign_temp(), bitpos_of_field(), build_anewarray(), build_binary_op(), build_index_type(), build_newarray(), build_nonstandard_integer_type(), build_post_landing_pads(), build_range_type(), build_replicated_const(), build_vec_init(), c_getstr(), c_strlen(), categorize_ctor_elements_1(), check_all_va_list_escapes(), check_bitfield_type_and_width(), check_format_arg(), classify_argument(), compute_object_offset(), compute_object_sizes(), compute_record_mode(), count_type_elements(), cp_dump_tree(), cp_fold_obj_type_ref(), decide_block_copy(), decode_addr_const(), defer_stack_allocation(), DST_enter_struct_union(), dump_array(), dump_class_hierarchy(), dump_class_hierarchy_1(), dump_class_hierarchy_r(), dump_expr(), dump_thunk(), dump_type_suffix(), emit_case_bit_tests(), encode_field_decl(), expand_builtin_args_info(), expand_builtin_eh_return_data_regno(), expand_builtin_frame_address(), expand_builtin_memcmp(), expand_builtin_memcpy(), expand_builtin_memmove(), expand_builtin_mempcpy(), expand_builtin_memset(), expand_builtin_object_size(), expand_builtin_strncmp(), expand_builtin_strncpy(), expand_case(), expand_end_case_type(), expand_expr(), expand_expr_real_1(), expand_one_stack_var(), expand_vector_addition(), expand_vector_parallel(), expand_vector_piecewise(), finish_struct(), fold(), fold_builtin_memcmp(), fold_builtin_memory_op(), fold_builtin_memset(), fold_builtin_object_size(), fold_builtin_strncmp(), fold_comparison(), fold_offsetof_1(), fold_ternary(), fold_unary(), function_arg(), get_dispatch_vector(), get_element_number(), get_inner_reference(), get_memory_rtx(), get_narrower(), get_pointer_alignment(), get_set_constructor_bits(), get_unwidened(), gimplify_omp_atomic(), handle_vector_size_attribute(), highest_pow2_factor(), i860_gimplify_va_arg_expr(), init_eh(), init_offset_limit(), int_bit_position(), int_byte_position(), int_expr_size(), is_aligning_offset(), iv_period(), layout_class_type(), layout_type(), locate_and_pad_parm(), m32c_pragma_memregs(), make_bit_field_ref(), make_thunk(), max_int_size_in_bytes(), maybe_fold_offset_to_array_ref(), mode_for_size_tree(), number_of_iterations_cond(), number_of_iterations_ne(), output_constant(), output_constructor(), output_object_block(), place_block_symbol(), place_field(), plus_expr_object_size(), pp_c_character_constant(), pp_c_character_literal(), pp_c_direct_abstract_declarator(), predict_loops(), process_init_element(), ptr_difference_const(), push_init_level(), reshape_init_array(), reshape_init_array_1(), resolve_virtual_fun_from_obj_type_ref(), rtl_coverage_counter_ref(), rtl_gen_const_delta_profiler(), rtl_gen_interval_profiler(), rtl_gen_one_value_profiler_no_edge_manipulation(), rtl_gen_pow2_profiler(), set_mem_attributes_minus_bitpos(), sra_type_can_be_decomposed_p(), stack_protect_classify_type(), store_constructor(), sync_resolve_size(), target_char_cast(), try_unroll_loop_completely(), type_can_be_decomposed_p(), use_thunk(), va_list_counter_bump(), vect_compute_data_ref_alignment(), vect_create_cond_for_align_checks(), vect_create_data_ref_ptr(), vect_create_epilog_for_reduction(), vect_gen_niters_for_prolog_loop(), widen_bitfield(), widen_memory_access(), and write_array_type().

enum tree_node_structure_enum tree_node_structure ( tree  t  ) 

Definition at line 1515 of file tree.c.

size_t tree_size ( tree  node  ) 

void type_hash_add ( unsigned int  hashcode,
tree  type 
)

Definition at line 3017 of file tree.c.

Referenced by type_hash_canon().

tree type_hash_canon ( unsigned int  hashcode,
tree  type 
)

static int type_hash_eq ( void va,
const void vb 
) const [static]

static hashval_t type_hash_hash ( void item  )  const [static]

Definition at line 2984 of file tree.c.

Referenced by GTY(), and init_ttree().

unsigned int type_hash_list ( tree  list  ) 

tree type_hash_lookup ( unsigned int  hashcode,
tree  type 
)

Definition at line 2994 of file tree.c.

Referenced by type_hash_canon().

static int type_hash_marked_p ( void p  )  const [static]

Definition at line 3080 of file tree.c.

References ggc_marked_p(), and TYPE_SYMTAB_POINTER.

int type_list_equal ( tree  l1,
tree  l2 
)

Definition at line 3182 of file tree.c.

Referenced by ehspec_filter_eq(), and type_hash_eq().

int type_num_arguments ( tree  type  ) 

Definition at line 3203 of file tree.c.

Referenced by build_new_1().

int unsafe_for_reeval ( tree  expr  ) 

tree unsave_expr ( tree  expr  ) 

Definition at line 1475 of file tree.c.

References build1, TREE_CODE, TREE_SIDE_EFFECTS, and TREE_TYPE.

Referenced by expand_builtin_expect_jump(), expand_decl_cleanup(), and fix_unsafe_tree().

static void unsave_expr_1 ( tree  expr  ) 

Definition at line 1559 of file tree.c.

Referenced by cp_unsave_r(), lhd_unsave_expr_now(), and unsave_r().

tree value_member ( tree  elem,
tree  list 
)

bool variably_modified_type_p ( tree  type  ) 

tree build_function_type_list VPARAMS ( (tree return_type,...)   ) 

tree build_nt VPARAMS ( (enum tree_code code,...)   ) 

Definition at line 2420 of file tree.c.

References i, length, make_node, p, TREE_CODE_LENGTH, TREE_OPERAND, va_arg, VA_CLOSE, VA_FIXEDARG, and VA_OPEN.

tree build VPARAMS ( (enum tree_code code, tree tt,...)   ) 


Variable Documentation

Definition at line 3043 of file tree.c.

const char* flag_random_seed

Definition at line 4439 of file tree.c.

int next_decl_uid [static]

Definition at line 106 of file tree.c.

Referenced by copy_node_stat(), and make_node_stat().

int next_type_uid = 1 [static]

Definition at line 108 of file tree.c.

Referenced by copy_node_stat(), and make_node_stat().


Generated on Wed Apr 8 15:29:47 2009 for Open64 by  doxygen 1.5.6