osprey-gcc-4.2.0/gcc/function.h File Reference

#include "tree.h"
#include "hashtab.h"

Include dependency graph for function.h:

Go to the source code of this file.

Data Types

type  simple_obstack_stack

Defines

#define reg_rtx_no   (cfun->emit->x_reg_rtx_no)
#define regno_reg_rtx   (cfun->emit->x_regno_reg_rtx)
#define seq_stack   (cfun->emit->sequence_stack)
#define REGNO_POINTER_ALIGN(REGNO)   (cfun->emit->regno_pointer_align[REGNO])
#define pending_stack_adjust   (cfun->expr->x_pending_stack_adjust)
#define inhibit_defer_pop   (cfun->expr->x_inhibit_defer_pop)
#define saveregs_value   (cfun->expr->x_saveregs_value)
#define apply_args_value   (cfun->expr->x_apply_args_value)
#define forced_labels   (cfun->expr->x_forced_labels)
#define stack_pointer_delta   (cfun->expr->x_stack_pointer_delta)
#define VA_LIST_MAX_GPR_SIZE   255
#define VA_LIST_MAX_FPR_SIZE   255
#define current_function_pops_args   (cfun->pops_args)
#define current_function_returns_struct   (cfun->returns_struct)
#define current_function_returns_pcc_struct   (cfun->returns_pcc_struct)
#define current_function_returns_pointer   (cfun->returns_pointer)
#define current_function_calls_setjmp   (cfun->calls_setjmp)
#define current_function_calls_alloca   (cfun->calls_alloca)
#define current_function_accesses_prior_frames   (cfun->accesses_prior_frames)
#define current_function_calls_eh_return   (cfun->calls_eh_return)
#define current_function_is_thunk   (cfun->is_thunk)
#define current_function_args_info   (cfun->args_info)
#define current_function_args_size   (cfun->args_size)
#define current_function_pretend_args_size   (cfun->pretend_args_size)
#define current_function_outgoing_args_size   (cfun->outgoing_args_size)
#define current_function_arg_offset_rtx   (cfun->arg_offset_rtx)
#define current_function_stdarg   (cfun->stdarg)
#define current_function_internal_arg_pointer   (cfun->internal_arg_pointer)
#define current_function_return_rtx   (cfun->return_rtx)
#define current_function_profile   (cfun->profile)
#define current_function_funcdef_no   (cfun->funcdef_no)
#define current_function_limit_stack   (cfun->limit_stack)
#define current_function_uses_pic_offset_table   (cfun->uses_pic_offset_table)
#define current_function_uses_const_pool   (cfun->uses_const_pool)
#define current_function_epilogue_delay_list   (cfun->epilogue_delay_list)
#define current_function_has_nonlocal_label   (cfun->has_nonlocal_label)
#define current_function_has_nonlocal_goto   (cfun->has_nonlocal_goto)
#define return_label   (cfun->x_return_label)
#define naked_return_label   (cfun->x_naked_return_label)
#define stack_slot_list   (cfun->x_stack_slot_list)
#define parm_birth_insn   (cfun->x_parm_birth_insn)
#define frame_offset   (cfun->x_frame_offset)
#define stack_check_probe_note   (cfun->x_stack_check_probe_note)
#define arg_pointer_save_area   (cfun->x_arg_pointer_save_area)
#define used_temp_slots   (cfun->x_used_temp_slots)
#define avail_temp_slots   (cfun->x_avail_temp_slots)
#define temp_slot_level   (cfun->x_temp_slot_level)
#define nonlocal_goto_handler_labels   (cfun->x_nonlocal_goto_handler_labels)

Typedefs

typedef struct temp_slot * temp_slot_p

Enumerations

enum  function_frequency { FUNCTION_FREQUENCY_UNLIKELY_EXECUTED, FUNCTION_FREQUENCY_NORMAL, FUNCTION_FREQUENCY_HOT }

Functions/Subroutines

struct var_refs_queue GTY (())
 DEF_VEC_P (temp_slot_p)
 DEF_VEC_ALLOC_P (temp_slot_p, gc)
struct functionfind_function_data (tree)
void reorder_blocks (void)
void number_blocks (tree)
void clear_block_marks (tree)
tree blocks_nreverse (tree)
void reset_block_changes (void)
void record_block_change (tree)
void finalize_block_changes (void)
void check_block_change (rtx, tree *)
void free_block_changes (void)
HOST_WIDE_INT get_frame_size (void)
bool frame_offset_overflow (HOST_WIDE_INT, tree)
void free_after_parsing (struct function *)
void free_after_compilation (struct function *)
void init_varasm_status (struct function *)
rtx get_arg_pointer_save_area (struct function *)
const char * current_function_name (void)
void do_warn_unused_parameter (tree)
bool pass_by_reference (CUMULATIVE_ARGS *, enum machine_mode, tree, bool)
bool reference_callee_copied (CUMULATIVE_ARGS *, enum machine_mode, tree, bool)
void used_types_insert (tree)

Variables

struct sequence_stacksequence_stack
int virtuals_instantiated
int trampolines_created
struct machine_function *(* init_machine_status )(void)


Define Documentation

#define apply_args_value   (cfun->expr->x_apply_args_value)

Definition at line 158 of file function.h.

#define arg_pointer_save_area   (cfun->x_arg_pointer_save_area)

Definition at line 518 of file function.h.

#define avail_temp_slots   (cfun->x_avail_temp_slots)

Definition at line 520 of file function.h.

#define current_function_accesses_prior_frames   (cfun->accesses_prior_frames)

Definition at line 492 of file function.h.

Referenced by expand_builtin_return_addr(), and init_elim_table().

#define current_function_arg_offset_rtx   (cfun->arg_offset_rtx)

Definition at line 499 of file function.h.

#define current_function_args_info   (cfun->args_info)

Definition at line 495 of file function.h.

#define current_function_args_size   (cfun->args_size)

Definition at line 496 of file function.h.

#define current_function_calls_alloca   (cfun->calls_alloca)

Definition at line 491 of file function.h.

#define current_function_calls_eh_return   (cfun->calls_eh_return)

Definition at line 493 of file function.h.

#define current_function_calls_setjmp   (cfun->calls_setjmp)

Definition at line 490 of file function.h.

#define current_function_epilogue_delay_list   (cfun->epilogue_delay_list)

Definition at line 508 of file function.h.

#define current_function_funcdef_no   (cfun->funcdef_no)

Definition at line 504 of file function.h.

#define current_function_has_nonlocal_goto   (cfun->has_nonlocal_goto)

Definition at line 510 of file function.h.

#define current_function_has_nonlocal_label   (cfun->has_nonlocal_label)

Definition at line 509 of file function.h.

#define current_function_internal_arg_pointer   (cfun->internal_arg_pointer)

Definition at line 501 of file function.h.

#define current_function_is_thunk   (cfun->is_thunk)

Definition at line 494 of file function.h.

#define current_function_limit_stack   (cfun->limit_stack)

Definition at line 505 of file function.h.

#define current_function_outgoing_args_size   (cfun->outgoing_args_size)

Definition at line 498 of file function.h.

#define current_function_pops_args   (cfun->pops_args)

Definition at line 486 of file function.h.

#define current_function_pretend_args_size   (cfun->pretend_args_size)

Definition at line 497 of file function.h.

#define current_function_profile   (cfun->profile)

Definition at line 503 of file function.h.

#define current_function_return_rtx   (cfun->return_rtx)

Definition at line 502 of file function.h.

#define current_function_returns_pcc_struct   (cfun->returns_pcc_struct)

Definition at line 488 of file function.h.

#define current_function_returns_pointer   (cfun->returns_pointer)

Definition at line 489 of file function.h.

#define current_function_returns_struct   (cfun->returns_struct)

Definition at line 487 of file function.h.

#define current_function_stdarg   (cfun->stdarg)

Definition at line 500 of file function.h.

#define current_function_uses_const_pool   (cfun->uses_const_pool)

Definition at line 507 of file function.h.

#define current_function_uses_pic_offset_table   (cfun->uses_pic_offset_table)

Definition at line 506 of file function.h.

#define forced_labels   (cfun->expr->x_forced_labels)

Definition at line 159 of file function.h.

#define frame_offset   (cfun->x_frame_offset)

Definition at line 516 of file function.h.

#define inhibit_defer_pop   (cfun->expr->x_inhibit_defer_pop)

Definition at line 156 of file function.h.

#define naked_return_label   (cfun->x_naked_return_label)

Definition at line 513 of file function.h.

#define nonlocal_goto_handler_labels   (cfun->x_nonlocal_goto_handler_labels)

Definition at line 522 of file function.h.

#define parm_birth_insn   (cfun->x_parm_birth_insn)

Definition at line 515 of file function.h.

#define pending_stack_adjust   (cfun->expr->x_pending_stack_adjust)

Definition at line 155 of file function.h.

#define reg_rtx_no   (cfun->emit->x_reg_rtx_no)

Definition at line 108 of file function.h.

#define REGNO_POINTER_ALIGN ( REGNO   )     (cfun->emit->regno_pointer_align[REGNO])

Definition at line 112 of file function.h.

#define regno_reg_rtx   (cfun->emit->x_regno_reg_rtx)

Definition at line 109 of file function.h.

#define return_label   (cfun->x_return_label)

Definition at line 512 of file function.h.

#define saveregs_value   (cfun->expr->x_saveregs_value)

Definition at line 157 of file function.h.

#define seq_stack   (cfun->emit->sequence_stack)

Definition at line 110 of file function.h.

#define stack_check_probe_note   (cfun->x_stack_check_probe_note)

Definition at line 517 of file function.h.

Referenced by expand_function_start().

#define stack_pointer_delta   (cfun->expr->x_stack_pointer_delta)

Definition at line 160 of file function.h.

#define stack_slot_list   (cfun->x_stack_slot_list)

Definition at line 514 of file function.h.

#define temp_slot_level   (cfun->x_temp_slot_level)

Definition at line 521 of file function.h.

#define used_temp_slots   (cfun->x_used_temp_slots)

Definition at line 519 of file function.h.

#define VA_LIST_MAX_FPR_SIZE   255

#define VA_LIST_MAX_GPR_SIZE   255


Typedef Documentation

typedef struct temp_slot* temp_slot_p

Definition at line 163 of file function.h.


Enumeration Type Documentation

Enumerator:
FUNCTION_FREQUENCY_UNLIKELY_EXECUTED 
FUNCTION_FREQUENCY_NORMAL 
FUNCTION_FREQUENCY_HOT 

Definition at line 168 of file function.h.


Function Documentation

tree blocks_nreverse ( tree   ) 

Definition at line 3802 of file function.c.

References BLOCK_CHAIN, next, and prev.

void check_block_change ( rtx  ,
tree  
)

Definition at line 5571 of file function.c.

References cfun, INSN_UID, VARRAY_ACTIVE_SIZE, VARRAY_TREE, VEC_index, and VEC_length.

Referenced by GTY(), and VEC().

void clear_block_marks ( tree   ) 

const char* current_function_name ( void   ) 

Definition at line 5590 of file function.c.

References cfun.

DEF_VEC_ALLOC_P ( temp_slot_p  ,
gc   
)

DEF_VEC_P ( temp_slot_p   ) 

void do_warn_unused_parameter ( tree   ) 

Definition at line 4341 of file function.c.

References DECL_ARGUMENTS, DECL_ARTIFICIAL, DECL_NAME, TREE_CHAIN, TREE_CODE, TREE_USED, and warning.

Referenced by cgraph_finalize_function().

void finalize_block_changes ( void   ) 

Definition at line 5564 of file function.c.

References current_function_decl, DECL_INITIAL, and record_block_change().

Referenced by tree_expand_cfg().

struct function* find_function_data ( tree   )  [read]

bool frame_offset_overflow ( HOST_WIDE_INT  ,
tree   
)

void free_after_compilation ( struct function  ) 

Definition at line 449 of file function.c.

References NULL, and VEC_free.

Referenced by expand_dummy_function_end(), finish_function(), rest_of_clean_state(), and rest_of_compilation().

void free_after_parsing ( struct function  ) 

Definition at line 432 of file function.c.

References NULL.

Referenced by expand_dummy_function_end(), finish_function(), rest_of_clean_state(), and rest_of_compilation().

void free_block_changes ( void   ) 

Definition at line 5583 of file function.c.

References cfun, NULL, and VEC_free.

Referenced by GTY(), and VEC().

rtx get_arg_pointer_save_area ( struct function  ) 

HOST_WIDE_INT get_frame_size ( void   ) 

Definition at line 511 of file function.c.

References cfun, and get_func_frame_size().

Referenced by alpha_expand_epilogue(), alpha_expand_prologue(), alpha_initial_elimination_offset(), alpha_sa_size(), alpha_start_function(), arc_delay_slots_for_epilogue(), arm_compute_initial_elimination_offset(), arm_expand_prologue(), arm_get_frame_offsets(), arm_output_epilogue(), avr_simple_epilogue(), bfin_expand_epilogue(), bfin_expand_prologue(), bfin_initial_elimination_offset(), c4x_expand_epilogue(), c4x_expand_prologue(), c4x_null_epilogue_p(), can_use_return_insn(), cris_delay_slots_for_epilogue(), cris_expand_epilogue(), cris_expand_prologue(), cris_initial_frame_pointer_offset(), cris_simple_epilogue(), cris_target_asm_function_prologue(), crx_compute_frame(), d30v_stack_info(), direct_return(), expand_epilogue(), expand_interrupt_handler_epilogue(), expand_interrupt_handler_prologue(), expand_prologue(), final_end_function(), final_start_function(), fr30_compute_frame_size(), frame_pointer_required_p(), frv_frame_pointer_required(), frv_stack_info(), h8300_can_use_return_insn_p(), h8300_expand_epilogue(), h8300_expand_prologue(), h8300_initial_elimination_offset(), hppa_can_use_return_insn_p(), hppa_expand_prologue(), i960_function_name_declare(), ia64_direct_return(), ia64_expand_epilogue(), ia64_expand_prologue(), ia64_initial_elimination_offset(), initial_elimination_offset(), initial_frame_pointer_offset(), initial_offset(), ip2k_init_elim_offset(), iq2000_can_use_return_insn(), iq2000_debugger_offset(), iq2000_expand_prologue(), iq2000_initial_elimination_offset(), ix86_compute_frame_layout(), layout_mcore_frame(), m32c_initial_elimination_offset(), m32r_expand_prologue(), m32r_first_insn_address(), m68hc11_initial_elimination_offset(), m68hc11_total_frame_size(), m68k_compute_frame_layout(), m88k_layout_frame(), mdx_epilogue(), mdx_prologue(), mips_can_use_return_insn(), mips_debugger_offset(), mips_expand_prologue(), mips_initial_elimination_offset(), mips_set_return_address(), mmix_expand_epilogue(), mmix_expand_prologue(), mmix_initial_elimination_offset(), mmix_use_simple_return(), mt_expand_epilogue(), mt_expand_prologue(), mt_initial_elimination_offset(), null_epilogue(), pj_expand_epilogue(), pj_expand_prologue(), reload(), romp_pushes_stack(), rounded_frame_size(), rs6000_stack_info(), s390_frame_info(), s390_initial_elimination_offset(), s390_register_info(), score_initial_elimination_offset(), sparc_expand_prologue(), sparc_flat_epilogue_delay_slots(), thumb_expand_epilogue(), thumb_expand_prologue(), total_frame_size(), use_return_insn(), xstormy16_compute_stack_layout(), xtensa_expand_prologue(), xtensa_function_prologue(), and xtensa_reorg().

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

Definition at line 28 of file function.h.

References modified, and next.

void init_varasm_status ( struct function  ) 

void number_blocks ( tree   ) 

bool pass_by_reference ( CUMULATIVE_ARGS ,
enum  machine_mode,
tree  ,
bool   
)

void record_block_change ( tree   ) 

bool reference_callee_copied ( CUMULATIVE_ARGS ,
enum  machine_mode,
tree  ,
bool   
)

void reorder_blocks ( void   ) 

void reset_block_changes ( void   ) 

void used_types_insert ( tree   ) 


Variable Documentation

Definition at line 137 of file function.c.

Referenced by expand_builtin_init_trampoline(), and file_end_indicate_exec_stack().


Generated on Wed Apr 8 15:32:41 2009 for Open64 by  doxygen 1.5.6