GCC Middle and Back End API Reference
|
Functions | |
static unsigned int | queue (dump_info_p, const_tree, int) |
static void | dump_index (dump_info_p, unsigned int) |
static void | dequeue_and_dump (dump_info_p) |
static void | dump_new_line (dump_info_p) |
static void | dump_maybe_newline (dump_info_p) |
static unsigned int | queue () |
static void | dump_index () |
void | queue_and_dump_index () |
void | queue_and_dump_type () |
static void | dump_new_line () |
static void | dump_maybe_newline () |
void | dump_function () |
void | dump_pointer () |
void | dump_int () |
static void | dump_real () |
static void | dump_fixed () |
void | dump_string () |
void | dump_string_field () |
static void | dequeue_and_dump () |
int | dump_flag (dump_info_p di, int flag, const_tree node) |
void | dump_node () |
|
static |
Referenced by dump_node().
|
static |
Dump the next node in the queue.
References dump_node_info::binfo_p, bit_position(), buffer, dump_info::column, dump_fixed(), dump_flag(), dump_index(), dump_int(), dump_maybe_newline(), dump_pointer(), dump_real(), dump_string_field(), lang_hooks_for_tree_dump::dump_tree, expand_location(), dump_info::free_list, HOST_WIDE_INT, dump_node_info::index, dump_queue::next, dump_queue::node, omp_clause_code_name, omp_clause_num_ops, dump_info::queue, queue_and_dump_index(), queue_and_dump_type(), dump_info::queue_end, dump_info::stream, strlen(), tcc_binary, tcc_comparison, tcc_constant, tcc_expression, tcc_reference, tcc_statement, tcc_type, tcc_unary, tcc_vl_exp, tree_code_name, lang_hooks::tree_dump, tsi_end_p(), tsi_next(), tsi_start(), tsi_stmt(), TYPE_QUAL_CONST, TYPE_QUAL_RESTRICT, TYPE_QUAL_VOLATILE, lang_hooks_for_tree_dump::type_quals, TYPE_UNQUALIFIED, and vec_safe_length().
|
static |
Dump the fixed-point value F, using FIELD to identify it.
References dump_info::column, dump_maybe_newline(), fixed_to_decimal(), dump_info::stream, and strlen().
Referenced by dequeue_and_dump().
int dump_flag | ( | dump_info_p | di, |
int | flag, | ||
const_tree | node | ||
) |
Return nonzero if FLAG has been specified for the dump, and NODE is not the root node of the dump.
References dump_info::flags, and dump_info::node.
Referenced by dequeue_and_dump().
void dump_function | ( | ) |
Dump FUNCTION_DECL FN as tree dump PHASE.
References dump_begin(), dump_end(), and dump_function_to_file().
Referenced by analyze_function(), and finalize_size_functions().
|
static |
Referenced by dequeue_and_dump(), and queue_and_dump_index().
|
static |
References dump_info::column, and dump_info::stream.
void dump_int | ( | ) |
Dump integer I using FIELD to identify it.
References dump_info::column, dump_maybe_newline(), and dump_info::stream.
Referenced by dequeue_and_dump().
|
static |
Referenced by dequeue_and_dump(), dump_fixed(), dump_int(), dump_pointer(), dump_real(), dump_string(), dump_string_field(), and queue_and_dump_index().
|
static |
If necessary, insert a new line.
References dump_info::column, dump_new_line(), and dump_info::stream.
|
static |
Referenced by dump_maybe_newline().
|
static |
Insert a new line in the dump output, and indent to an appropriate place to start printing more fields.
References dump_info::column, and dump_info::stream.
void dump_node | ( | ) |
Dump T, and all its children, on STREAM.
References dump_info::column, dequeue_and_dump(), dump_info::flags, free(), dump_info::free_list, dump_info::index, dump_queue::next, dump_info::node, dump_info::nodes, queue, dump_info::queue, dump_info::queue_end, and dump_info::stream.
void dump_pointer | ( | ) |
Dump pointer PTR using FIELD to identify it.
References dump_info::column, dump_maybe_newline(), HOST_WIDE_INT, HOST_WIDE_INT_PRINT, and dump_info::stream.
Referenced by dequeue_and_dump().
|
static |
Dump the floating point value R, using FIELD to identify it.
References dump_info::column, dump_maybe_newline(), real_to_decimal(), dump_info::stream, and strlen().
Referenced by dequeue_and_dump().
void dump_string | ( | ) |
Dump the string S.
References dump_info::column, dump_maybe_newline(), dump_info::stream, and strlen().
void dump_string_field | ( | ) |
Dump the string field S.
References dump_info::column, dump_maybe_newline(), dump_info::stream, and strlen().
Referenced by dequeue_and_dump().
|
static |
@verbatim Tree-dumping functionality for intermediate representation.
Copyright (C) 1999-2013 Free Software Foundation, Inc. Written by Mark Mitchell mark@ code sourc ery. com
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.
|
static |
Add T to the end of the queue of nodes to dump. Returns the index assigned to T.
References dump_node_info::binfo_p, dump_info::free_list, dump_node_info::index, dump_info::index, dump_queue::next, dump_queue::node, dump_info::nodes, dump_info::queue, and dump_info::queue_end.
void queue_and_dump_index | ( | ) |
If T has not already been output, queue it for subsequent output. FIELD is a string to print before printing the index. Then, the index of T is printed.
References dump_info::column, dump_index(), dump_maybe_newline(), dump_info::nodes, queue, and dump_info::stream.
Referenced by dequeue_and_dump(), and queue_and_dump_type().
void queue_and_dump_type | ( | ) |