GCC Middle and Back End API Reference
optinfo.cc File 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"
Include dependency graph for optinfo.cc:

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 ()
 

Function Documentation

◆ optinfo_kind_to_dump_flag()

static dump_flags_t optinfo_kind_to_dump_flag ( enum optinfo_kind kind)
static

◆ optinfo_kind_to_string()

const char * optinfo_kind_to_string ( enum optinfo_kind kind)

◆ optinfo_wants_inlining_info_p()

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().