GCC Middle and Back End API Reference
|
#include <dumpfile.h>
Public Member Functions | |
dump_location_t (const dump_impl_location_t &impl_location=dump_impl_location_t()) | |
dump_location_t (const gimple *stmt, const dump_impl_location_t &impl_location=dump_impl_location_t()) | |
dump_location_t (const rtx_insn *insn, const dump_impl_location_t &impl_location=dump_impl_location_t()) | |
dump_location_t (const dump_user_location_t &user_location, const dump_impl_location_t &impl_location=dump_impl_location_t()) | |
const dump_user_location_t & | get_user_location () const |
const dump_impl_location_t & | get_impl_location () const |
location_t | get_location_t () const |
profile_count | get_count () const |
Static Public Member Functions | |
static dump_location_t | from_location_t (location_t loc, const dump_impl_location_t &impl_location=dump_impl_location_t()) |
Private Attributes | |
dump_user_location_t | m_user_location |
dump_impl_location_t | m_impl_location |
A bundle of information for describing the location of a dump message: (a) the source location and hotness within the user's code, together with (b) the source location within the compiler/plugin. The constructors use default parameters so that (b) gets sets up automatically. The upshot is that you can pass in e.g. a gimple * to dump_printf_loc, and the dump call will automatically record where in GCC's source code the dump was emitted from.
|
inline |
Referenced by from_location_t().
|
inline |
|
inline |
|
inline |
|
inlinestatic |
References dump_location_t(), and dump_user_location_t::from_location_t().
Referenced by debug(), debug(), and dot_slp_tree().
|
inline |
References dump_user_location_t::get_count(), and m_user_location.
Referenced by optinfo::get_count().
|
inline |
References m_impl_location.
Referenced by optinfo::get_impl_location(), report_unroll(), and vect_print_slp_tree().
|
inline |
References dump_user_location_t::get_location_t(), and m_user_location.
Referenced by optinfo::get_location_t().
|
inline |
References m_user_location.
Referenced by optinfo::get_user_location(), opt_problem::opt_problem(), report_unroll(), and vect_print_slp_tree().
|
private |
Referenced by get_impl_location().
|
private |
Referenced by get_count(), get_location_t(), and get_user_location().