GCC Middle and Back End API Reference
|
#include <gimple-range-trace.h>
Public Member Functions | |
range_tracer (const char *name="") | |
unsigned | header (const char *str) |
void | trailer (unsigned counter, const char *caller, bool result, tree name, const vrange &r) |
void | print (unsigned counter, const char *str) |
void | enable_trace () |
void | disable_trace () |
virtual void | breakpoint (unsigned index) |
Private Member Functions | |
unsigned | do_header (const char *str) |
void | print_prefix (unsigned idx, bool blanks) |
Private Attributes | |
unsigned | indent |
char | component [name_len] |
bool | tracing |
Static Private Attributes | |
static const unsigned | bump = 2 |
static const unsigned | name_len = 100 |
Header file for the GIMPLE range tracing/debugging facilities. Copyright (C) 2021-2024 Free Software Foundation, Inc. Contributed by Andrew MacLeod <amacleod@redhat.com> and Aldy Hernandez <aldyh@redhat.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/>.
range_tracer::range_tracer | ( | const char * | name = "" | ) |
References gcc_checking_assert, indent, name_len, and tracing.
|
virtual |
Code for GIMPLE range trace and debugging related routines. Copyright (C) 2019-2024 Free Software Foundation, Inc. Contributed by Andrew MacLeod <amacleod@redhat.com> and Aldy Hernandez <aldyh@redhat.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/>.
Referenced by do_header().
|
inline |
References tracing.
|
private |
References breakpoint(), bump, dump_file, indent, and print_prefix().
Referenced by header().
|
inline |
References tracing.
Referenced by dom_ranger::dom_ranger(), gimple_ranger::gimple_ranger(), and gori_compute::gori_compute().
|
inline |
References do_header(), and tracing.
Referenced by gori_compute::compute_logical_operands(), gori_compute::compute_operand1_range(), gori_compute::compute_operand2_range(), gori_compute::compute_operand_range(), gori_compute::edge_range_p(), gori_compute::logical_combine(), gimple_ranger::prefill_stmt_dependencies(), dom_ranger::range_of_expr(), gimple_ranger::range_of_expr(), dom_ranger::range_of_stmt(), gimple_ranger::range_of_stmt(), dom_ranger::range_on_edge(), gimple_ranger::range_on_edge(), gimple_ranger::range_on_entry(), and gimple_ranger::range_on_exit().
void range_tracer::print | ( | unsigned | counter, |
const char * | str ) |
|
private |
void range_tracer::trailer | ( | unsigned | counter, |
const char * | caller, | ||
bool | result, | ||
tree | name, | ||
const vrange & | r ) |
References bump, dump_file, fputc(), gcc_checking_assert, indent, print_generic_expr(), print_prefix(), r, TDF_SLIM, and tracing.
Referenced by gori_compute::compute_logical_operands(), gori_compute::compute_operand1_range(), gori_compute::compute_operand2_range(), gori_compute::compute_operand_range(), gori_compute::edge_range_p(), gori_compute::logical_combine(), gimple_ranger::prefill_stmt_dependencies(), dom_ranger::range_of_expr(), gimple_ranger::range_of_expr(), dom_ranger::range_of_stmt(), gimple_ranger::range_of_stmt(), dom_ranger::range_on_edge(), gimple_ranger::range_on_edge(), gimple_ranger::range_on_entry(), and gimple_ranger::range_on_exit().
|
staticprivate |
Referenced by do_header(), and trailer().
|
private |
|
private |
Referenced by do_header(), print_prefix(), range_tracer(), and trailer().
|
staticprivate |
Referenced by range_tracer().
|
private |
Referenced by disable_trace(), enable_trace(), header(), range_tracer(), and trailer().