GCC Middle and Back End API Reference
optinfo.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  optinfo
 
class  optinfo_item
 

Enumerations

enum  optinfo_kind { OPTINFO_KIND_SUCCESS , OPTINFO_KIND_FAILURE , OPTINFO_KIND_NOTE , OPTINFO_KIND_SCOPE }
 
enum  optinfo_item_kind { OPTINFO_ITEM_KIND_TEXT , OPTINFO_ITEM_KIND_TREE , OPTINFO_ITEM_KIND_GIMPLE , OPTINFO_ITEM_KIND_SYMTAB_NODE }
 

Functions

bool optinfo_wants_inlining_info_p ()
 
const char * optinfo_kind_to_string (enum optinfo_kind kind)
 

Enumeration Type Documentation

◆ optinfo_item_kind

An enum for discriminating between different kinds of optinfo_item.   
Enumerator
OPTINFO_ITEM_KIND_TEXT 
OPTINFO_ITEM_KIND_TREE 
OPTINFO_ITEM_KIND_GIMPLE 
OPTINFO_ITEM_KIND_SYMTAB_NODE 

◆ optinfo_kind

The various kinds of optinfo.   
Enumerator
OPTINFO_KIND_SUCCESS 
OPTINFO_KIND_FAILURE 
OPTINFO_KIND_NOTE 
OPTINFO_KIND_SCOPE 

Function Documentation

◆ optinfo_kind_to_string()

const char * optinfo_kind_to_string ( enum optinfo_kind kind)
extern

◆ optinfo_wants_inlining_info_p()

bool optinfo_wants_inlining_info_p ( )
extern
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().