Go to the source code of this file.
| #define ATTRIBUTE_ASM_FPRINTF | ( | m, | |||
| n | ) | ATTRIBUTE_NONNULL(m) |
| #define SECTION_COMMON 0x800000 |
| #define SECTION_DECLARED 0x100000 |
Definition at line 409 of file output.h.
Referenced by default_elf_asm_named_section(), get_section(), and switch_to_section().
| #define SECTION_NAMED 0x200000 |
Definition at line 420 of file output.h.
Referenced by darwin_asm_output_dwarf_offset(), get_section(), hash_section(), switch_to_section(), and unlikely_text_section_p().
| #define SECTION_NOSWITCH 0x400000 |
Definition at line 425 of file output.h.
Referenced by assemble_variable(), get_block_for_decl(), get_noswitch_section(), and switch_to_section().
| #define SECTION_STYLE | ( | SECT | ) | ((SECT)->common.flags & SECTION_STYLE_MASK) |
Definition at line 530 of file output.h.
Referenced by assemble_variable(), get_block_for_decl(), switch_to_section(), and unlikely_text_section_p().
| #define SECTION_UNNAMED 0x000000 |
Definition at line 416 of file output.h.
Referenced by get_unnamed_section(), and switch_to_section().
| typedef void(* unnamed_section_callback)(const void *) |
| enum section_category |
Definition at line 865 of file varasm.c.
References BITS_PER_UNIT, CONSTANT_ALIGNMENT, DATA_ALIGNMENT, DECL_ALIGN, DECL_INITIAL, DECL_SIZE, DECL_USER_ALIGN, error_mark_node, MAX, MAX_OFILE_ALIGNMENT, TREE_CODE, TREE_TYPE, TYPE_ALIGN, and warning.
Referenced by assemble_variable(), cgraph_varpool_analyze_pending_decls(), and get_block_for_decl().
Definition at line 2930 of file final.c.
References abort, adjust_address, BYTES_BIG_ENDIAN, gen_rtx_REG_offset(), GET_CODE, GET_MODE, GET_MODE_SIZE, MEM, MEM_P, offset, ORIGINAL_REGNO, PUT_CODE, REG, REG_P, REGNO, RTX_FLAG, simplify_subreg(), SUBREG_BYTE, subreg_hard_regno(), SUBREG_REG, subreg_regno(), UNITS_PER_WORD, WORDS_BIG_ENDIAN, x, and is::y.
Referenced by cleanup_subreg_operands(), emit_move_sequence(), final_scan_insn(), fixup_subreg_mem(), gen_split_move_double(), load_multiple_sequence(), output_operand(), pj_output_rval(), print_operand(), print_operand_address(), store_multiple_sequence(), v850_reorg(), and walk_alter_subreg().
Definition at line 574 of file final.c.
References app_on, ASM_APP_OFF, asm_out_file, and fputs().
Referenced by assemble_start_function(), assemble_variable(), final_end_function(), and final_scan_insn().
Definition at line 561 of file final.c.
References app_on, ASM_APP_ON, asm_out_file, and fputs().
Referenced by assemble_asm().
Definition at line 4665 of file varasm.c.
References alias, cgraph_node(), cgraph_varpool_node(), DECL_ASSEMBLER_NAME, DECL_ATTRIBUTES, DECL_EXTERNAL, DECL_WEAK, do_assemble_alias(), error(), ggc_alloc, GS_DECL_ALIAS_TARGET, gs_set_operand(), IDENTIFIER_TRANSPARENT_ALIAS, lookup_attribute(), make_decl_rtl(), NULL, p, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_CODE, TREE_PUBLIC, TREE_USED, ultimate_transparent_alias_target(), and VEC_safe_push.
| void assemble_align | ( | int | ) |
Definition at line 1298 of file varasm.c.
References asm_out_file, ASM_OUTPUT_ALIGN, BITS_PER_UNIT, and floor_log2.
Referenced by arm_elf_asm_constructor(), assemble_start_function(), default_named_section_asm_out_constructor(), default_named_section_asm_out_destructor(), dw2_asm_output_encoded_addr_rtx(), emit_register_classes(), frv_asm_out_constructor(), frv_asm_out_destructor(), machopic_asm_out_constructor(), machopic_asm_out_destructor(), machopic_finish(), machopic_output_indirection(), nextstep_asm_out_constructor(), nextstep_asm_out_destructor(), nwld_named_section_asm_out_constructor(), nwld_named_section_asm_out_destructor(), output_constant_pool(), output_constant_pool_1(), output_function_exception_table(), output_object_block(), VPARAMS(), xstormy16_asm_out_constructor(), and xstormy16_asm_out_destructor().
Definition at line 1012 of file varasm.c.
References app_enable(), asm_out_file, fprintf(), TREE_CODE, TREE_OPERAND, TREE_STRING_POINTER, and WFE_Assemble_Asm().
Referenced by cgraph_output_in_order(), cgraph_output_pending_asms(), and cp_parser_asm_definition().
Definition at line 1249 of file varasm.c.
References ASM_DECLARE_FUNCTION_SIZE, asm_out_file, CONSTANT_POOL_BEFORE_FUNCTION, function_section(), output_after_function_constants(), and output_constant_pool().
Referenced by rest_of_compilation(), rest_of_handle_final(), and use_thunk().
Definition at line 1957 of file varasm.c.
References gcc_target::asm_out, gcc_target::asm_out::external_libcall, SYMBOL_REF_USED, and targetm.
Definition at line 2179 of file varasm.c.
References asm_out_file, fputc(), fputs(), and output_addr_const().
| void assemble_label | ( | const char * | ) |
Definition at line 1807 of file varasm.c.
References ASM_OUTPUT_LABELREF, assemble_name_raw(), fputs(), gcc_assert, IDENTIFIER_POINTER, mark_referenced(), maybe_get_identifier(), gcc_target::strip_name_encoding, targetm, TREE_CHAIN, TREE_SYMBOL_REFERENCED, and ultimate_transparent_alias_target().
Referenced by alpha_end_function(), alpha_start_function(), arm_output_mi_thunk(), asm_output_common(), asm_output_local(), build_mips16_call_stub(), build_mips16_function_stub(), c4x_file_end(), clix_asm_out_constructor(), cris_asm_output_label_ref(), cris_asm_output_mi_thunk(), cris_asm_output_symbol_ref(), cris_output_addr_const(), cris_output_addr_const_extra(), d30v_print_operand_address(), darwin_asm_output_dwarf_delta(), darwin_assemble_visibility(), darwin_mark_decl_preserved(), default_assemble_visibility(), default_stabs_asm_out_constructor(), default_stabs_asm_out_destructor(), dw2_asm_output_delta_uleb128(), frv_asm_output_mi_thunk(), frv_print_operand_address(), GTY(), i370_output_function_epilogue(), i386_pe_declare_function_type(), i860_output_function_epilogue(), i960_function_name_declare(), ia64_hpux_asm_file_end(), ia64_hpux_file_end(), ia64_output_function_profiler(), ix86_asm_file_end(), ix86_file_end(), m32c_print_operand(), machopic_finish(), machopic_output_indirection(), mcore_external_libcall(), mips_asm_file_end(), mips_declare_object(), mips_file_end(), mips_output_function_epilogue(), mips_output_function_prologue(), mmix_asm_globalize_label(), mmix_asm_output_aligned_common(), mmix_asm_output_aligned_local(), mmix_asm_output_def(), mmix_asm_output_define_label_difference_symbol(), mmix_asm_output_label(), mmix_asm_output_mi_thunk(), mmix_asm_weaken_label(), output_addr_const(), output_addr_const_pdp11(), output_asm_label(), output_function_profiler(), output_function_prologue(), output_global_address(), output_mi_thunk(), output_pic_addr_const(), pa_asm_output_aligned_common(), pa_asm_output_aligned_local(), pa_globalize_label(), print_operand(), rs6000_assemble_integer(), rs6000_output_function_entry(), rs6000_output_function_epilogue(), rs6000_output_symbol_ref(), s390_output_addr_const_extra(), score_declare_object(), th_asm_file_end(), th_function_epilogue(), th_function_prologue(), v850_output_common(), v850_output_local(), vax_output_mi_thunk(), VPARAMS(), xstormy16_asm_output_aligned_common(), xstormy16_asm_output_mi_thunk(), xstormy16_print_operand(), and xtensa_declare_object().
Definition at line 1168 of file varasm.c.
References align_functions, align_functions_log, app_disable(), ASM_DECLARE_FUNCTION_NAME, ASM_GENERATE_INTERNAL_LABEL, gcc_target::asm_out, asm_out_file, ASM_OUTPUT_ALIGN, ASM_OUTPUT_FUNCTION_PREFIX, ASM_OUTPUT_LABEL, ASM_OUTPUT_MAX_SKIP_ALIGN, assemble_align(), BB_COLD_PARTITION, BB_PARTITION, gcc_debug_hooks::begin_function, BITS_PER_UNIT, cfun, CONSTANT_POOL_BEFORE_FUNCTION, current_function_decl, current_function_is_thunk, debug_hooks, DECL_ONE_ONLY, DECL_PRESERVE_P, DECL_SECTION_NAME, DECL_WEAK, ENTRY_BLOCK_PTR, first_global_object_name, flag_function_sections, floor_log2, force_align_functions_log, free(), FUNCTION_BOUNDARY, FUNCTION_FREQUENCY_UNLIKELY_EXECUTED, function_section(), ggc_strdup, globalize_decl(), in_unlikely_text_section(), initialize_cold_section_name(), gcc_target::asm_out::mark_decl_preserved, maybe_assemble_visibility(), notice_global_symbol(), NULL, output_constant_pool(), p, reconcat(), resolve_unique_section(), strcmp(), gcc_target::strip_name_encoding, switch_to_section(), targetm, TREE_PUBLIC, TREE_STRING_POINTER, unlikely_text_section(), weak_global_object_name, and xstrdup().
Referenced by build_mips16_call_stub(), rest_of_compilation(), rest_of_handle_final(), and use_thunk().
| void assemble_string | ( | const char * | , | |
| int | ||||
| ) |
| void assemble_zeros | ( | unsigned | HOST_WIDE_INT | ) |
Definition at line 1365 of file varasm.c.
References ASM_NO_SKIP_IN_TEXT, asm_out_file, ASM_OUTPUT_SKIP, assemble_integer(), BITS_PER_UNIT, const0_rtx, flag_syntax_only, i, in_text_section(), in_unlikely_text_section(), and SECTION_CODE.
| enum section_category categorize_decl_for_section | ( | tree | , | |
| int | ||||
| ) |
Definition at line 5539 of file varasm.c.
References gcc_target::asm_out, bss_initializer_p(), DECL_INITIAL, DECL_THREAD_LOCAL_P, error_mark_node, flag_merge_constants, flag_zero_initialized_in_bss, GS_DECL_INITIAL, gs_set_operand(), gcc_target::have_srodata_section, gcc_target::in_small_data_p, initializer_zerop(), NULL, gcc_target::asm_out::reloc_rw_mask, ret, SECCAT_BSS, SECCAT_DATA, SECCAT_DATA_REL, SECCAT_DATA_REL_LOCAL, SECCAT_DATA_REL_RO, SECCAT_DATA_REL_RO_LOCAL, SECCAT_RODATA, SECCAT_RODATA_MERGE_CONST, SECCAT_RODATA_MERGE_STR, SECCAT_RODATA_MERGE_STR_INIT, SECCAT_SBSS, SECCAT_SDATA, SECCAT_SRODATA, SECCAT_TBSS, SECCAT_TDATA, SECCAT_TEXT, targetm, TREE_CODE, TREE_CONSTANT, TREE_READONLY, and TREE_SIDE_EFFECTS.
| int compute_reloc_for_constant | ( | tree | ) |
Definition at line 3462 of file varasm.c.
References compute_reloc_for_constant(), CONSTRUCTOR_ELTS, FOR_EACH_CONSTRUCTOR_VALUE, handled_component_p(), idx, TREE_CHAIN, TREE_CODE, TREE_OPERAND, TREE_PUBLIC, and TREE_VALUE.
Definition at line 3776 of file varasm.c.
References constructor_elt, CONSTRUCTOR_ELTS, TREE_CODE, TREE_CONSTANT, TREE_TYPE, and VEC_empty.
Referenced by categorize_ctor_elements_1(), and initializer_constant_valid_p().
Definition at line 604 of file varasm.c.
References gcc_target::asm_out, current_function_decl, DECL_ALIGN, DECL_SECTION_NAME, get_named_section(), hot_function_section(), NULL, NULL_TREE, gcc_target::asm_out::select_section, targetm, and unlikely_text_section().
Referenced by final_scan_insn(), output_function_exception_table(), profile_function(), sparc_output_deferred_case_vectors(), and xstormy16_output_addr_vec().
| int dbr_sequence_length | ( | void | ) |
Definition at line 5289 of file varasm.c.
References categorize_decl_for_section(), decl_readonly_section_1(), flag_pic, SECCAT_RODATA, SECCAT_RODATA_MERGE_CONST, SECCAT_RODATA_MERGE_STR, SECCAT_RODATA_MERGE_STR_INIT, and SECCAT_SRODATA.
Referenced by arm_pe_unique_section(), default_section_type_flags(), default_select_section(), frv_emit_movsi(), i386_pe_section_type_flags(), i386_pe_unique_section(), machopic_select_section(), mcore_unique_section(), mips_unique_section(), noce_mem_write_may_trap_or_fault_p(), and readonly_data_expr().
Definition at line 4632 of file varasm.c.
References DECL_WEAK, error(), NULL, SUPPORTS_WEAK, TREE_ASM_WRITTEN, TREE_CODE, tree_cons, TREE_PUBLIC, warning, and WFE_Add_Weak().
Referenced by darwin_handle_weak_import_attribute(), and handle_weak_attribute().
| int decode_reg_name | ( | const char * | ) |
Definition at line 824 of file varasm.c.
References ADDITIONAL_REGISTER_NAMES, ARRAY_SIZE, atoi(), FIRST_PSEUDO_REGISTER, i, int, ISDIGIT, reg_names, strcmp(), strip_reg_name(), and strlen().
| int default_address_cost | ( | rtx | ) |
Definition at line 4783 of file varasm.c.
References asm_out_file, assemble_name(), DECL_ASSEMBLER_NAME, fprintf(), IDENTIFIER_POINTER, NULL, and warning.
Definition at line 5538 of file varasm.c.
References DECL_ATTRIBUTES, DECL_COMMON, DECL_EXTERNAL, DECL_INITIAL, DECL_ONE_ONLY, DECL_P, DECL_VISIBILITY, decl_visibility(), DECL_VISIBILITY_SPECIFIED, DECL_WEAK, error_mark_node, lookup_attribute(), NULL, TREE_PUBLIC, and VISIBILITY_DEFAULT.
Referenced by darwin_binds_local_p(), default_binds_local_p(), and frv_local_funcdesc_p().
Definition at line 5491 of file varasm.c.
References gcc_target::asm_out, compute_reloc_for_rtx(), CONST, flag_pic, GET_CODE, get_named_section(), mergeable_constant_section(), named_section(), NULL, NULL_TREE, gcc_target::asm_out::reloc_rw_mask, and targetm.
Referenced by ia64_select_rtx_section().
Definition at line 5320 of file varasm.c.
References categorize_decl_for_section(), DECL_INITIAL, DECL_MODE, DECL_P, default_elf_select_section_1(), flag_pic, gcc_unreachable, get_named_section(), mergeable_constant_section(), mergeable_string_section(), NULL_TREE, SECCAT_BSS, SECCAT_DATA, SECCAT_DATA_REL, SECCAT_DATA_REL_LOCAL, SECCAT_DATA_REL_RO, SECCAT_DATA_REL_RO_LOCAL, SECCAT_RODATA, SECCAT_RODATA_MERGE_CONST, SECCAT_RODATA_MERGE_STR, SECCAT_RODATA_MERGE_STR_INIT, SECCAT_SBSS, SECCAT_SDATA, SECCAT_SRODATA, SECCAT_TBSS, SECCAT_TDATA, and SECCAT_TEXT.
Referenced by x86_64_elf_select_section().
Definition at line 5567 of file varasm.c.
References ASM_APP_OFF, asm_out_file, gcc_target::file_start_app_off, gcc_target::file_start_file_directive, flag_verbose_asm, fputs(), main_input_filename, output_file_directive(), and targetm.
Definition at line 631 of file varasm.c.
References alloca, DECL_ONE_ONLY, DECL_SECTION_NAME, flag_data_sections, flag_function_sections, get_section(), len, memcpy, named_section_flags, named_section_real(), NULL_TREE, readonly_data_section(), SECTION_LINKONCE, strcat(), strcpy, strlen(), strncmp(), and TREE_STRING_POINTER.
Definition at line 5556 of file varasm.c.
References alloca, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, buf, and strlen().
Definition at line 1106 of file varasm.c.
References assemble_align(), assemble_integer(), BITS_PER_UNIT, buf, DEFAULT_INIT_PRIORITY, get_section(), MAX_INIT_PRIORITY, named_section_flags, NULL, POINTER_SIZE, SECTION_WRITE, sprintf(), and switch_to_section().
Referenced by arm_elf_asm_constructor(), and pa_asm_out_constructor().
Definition at line 1044 of file varasm.c.
References assemble_align(), assemble_integer(), BITS_PER_UNIT, buf, DEFAULT_INIT_PRIORITY, get_section(), MAX_INIT_PRIORITY, named_section_flags, NULL, POINTER_SIZE, SECTION_WRITE, sprintf(), and switch_to_section().
Referenced by pa_asm_out_destructor().
Definition at line 5019 of file varasm.c.
References asm_out_file, default_coff_asm_named_section(), fprintf(), SECTION_CODE, and SECTION_LINKONCE.
| unsigned int default_section_type_flags | ( | tree | , | |
| const char * | , | |||
| int | ||||
| ) |
Definition at line 4948 of file varasm.c.
References cfun, current_function_decl, DECL_ONE_ONLY, decl_readonly_section(), DECL_THREAD_LOCAL_P, default_section_type_flags_1(), flag_pic, SECTION_BSS, SECTION_CODE, SECTION_LINKONCE, SECTION_NOTYPE, SECTION_TLS, SECTION_WRITE, strcmp(), strncmp(), TREE_CODE, and UNLIKELY_EXECUTED_TEXT_SECTION_NAME.
Referenced by avr_section_type_flags(), ia64_section_type_flags(), m68hc11_section_type_flags(), and xtensa_multibss_section_type_flags().
Definition at line 5398 of file varasm.c.
References alloca, build_string(), categorize_decl_for_section(), DECL_ASSEMBLER_NAME, DECL_ONE_ONLY, DECL_SECTION_NAME, default_unique_section_1(), flag_pic, gcc_unreachable, IDENTIFIER_POINTER, memcpy, prefix, SECCAT_BSS, SECCAT_DATA, SECCAT_DATA_REL, SECCAT_DATA_REL_LOCAL, SECCAT_DATA_REL_RO, SECCAT_DATA_REL_RO_LOCAL, SECCAT_RODATA, SECCAT_RODATA_MERGE_CONST, SECCAT_RODATA_MERGE_STR, SECCAT_RODATA_MERGE_STR_INIT, SECCAT_SBSS, SECCAT_SDATA, SECCAT_SRODATA, SECCAT_TBSS, SECCAT_TDATA, SECCAT_TEXT, gcc_target::strip_name_encoding, strlen(), and targetm.
Referenced by x86_64_elf_unique_section().
Definition at line 5926 of file varasm.c.
References gcc_target::binds_local_p, DECL_P, gcc_target::in_small_data_p, SECTION_MERGE, SECTION_SMALL, SYMBOL_REF_BLOCK, SYMBOL_REF_DECL, and targetm.
| bool default_valid_pointer_mode | ( | enum | machine_mode | ) |
Definition at line 5584 of file varasm.c.
References flags, get_section(), named_section_flags, NULL, SECTION_CODE, SECTION_DEBUG, switch_to_section(), and trampolines_created.
Definition at line 1542 of file final.c.
References CC_STATUS_INIT, delete_insn(), final_scan_insn(), gcc_assert, init_recog(), insn, INSN_ADDRESSES, INSN_ADDRESSES_SIZE, INSN_UID, JUMP_LABEL, JUMP_P, lab, LABEL_NUSES, LABEL_REFS, last, last_ignored_compare, max_uid, NEXT_INSN, NOTE_LINE_NUMBER, NOTE_P, NOTE_SOURCE_FILE, optimize, SDB_DEBUG, seen, and write_symbols.
Definition at line 1802 of file final.c.
References app_disable(), gcc_target::asm_out, asm_out_file, debug_hooks, DWARF2_DEBUG, dwarf2out_do_frame(), dwarf2out_end_epilogue(), gcc_debug_hooks::end_epilogue, gcc_debug_hooks::end_function, gcc_target::asm_out::function_epilogue, get_frame_size(), high_function_linenum, last_filename, last_linenum, targetm, VMS_AND_DWARF2_DEBUG, and write_symbols.
Referenced by alpha_output_mi_thunk_osf(), ia64_output_mi_thunk(), mips_output_mi_thunk(), rest_of_compilation(), rest_of_handle_final(), rs6000_output_mi_thunk(), sh_output_mi_thunk(), sparc_output_mi_thunk(), and th_output_mi_thunk().
| int final_forward_branch_p | ( | rtx | ) |
Definition at line 4046 of file final.c.
References abort, gcc_assert, INSN_SHUID, and JUMP_LABEL.
Referenced by print_operand().
Definition at line 582 of file varasm.c.
References gcc_target::asm_out, cfun, DECL_ALIGN, DECL_SECTION_NAME, get_insns(), get_named_section(), hot_function_section(), insns, named_section(), NULL, NULL_TREE, scan_ahead_for_unlikely_executed_note(), gcc_target::asm_out::select_section, targetm, text_section, and unlikely_text_section().
Referenced by arm_output_function_epilogue(), assemble_end_function(), assemble_start_function(), build_mips16_function_stub(), final_scan_insn(), mips_select_rtx_section(), output_function_exception_table(), output_mi_thunk(), profile_function(), rs6000_emit_load_toc_table(), s390_output_constant_pool(), sparc_output_deferred_case_vectors(), xstormy16_output_addr_vec(), and xtensa_select_rtx_section().
| int get_attr_length | ( | rtx | ) |
| int get_attr_min_length | ( | rtx | ) |
Definition at line 462 of file final.c.
References get_attr_length_1(), and insn_min_length.
Referenced by copy_bb_p(), duplicate_computed_gotos(), and get_uncond_jump_length().
| const char* get_insn_template | ( | int | , | |
| rtx | ||||
| ) |
Definition at line 1950 of file final.c.
References abort, gcc_assert, gcc_unreachable, INSN_OUTPUT_FORMAT_FUNCTION, INSN_OUTPUT_FORMAT_MULTI, INSN_OUTPUT_FORMAT_SINGLE, NULL, output_format(), and which_alternative.
Referenced by final_scan_insn().
Definition at line 464 of file varasm.c.
References DECL_P, DECL_SECTION_NAME, gcc_assert, get_section(), NULL, gcc_target::section_type_flags, targetm, and TREE_STRING_POINTER.
Referenced by current_function_section(), default_elf_select_rtx_section(), default_elf_select_section(), function_section(), get_constant_section(), get_variable_section(), hot_function_section(), ix86_file_end(), mips_select_rtx_section(), th_select_rtx_section(), unlikely_text_section(), and x86_64_elf_select_section().
| int get_pool_size | ( | void | ) |
Definition at line 3427 of file varasm.c.
References cfun, and pool_offset.
Referenced by m16_usym5_4(), m16_usym8_4(), machine_dependent_reorg(), romp_using_r14(), rs6000_emit_prologue(), rs6000_stack_info(), s390_chunkify_pool(), s390_emit_prologue(), s390_frame_info(), and simple_memory_operand().
Definition at line 297 of file varasm.c.
References error(), gcc_assert, ggc_alloc, ggc_strdup, htab_find_slot_with_hash(), htab_hash_string(), INSERT, section::name, named_section(), NULL, SECTION_DECLARED, SECTION_NAMED, and SECTION_OVERRIDE.
Definition at line 6203 of file varasm.c.
References ASM_GENERATE_INTERNAL_LABEL, create_block_symbol(), end, GET_MODE_BITSIZE, ggc_strdup, gcc_target::max_anchor_offset, gcc_target::min_anchor_offset, ptr_mode, SYMBOL_FLAG_ANCHOR, SYMBOL_FLAG_LOCAL, SYMBOL_FLAG_TLS_SHIFT, SYMBOL_REF_BLOCK_OFFSET, SYMBOL_REF_FLAGS, SYMBOL_REF_TLS_MODEL, targetm, VEC_index, VEC_length, and VEC_safe_insert.
Referenced by use_anchored_address().
Definition at line 264 of file varasm.c.
References callback(), ggc_alloc, and SECTION_UNNAMED.
Referenced by avr_asm_init_sections(), init_varasm_once(), v850_asm_init_sections(), and xstormy16_asm_init_sections().
| struct section_common GTY | ( | () | ) | [read, write] |
Definition at line 5396 of file varasm.c.
References gcc_target::have_switchable_bss_sections, and targetm.
Referenced by start_decl().
| void init_final | ( | const char * | ) |
Definition at line 642 of file final.c.
References free(), and INSN_ADDRESSES_FREE.
Referenced by rest_of_clean_state(), rest_of_compilation(), s390_chunkify_pool(), s390_chunkify_start(), split_branches(), and use_thunk().
Definition at line 3817 of file varasm.c.
References CONSTRUCTOR_ELTS, constructor_static_from_elts_p(), DECL_DLLIMPORT_P, decl_function_context(), DECL_NO_STATIC_CHAIN, DECL_NON_ADDR_CONST_P, error_mark_node, FLOAT_TYPE_P, FOR_EACH_CONSTRUCTOR_VALUE, GET_MODE_SIZE, idx, initializer_constant_valid_p(), integer_zerop(), INTEGRAL_MODE_P, INTEGRAL_TYPE_P, null_pointer_node, NULL_TREE, operand_equal_p(), POINTER_SIZE, POINTER_TYPE_P, src, staticp, TREE_CHAIN, TREE_CODE, TREE_CONSTANT, TREE_OPERAND, TREE_STATIC, TREE_STRING_POINTER, TREE_TYPE, TREE_VALUE, TYPE_MODE, and TYPE_PRECISION.
Referenced by build_ptrmemfunc1(), categorize_ctor_elements_1(), digest_init(), initializer_constant_valid_p(), output_init_element(), process_init_constructor(), store_init_value(), and valid_compound_expr_initializer().
| int insn_current_reference_address | ( | rtx | ) |
| const char* integer_asm_op | ( | int | , | |
| int | ||||
| ) |
Definition at line 1926 of file varasm.c.
References gcc_target::asm_out::aligned_op, gcc_target::asm_out, gcc_target::asm_out::byte_op, NULL, targetm, and gcc_target::asm_out::unaligned_op.
Referenced by default_assemble_integer(), dw2_asm_output_data(), dw2_assemble_integer(), i860_output_function_epilogue(), and output_tdesc().
| int label_to_alignment | ( | rtx | ) |
Definition at line 835 of file final.c.
References LABEL_TO_ALIGNMENT.
Referenced by alpha_align_insns(), find_barrier(), frv_align_label(), and vr4130_align_insns().
| int leaf_function_p | ( | void | ) |
Definition at line 4003 of file final.c.
References CALL_P, current_function_epilogue_delay_list, current_function_profile, GET_CODE, get_insns(), insn, NEXT_INSN, NONJUMP_INSN_P, PATTERN, profile_arc_flag, SIBLING_CALL_P, XEXP, and XVECEXP.
Referenced by arm_get_frame_offsets(), avr_output_function_epilogue(), avr_output_function_prologue(), avr_peep2_scratch_safe(), avr_regs_to_save(), c4x_leaf_function_p(), calc_live_regs(), compute_frame_size(), cris_target_asm_function_prologue(), expand_interrupt_handler_epilogue(), expand_interrupt_handler_prologue(), function_epilogue(), function_prologue(), global_alloc(), i860_output_function_prologue(), initial_elimination_offset(), ip2k_init_elim_offset(), iq2000_initial_elimination_offset(), m32c_leaf_function_p(), m68k_output_function_epilogue(), m88k_output_function_prologue(), n_regs_saved_by_prologue(), order_regs_for_local_alloc(), rest_of_compilation(), rest_of_handle_check_leaf_regs(), rest_of_handle_local_alloc(), sparc_expand_prologue(), sparc_flat_compute_frame_size(), thumb_force_lr_save(), thumb_output_function_prologue(), and thumb_unexpanded_epilogue().
Definition at line 4574 of file varasm.c.
References DECL_ASSEMBLER_NAME, DECL_WEAK, error(), SUPPORTS_WEAK, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_SYMBOL_REFERENCED, TREE_USED, TREE_VALUE, and warning.
Referenced by duplicate_decls(), and merge_decls().
| section* mergeable_constant_section | ( | enum | machine_mode, | |
| unsigned | HOST_WIDE_INT, | |||
| unsigned | int | |||
| ) |
| int only_leaf_regs_used | ( | void | ) |
Definition at line 3569 of file final.c.
References ASM_GENERATE_INTERNAL_LABEL, gcc_target::asm_out, ASM_OUTPUT_LABEL_REF, ASM_OUTPUT_SYMBOL_REF, assemble_name(), buf, gcc_target::asm_out::close_paren, CODE_LABEL_NUMBER, CONST, CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW, fail, fprintf(), fputs(), GET_CODE, GET_MODE, HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DOUBLE_HEX, HOST_WIDE_INT_PRINT_HEX, INTVAL, mark_decl_referenced(), MINUS, gcc_target::asm_out::open_paren, output_addr_const(), OUTPUT_ADDR_CONST_EXTRA, output_operand_lossage(), PC, PLUS, putc(), SIGN_EXTEND, simplify_subtraction(), SYMBOL_REF_DECL, targetm, XEXP, and XSTR.
Referenced by arc_assemble_integer(), arc_print_operand(), arc_print_operand_address(), arm_assemble_integer(), arm_elf_asm_constructor(), arm_emit_tls_decoration(), arm_print_operand(), asm_output_char(), asm_output_short(), assemble_integer_with_op(), assemble_vtable_entry(), assemble_vtable_inherit(), avr_assemble_integer(), bfin_assemble_integer(), c4x_print_operand(), c4x_print_operand_address(), cris_output_addr_const(), cris_output_addr_const_extra(), cris_print_operand(), crx_print_operand(), crx_print_operand_address(), d30v_print_operand_address(), dw2_assemble_integer(), elxsi_assemble_integer(), fr30_print_operand(), fr30_print_operand_address(), frv_assemble_integer(), frv_output_const_unspec(), frv_output_dwarf_dtprel(), frv_print_operand_address(), i386_dwarf_output_addr_const(), i386_output_dwarf_dtprel(), i960_print_operand(), i960_print_operand_addr(), ia64_assemble_integer(), ia64_output_dwarf_dtprel(), ia64_print_operand(), m32c_asm_integer(), m32r_print_operand(), m32r_print_operand_address(), mcore_print_operand(), mcore_print_operand_address(), mips16_output_gp_offset(), mips_assemble_integer(), mmix_print_operand(), mmix_print_operand_address(), mt_print_operand(), mt_print_operand_simple_address(), output_addr_const(), output_addr_const_extra(), output_asm_insn(), output_fpops(), output_function_exception_table(), output_global_address(), output_pic_addr_const(), output_toc(), pa_assemble_integer(), pj_print_operand(), print_operand(), print_operand_address(), print_operand_reloc(), rs6000_assemble_integer(), rs6000_output_dwarf_dtprel(), s390_output_addr_const_extra(), s390_output_dwarf_dtprel(), s390_output_symbolic_const(), score_print_operand(), score_print_operand_address(), sparc_output_dwarf_dtprel(), v850_output_addr_const_extra(), VPARAMS(), xstormy16_print_operand(), xstormy16_print_operand_address(), and xtensa_output_literal().
Definition at line 3557 of file final.c.
References asm_out_file, PRINT_OPERAND_ADDRESS, and walk_alter_subreg().
Referenced by arc_print_operand(), arm_print_operand(), c4x_print_operand(), cris_print_operand(), crx_print_operand(), fr30_print_operand(), i960_print_operand(), m32r_print_operand(), mcore_print_operand(), mmix_print_operand(), output_asm_insn(), print_address_operand(), print_operand(), and print_operand_address().
Definition at line 2987 of file final.c.
References asm_out_file, ASM_OUTPUT_OPCODE, c, CONSTANT_ADDRESS_P, flag_print_asm_name, flag_verbose_asm, fprintf(), GET_CODE, HOST_WIDE_INT_PRINT_DEC, i, insn_counter, insn_noperands, INTVAL, ISALPHA, ISDIGIT, tree_opt_pass::letter, MAX_RECOG_OPERANDS, memset, NULL_RTX, output_addr_const(), output_address(), output_asm_label(), output_asm_name(), output_asm_operand_names(), output_operand(), output_operand_lossage(), p, PRINT_OPERAND_PUNCT_VALID_P, putc(), strtoul(), and this_is_asm_operands.
Definition at line 3508 of file final.c.
References ASM_GENERATE_INTERNAL_LABEL, asm_out_file, assemble_name(), buf, CODE_LABEL_NUMBER, GET_CODE, LABEL_P, NOTE_INSN_DELETED_LABEL, NOTE_LINE_NUMBER, NOTE_P, output_operand_lossage(), and XEXP.
Referenced by m32c_print_operand(), output_asm_insn(), print_operand(), print_operand_address(), xstormy16_output_addr_vec(), and xstormy16_print_operand().
Definition at line 3842 of file varasm.c.
References abort, asm_out_file, ASM_OUTPUT_FDESC, assemble_integer(), assemble_real(), assemble_string(), assemble_zeros(), BITS_PER_UNIT, build1, build_int_cst_wide(), COMPLEX_TYPE, constructor_elt, CONSTRUCTOR_ELTS, error(), expand_expr(), EXPAND_INITIALIZER, flag_syntax_only, gcc_assert, gcc_unreachable, GET_MODE_ALIGNMENT, GET_MODE_SIZE, int_size_in_bytes(), MIN, min_align(), NULL, NULL_RTX, output_constant(), output_constructor(), POINTER_TYPE_P, targetm, TREE_CHAIN, TREE_CODE, TREE_IMAGPART, TREE_INT_CST_HIGH, TREE_INT_CST_LOW, tree_low_cst(), TREE_OPERAND, TREE_REAL_CST, TREE_REALPART, TREE_STRING_LENGTH, TREE_STRING_POINTER, TREE_TYPE, TREE_VALUE, TREE_VECTOR_CST_ELTS, TYPE_MODE, gcc_target::valid_pointer_mode, and VEC_empty.
Definition at line 6348 of file varasm.c.
References htab_traverse(), NULL, and output_object_block_htab().
Referenced by compile_file().
| void output_operand_lossage | ( | const char * | , | |
| ... | ||||
| ) |
Definition at line 2848 of file final.c.
References _, asprintf(), error_for_asm(), fmt_string, free(), internal_error(), this_is_asm_operands, va_end, va_start, and vasprintf().
Referenced by arc_print_operand(), arm_print_operand(), comparison_string(), crash_signal(), cris_asm_output_symbol_ref(), cris_operand_lossage(), cris_output_addr_const(), crx_print_operand(), fr30_print_operand(), fr30_print_operand_address(), ia64_print_operand(), m32r_print_operand(), output_addr_const(), output_addr_const_pdp11(), output_asm_insn(), output_asm_label(), output_pic_addr_const(), print_operand(), print_operand_address(), ptrreg_to_str(), s390_output_symbolic_const(), score_print_operand(), and xstormy16_print_operand().
Definition at line 6104 of file varasm.c.
References asm_out_file, and fprintf().
Referenced by init_varasm_once(), output_objc_section_asm_op(), som_output_comdat_data_section_asm_op(), som_output_text_section_asm_op(), v850_asm_init_sections(), and xstormy16_asm_init_sections().
Definition at line 3641 of file varasm.c.
References output_constant_pool_contents().
Referenced by compile_file().
Definition at line 6153 of file varasm.c.
References alignment, BITS_PER_UNIT, CONSTANT_POOL_ADDRESS_P, DECL_ALIGN, DECL_SIZE_UNIT, gcc_assert, get_constant_alignment(), get_constant_size(), GET_MODE_SIZE, MAX, offset, SYMBOL_REF_BLOCK, SYMBOL_REF_BLOCK_OFFSET, SYMBOL_REF_CONSTANT, SYMBOL_REF_DECL, TREE_CONSTANT_POOL_ADDRESS_P, tree_low_cst(), and VEC_safe_push.
Referenced by assemble_variable(), output_constant_def_contents(), output_constant_pool_contents(), and use_anchored_address().
| int regno_clobbered_at_setjmp | ( | int | ) |
Definition at line 2407 of file flow.c.
References ENTRY_BLOCK_PTR, n_basic_blocks, NUM_FIXED_BLOCKS, REG_N_SETS, REGNO_REG_SET_P, and regs_live_at_setjmp.
Referenced by setjmp_args_warning(), setjmp_vars_warning(), and uninitialized_vars_warning().
Definition at line 3862 of file final.c.
References BITS_PER_WORD, const0_rtx, CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW, constm1_rtx, GEN_INT, GET_CODE, GET_MODE, GET_MODE_CLASS, high, HOST_BITS_PER_LONG, HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT, INTVAL, long, low, MODE_INT, r, REAL_VALUE_FROM_CONST_DOUBLE, REAL_VALUE_TO_TARGET_DOUBLE, REAL_VALUE_TYPE, sign_bit(), sign_extend, and WORDS_BIG_ENDIAN.
Referenced by arc_print_operand(), arc_rtx_costs(), cris_split_movdx(), crx_print_operand(), d30v_split_double(), easy_di_const(), fr30_move_double(), gen_split_move_double(), i960_output_ldconst(), ia64_split_timode(), ia64_split_tmode(), iq2000_rtx_costs(), m32r_print_operand(), m32r_rtx_costs(), m68hc11_gen_highpart(), m68hc11_gen_lowpart(), mips_move_2words(), mn10300_wide_const_load_uses_clr(), mt_split_words(), output_move_double(), print_operand(), split_di(), and xtensa_split_operand_pair().
Definition at line 6113 of file varasm.c.
References gcc_target::asm_out, cfun, gcc_unreachable, section::name, gcc_target::asm_out::named_section, NULL, SECTION_DECLARED, SECTION_FORGET, SECTION_NAMED, SECTION_NOSWITCH, SECTION_STYLE, SECTION_UNNAMED, strcmp(), targetm, and UNLIKELY_EXECUTED_TEXT_SECTION_NAME.
Referenced by alpha_start_function(), arm_elf_asm_constructor(), arm_file_end(), arm_output_function_epilogue(), assemble_end_function(), assemble_start_function(), assemble_variable(), avr_output_addr_vec_elt(), build_mips16_function_stub(), darwin_file_end(), darwin_file_start(), default_named_section_asm_out_constructor(), default_named_section_asm_out_destructor(), emit_pic_helper(), file_end_indicate_exec_stack(), final_scan_insn(), frv_asm_out_constructor(), frv_asm_out_destructor(), ix86_file_end(), machopic_asm_out_constructor(), machopic_asm_out_destructor(), machopic_output_indirection(), mips_output_aligned_decl_common(), mmix_asm_output_aligned_local(), mmix_file_end(), mmix_file_start(), nwld_named_section_asm_out_constructor(), nwld_named_section_asm_out_destructor(), output_constant_def_contents(), output_constant_pool_contents(), output_deferred_plabels(), output_function_exception_table(), output_objc_section_asm_op(), output_object_block(), pa_asm_output_aligned_bss(), pa_asm_output_aligned_common(), pa_asm_output_aligned_local(), pa_asm_output_mi_thunk(), profile_function(), rs6000_file_start(), sh_file_start(), sparc_output_deferred_case_vectors(), switch_to_exception_section(), v850_output_aligned_bss(), VEC(), xstormy16_asm_out_constructor(), xstormy16_asm_out_destructor(), xstormy16_asm_output_aligned_common(), and xstormy16_output_addr_vec().
Definition at line 236 of file varasm.c.
References asm_out_file, ASM_OUTPUT_LABEL, cfun, current_function_decl, DECL_SECTION_NAME, get_named_section(), HOT_TEXT_SECTION_NAME, in_named, in_named_name, initialize_cold_section_name(), len, named_section(), NULL, NULL_TREE, strcat(), strcmp(), strcpy, strlen(), TREE_STRING_POINTER, UNLIKELY_EXECUTED_TEXT_SECTION_NAME, and xmalloc().
Definition at line 441 of file varasm.c.
References cfun, section::name, SECTION_NAMED, SECTION_STYLE, strcmp(), and UNLIKELY_EXECUTED_TEXT_SECTION_NAME.
Referenced by rs6000_assemble_integer().
Definition at line 4657 of file varasm.c.
References asm_out_file, ASM_WEAKEN_DECL, ASM_WEAKEN_LABEL, DECL_ASSEMBLER_NAME, errorcount, IDENTIFIER_POINTER, NULL, sorrycount, TREE_CHAIN, TREE_USED, TREE_VALUE, warning, and WFE_Weak_Finish().
Referenced by compile_file(), and WFE_Compile_File().
Definition at line 113 of file function.c.
Referenced by arm_compute_save_reg0_reg12_mask(), bfin_expand_prologue(), bfin_frame_pointer_required(), compute_frame_size(), crx_compute_save_regs(), do_link(), do_unlink(), expand_interrupt_handler_epilogue(), expand_interrupt_handler_prologue(), find_gr_spill(), frv_frame_pointer_required(), ia64_compute_frame_size(), ia64_expand_epilogue(), ia64_initial_elimination_offset(), ix86_compute_frame_layout(), ix86_frame_pointer_required(), ix86_select_alt_pic_regnum(), m32r_hard_regno_rename_ok(), m68k_output_function_prologue(), m68k_save_reg(), mda_compute_frame_size(), mips_expand_prologue(), mips_global_pointer(), n_pregs_to_save(), n_regs_saved_by_prologue(), prepare_function_start(), regrename_optimize(), rest_of_compilation(), rest_of_handle_local_alloc(), rs6000_stack_info(), s390_emit_prologue(), s390_frame_info(), s390_init_frame_layout(), s390_preferred_reload_class(), s390_register_info(), s390_regs_ever_clobbered(), sh_allocate_initial_value(), sh_media_register_for_return(), and th_function_prologue().
Definition at line 123 of file function.c.
Referenced by df_record_exit_block_uses(), frv_expand_epilogue(), frv_frame_pointer_required(), init_resource_info(), ix86_compute_frame_layout(), ix86_expand_epilogue(), mark_regs_live_at_end(), notice_stack_pointer_modification(), notice_stack_pointer_modification_1(), and prepare_function_start().
Definition at line 128 of file function.c.
Referenced by eligible_for_epilogue_delay(), eligible_for_sibcall_delay(), final_start_function(), output_sibcall(), prepare_function_start(), rest_of_compilation(), rest_of_handle_check_leaf_regs(), sh_output_mi_thunk(), sparc_asm_function_prologue(), sparc_output_function_epilogue(), sparc_output_function_prologue(), and sparc_output_mi_thunk().
Definition at line 124 of file final.c.
Referenced by final_scan_insn(), frv_print_operand(), get_round_mode_suffix(), get_trap_mode_suffix(), i960_print_operand(), ia64_print_operand(), m32c_print_operand(), mmix_print_operand(), and print_operand().
Definition at line 202 of file final.c.
Referenced by arc_print_operand(), c4x_output_cbranch(), c4x_print_operand(), final_scan_insn(), init_final(), iq2000_output_conditional_branch(), mips_output_conditional_branch(), mostly_false_jump(), output_branch(), output_call(), output_cbranch(), output_far_jump(), output_millicode_call(), output_return(), output_sibcall(), output_v9branch(), and print_operand().
| const char* first_global_object_name |
Definition at line 143 of file final.c.
Referenced by crash_signal(), final_scan_insn(), final_start_function(), output_asm_insn(), output_operand_lossage(), print_operand(), and VPARAMS().
| const char* user_label_prefix |
| const char* weak_global_object_name |
1.5.6