GCC Middle and Back End API Reference
tree-dump.c File 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 ()

Function Documentation

static void dequeue_and_dump ( dump_info_p  )
static

Referenced by dump_node().

static void dump_fixed ( )
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 void dump_index ( dump_info_p  ,
unsigned  int 
)
static
static void dump_index ( )
static
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 void dump_maybe_newline ( )
static
If necessary, insert a new line.   

References dump_info::column, dump_new_line(), and dump_info::stream.

static void dump_new_line ( dump_info_p  )
static

Referenced by dump_maybe_newline().

static void dump_new_line ( )
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_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 void dump_real ( )
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 unsigned int queue ( dump_info_p  ,
const_tree  ,
int   
)
static
@verbatim Tree-dumping functionality for intermediate representation.

Copyright (C) 1999-2013 Free Software Foundation, Inc. Written by Mark Mitchell mark@.nosp@m.code.nosp@m.sourc.nosp@m.ery..nosp@m.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 unsigned int queue ( )
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 ( )
Dump the type of T.   

References queue_and_dump_index().

Referenced by dequeue_and_dump().