#include "config.h"#include "system.h"#include "coretypes.h"#include "tm.h"#include "cpplib.h"#include "../libcpp/internal.h"#include "tree.h"#include "c-common.h"#include "c-pragma.h"

Go to the source code of this file.
| static void cb_def_pragma | ( | cpp_reader * | pfile, | |
| source_location | line | |||
| ) | [static] |
Definition at line 404 of file c-ppoutput.c.
References cpp_output_line(), fputs(), maybe_print_line(), and print.
| static void cb_define | ( | cpp_reader * | pfile, | |
| source_location | line, | |||
| cpp_hashnode * | node | |||
| ) | [static] |
Definition at line 312 of file c-ppoutput.c.
References cpp_macro_definition(), flag_dump_macros, fputs(), maybe_print_line(), NODE_NAME, print, and putc().
| static void cb_ident | ( | cpp_reader *pfile | ATTRIBUTE_UNUSED, | |
| source_location | line, | |||
| const cpp_string * | str | |||
| ) | [static] |
Definition at line 303 of file c-ppoutput.c.
References fprintf(), maybe_print_line(), print, and cpp_string::text.
| static void cb_ident | ( | cpp_reader * | , | |
| source_location | , | |||
| const cpp_string * | ||||
| ) | [static] |
| static void cb_include | ( | cpp_reader *pfile | ATTRIBUTE_UNUSED, | |
| source_location | line, | |||
| const unsigned char * | dir, | |||
| const char * | header, | |||
| int | angle_brackets | |||
| ) | [static] |
| static void cb_include | ( | cpp_reader * | , | |
| source_location | , | |||
| const unsigned char * | , | |||
| const char * | , | |||
| int | ||||
| ) | [static] |
| static void cb_line_change | ( | cpp_reader * | pfile, | |
| const cpp_token * | token, | |||
| int | parsing_args | |||
| ) | [static] |
Definition at line 274 of file c-ppoutput.c.
References CPP_OPTION, line_table, linemap_lookup(), map, maybe_print_line(), print, putc(), SOURCE_COLUMN, and spaces().
| static void cb_read_pch | ( | cpp_reader * | pfile, | |
| const char * | name, | |||
| int | fd, | |||
| const char *orig_name | ATTRIBUTE_UNUSED | |||
| ) | [static] |
| static void cb_read_pch | ( | cpp_reader * | pfile, | |
| const char * | name, | |||
| int | fd, | |||
| const char * | orig_name | |||
| ) | [static] |
Referenced by init_pp_output().
| static void cb_undef | ( | cpp_reader *pfile | ATTRIBUTE_UNUSED, | |
| source_location | line, | |||
| cpp_hashnode * | node | |||
| ) | [static] |
Definition at line 329 of file c-ppoutput.c.
References fprintf(), maybe_print_line(), NODE_NAME, and print.
| static void cb_undef | ( | cpp_reader * | , | |
| source_location | , | |||
| cpp_hashnode * | ||||
| ) | [static] |
| static int dump_macro | ( | cpp_reader * | pfile, | |
| cpp_hashnode * | node, | |||
| void *v | ATTRIBUTE_UNUSED | |||
| ) | [static] |
Definition at line 414 of file c-ppoutput.c.
References cpp_macro_definition(), cpp_hashnode::flags, fputs(), NODE_BUILTIN, NT_MACRO, print, and putc().
| static int dump_macro | ( | cpp_reader * | , | |
| cpp_hashnode * | , | |||
| void * | ||||
| ) | [static] |
Definition at line 92 of file c-ppoutput.c.
| static void maybe_print_line | ( | source_location | src_loc | ) | [static] |
Definition at line 210 of file c-ppoutput.c.
References line_table, linemap_lookup(), map, print, print_line(), putc(), SOURCE_LINE, and src_line.
| void pp_dir_change | ( | cpp_reader *pfile | ATTRIBUTE_UNUSED, | |
| const char * | dir | |||
| ) |
Definition at line 353 of file c-ppoutput.c.
References alloca, cpp_quote_string(), fprintf(), p, print, and strlen().
Definition at line 369 of file c-ppoutput.c.
| void preprocess_file | ( | cpp_reader * | pfile | ) |
Definition at line 65 of file c-ppoutput.c.
| static void print_line | ( | source_location | src_loc, | |
| const char * | special_flags | |||
| ) | [static] |
Definition at line 237 of file c-ppoutput.c.
References alloca, cpp_quote_string(), flag_no_line_commands, fprintf(), fputs(), line_table, linemap_lookup(), map, p, print, putc(), SOURCE_LINE, strlen(), line_map::sysp, and line_map::to_file.
| static void scan_translation_unit | ( | cpp_reader * | pfile | ) | [static] |
Definition at line 136 of file c-ppoutput.c.
References account_for_newlines(), cpp_avoid_paste(), cpp_get_token(), cpp_output_token(), cpp_token::flags, cpp_string::len, NULL, PREV_WHITE, print, putc(), cpp_token::source, cpp_token::str, cpp_string::text, token, and cpp_token::val.
| static void scan_translation_unit_trad | ( | cpp_reader * | pfile | ) | [static] |
Definition at line 193 of file c-ppoutput.c.
References _cpp_read_logical_line_trad(), account_for_newlines(), cpp_reader::base, CPP_OPTION, cpp_reader::cur, discard_comments(), cpp_reader::first_line, fwrite, len, maybe_print_line(), cpp_reader::out, and print.
Definition at line 39 of file c-ppoutput.c.
Definition at line 34 of file c-ppoutput.c.
Definition at line 35 of file c-ppoutput.c.
Referenced by LFTR_VAR::Add_comparison(), add_deps_for_risky_insns(), add_handler(), add_insn_before(), Add_Predicate_Valid_BB(), add_prefix(), REGION_UN::Add_Region(), CACHE_CONTENTS::Add_Region_Distributed(), CACHE_CONTENTS::Add_Region_Exclusive(), CACHE_CONTENTS::Add_Region_Replicated(), add_values_to_cover(), adjust_atomic(), GRA_PREF::Allocate_LRANGE(), alpha_align_insns(), at_begline_loc_p(), barrier_align(), BB_MAP_create_kind(), BB_Sink_Op_Before(), BBlist_Fall_Thru_Pred(), bfd_mach_o_scan(), bfin_reorg(), bitmap_element_free(), bitmap_elt_clear_from(), blocks_nreverse(), build_insn_chain(), build_message_expr(), RVI::Build_up_live_range(), build_vtbl_initializer(), c_parser_omp_all_clauses(), calc_wider_mode(), Can_Mem_Op_Be_Moved(), canonicalize_condition(), cfg_layout_delete_block(), check_hidden_convs(), cleanup_barriers(), cleanup_unconditional_jumps(), clear_regs_live_in_seq(), combine_instructions(), CACHE_CONTENTS::Compact_Cache(), compute_hash(), Convert_Goto_To_Return(), convert_stmt_list_to_OPs(), copy_list(), cp_parser_omp_all_clauses(), cse_basic_block(), cse_insn(), dead_or_predicable(), delete_address_reloads(), delete_address_reloads_1(), delete_computation(), delete_dead_insn(), MU_LIST::Delete_def_at_entry_mus(), delete_duplicate_fields_1(), delete_for_peephole(), CODEREP_CONTAINER::Delete_it(), BOOKEEPING_LST::Delete_Item(), UNRESOLVED_DEP_LST::Delete_Item(), delete_related_insns(), delete_trivially_dead_insns(), Delete_Unreachable_Blocks(), df_chain_unlink(), df_ref_unlink(), df_reg_chain_unlink(), GOTO_TABLE::Dismantle(), GTABLE::Dismantle(), DST_mk_filename(), DST_mk_include_dir(), dup_state_stack(), elfx_movscn(), emit_libcall_block(), emit_loads(), emit_no_conflict_block(), Expand_Fxch(), RINIT::Expand_label_alias(), Expand_Sibling_Blocks(), final_scan_insn(), finalize_maybe_linker_options(), find_basic_blocks_1(), find_binding(), GRA_LOOP_MGR::Find_Loops(), find_remembered_hi16s_reloc(), Find_Topmost_Unseen_If_Containing_Node(), SSA::Find_zero_versions(), finish_distable(), finish_struct(), Fission_Statement(), fixup_addr_diff_vecs(), fixup_gotos(), fixup_var_refs_insn(), flow_loop_tree_node_remove(), flush_quick_stack(), fold(), form_reserv_sets_list(), free_binding_and_advance(), frv_adjust_field_align(), gen_block_redirect(), get_label_before(), group_leader(), group_sections(), GTY(), Init_Chains(), init_equiv_class(), init_line_info(), Initialize_BB_Info(), Insert_Compensate_BB(), insert_insn_start_bb(), insert_into_field_list(), insert_into_field_list_sorted(), Insert_Region_Around_Block(), OCC_CONTAINER::Insert_sort(), EXP_WORKLST_CONTAINER::Insert_sorted(), invalidate_mems_from_set(), ir_b_write_tree(), iv_ca_delta_reverse(), ix86_pad_returns(), last_and_only_stmt(), Last_Level_Of_Cache_Smaller(), lookup_and_install_protocols(), loop_givs_reduce(), lower_bit_field_id(), LWN_Create_Block_From_Stmts_Above(), LWN_Delete_Tree(), m32c_compare_redundant(), make_gcov_file_name(), make_regs_eqv(), make_reorder_chain(), mark_used_regs(), MEM_POOL_FREE(), MEM_POOL_Realloc_P(), Merge_Blocks(), merge_blocks_nomove(), mmo_xore_16(), mmo_xore_32(), mmo_xore_64(), mt_reorg_hazard(), never_reached_warning(), nreverse(), OB_prev(), output_far_jump(), output_insn_data(), phi_reverse(), pj_machine_dependent_reorg(), pool_copy_list(), pop_label_level(), BB_NODE::Prepend_wn_after_labels(), Print_whirl_pu_from_bits(), process_command(), IPO_INLINE::Process_OPR_REGION(), propagate_block(), propagate_one_insn(), push_inner_scope_r(), read_graph_file(), REGION_MAP_create_kind(), reload_as_needed(), reload_combine(), BB_LIST_CONTAINER::Remove(), BB_LIST::Remove(), HASH_TABLE< SIG_TYPE, DATA_TYPE >::Remove(), Remove_Chain(), LFTR::Remove_comparison(), remove_dead_phis(), DU_MANAGER::Remove_Def_From_System(), remove_dependence(), remove_eh_handler(), remove_from_table(), Remove_if(), remove_insn(), LFTR::Remove_lftr_non_candidates(), SLIST::Remove_node(), remove_node_from_expr_list(), Remove_Ob_From_List(), DU_MANAGER::Remove_Use_From_System(), Remove_Wn_From_List(), Rename_INITV_Labels(), reorder_insns(), IPO_ADDR_HASH::Reset_Lookup(), SNL_BOUNDS_INFO::Reset_Varcount_To(), Restore_Skips(), reverse_arcs(), reverse_def_dec_list(), reversed_comparison_code_parts(), rewrite_program(), rtl_merge_blocks(), s390_start_pool(), sanity_check_loop_body(), save_def_or_dec(), set_remove(), set_sched_group_p(), ARA_REF::Set_Whole_Array(), shorten_branches(), simplify_by_exploding(), simplify_cond_and_lookup_avail_expr(), PQS_MANAGER::Simplify_In_Set(), skip_insns_after_block(), SNL_GEN_Protect_Nest_With_Conditionals(), SNL_GEN_U_Ctiling(), SNL_INV_Local_Permute_Loops(), split_conversions(), squeeze_notes(), thread_prologue_and_epilogue_insns(), Translate_OMP_to_MP(), tree_verify_flow_info(), tsi_delink(), tsi_split_statement_list_before(), unreverse_member_declarations(), unroll_loop(), unroll_multi_bb(), unroll_multi_make_remainder_loop(), verify_imm_links(), Verify_Instruction(), Vintrinsic_Fission(), vms_openr_next_archived_file(), warn_hidden(), WFE_Stmt_Delete(), WGEN_Stmt_Delete(), WN_prev(), WN_Simplify_Tree(), and x86_machine_dependent_reorg().
struct { ... } print [static] |
Referenced by account_for_newlines(), cb_def_pragma(), cb_define(), cb_ident(), cb_include(), cb_line_change(), cb_read_pch(), cb_undef(), dump_macro(), init_pp_output(), main(), maybe_print_line(), pp_dir_change(), pp_file_change(), preprocess_file(), print_line(), Print_whirl_global_from_bits(), PU_SectBin::PrintBits(), process_command(), scan_translation_unit(), and scan_translation_unit_trad().
| unsigned char printed |
Definition at line 38 of file c-ppoutput.c.
Referenced by CGEMIT_Prn_Scn_In_Asm(), d_print_comp(), dump_whirl_node(), Dump_Whirl_Node(), flushout(), print_filtered_help(), and wn_dumpexpr().
Definition at line 36 of file c-ppoutput.c.
| int src_line |
1.5.6