GCC Middle and Back End API Reference
|
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "backend.h"
#include "tree.h"
#include "gimple.h"
#include "optinfo.h"
#include "optinfo-emit-json.h"
#include "dump-context.h"
#include "pretty-print.h"
#include "gimple-pretty-print.h"
#include "cgraph.h"
#include "selftest.h"
Functions | |
const char * | optinfo_kind_to_string (enum optinfo_kind kind) |
static dump_flags_t | optinfo_kind_to_dump_flag (enum optinfo_kind kind) |
bool | optinfo_wants_inlining_info_p () |
|
static |
Get MSG_* flags corresponding to KIND.
References gcc_unreachable, MSG_MISSED_OPTIMIZATION, MSG_NOTE, MSG_OPTIMIZED_LOCATIONS, OPTINFO_KIND_FAILURE, OPTINFO_KIND_NOTE, OPTINFO_KIND_SCOPE, and OPTINFO_KIND_SUCCESS.
Referenced by optinfo::emit_for_opt_problem().
const char * optinfo_kind_to_string | ( | enum optinfo_kind | kind | ) |
Get a string from KIND.
References gcc_unreachable, OPTINFO_KIND_FAILURE, OPTINFO_KIND_NOTE, OPTINFO_KIND_SCOPE, and OPTINFO_KIND_SUCCESS.
Referenced by optrecord_json_writer::optinfo_to_json().
bool optinfo_wants_inlining_info_p | ( | ) |
Return true if any of the active optinfo destinations make use of inlining information. (if true, then the information is preserved).
References dump_context::get(), and dump_context::optimization_records_enabled_p().
Referenced by remove_unused_scope_block_p().