30# error "You must define INCLUDE_MEMORY before including system.h to use optinfo.h"
131 void add_item (std::unique_ptr<optinfo_item> item);
Definition dump-context.h:44
Definition dumpfile.h:381
Definition dumpfile.h:446
const dump_user_location_t & get_user_location() const
Definition dumpfile.h:495
location_t get_location_t() const
Definition dumpfile.h:500
const dump_impl_location_t & get_impl_location() const
Definition dumpfile.h:498
profile_count get_count() const
Definition dumpfile.h:505
Definition dumpfile.h:340
Definition tree-pass.h:74
location_t m_location
Definition optinfo.h:173
location_t get_location() const
Definition optinfo.h:167
optinfo_item(enum optinfo_item_kind kind, location_t location, char *text)
Definition optinfo.cc:40
const char * get_text() const
Definition optinfo.h:168
~optinfo_item()
Definition optinfo.cc:48
char * m_text
Definition optinfo.h:176
enum optinfo_item_kind m_kind
Definition optinfo.h:172
enum optinfo_item_kind get_kind() const
Definition optinfo.h:166
const optinfo_item * get_item(unsigned int i) const
Definition optinfo.h:126
const dump_impl_location_t & get_impl_location() const
Definition optinfo.h:121
const dump_user_location_t & get_user_location() const
Definition optinfo.h:118
void emit_for_opt_problem() const
Definition optinfo.cc:116
optinfo(const dump_location_t &loc, enum optinfo_kind kind, opt_pass *pass)
Definition optinfo.h:107
profile_count get_count() const
Definition optinfo.h:129
void handle_dump_file_kind(dump_flags_t)
Definition optinfo.cc:135
const dump_location_t & get_dump_location() const
Definition optinfo.h:115
enum optinfo_kind get_kind() const
Definition optinfo.h:123
opt_pass * m_pass
Definition optinfo.h:143
enum optinfo_kind m_kind
Definition optinfo.h:142
void add_item(std::unique_ptr< optinfo_item > item)
Definition optinfo.cc:87
unsigned int num_items() const
Definition optinfo.h:125
dump_location_t m_loc
Definition optinfo.h:141
~optinfo()
Definition optinfo.cc:75
auto_vec< optinfo_item * > m_items
Definition optinfo.h:144
location_t get_location_t() const
Definition optinfo.h:128
opt_pass * get_pass() const
Definition optinfo.h:124
enum dump_flag dump_flags_t
Definition dumpfile.h:209
const char * optinfo_kind_to_string(enum optinfo_kind kind)
Definition optinfo.cc:56
optinfo_item_kind
Definition optinfo.h:150
@ OPTINFO_ITEM_KIND_TEXT
Definition optinfo.h:151
@ OPTINFO_ITEM_KIND_TREE
Definition optinfo.h:152
@ OPTINFO_ITEM_KIND_SYMTAB_NODE
Definition optinfo.h:154
@ OPTINFO_ITEM_KIND_GIMPLE
Definition optinfo.h:153
optinfo_kind
Definition optinfo.h:89
@ OPTINFO_KIND_SCOPE
Definition optinfo.h:93
@ OPTINFO_KIND_SUCCESS
Definition optinfo.h:90
@ OPTINFO_KIND_NOTE
Definition optinfo.h:92
@ OPTINFO_KIND_FAILURE
Definition optinfo.h:91
bool optinfo_wants_inlining_info_p()
Definition optinfo.cc:152
i
Definition poly-int.h:776
Definition profile-count.h:750