GCC Middle and Back End API Reference
rtl_opt_pass Class Reference

#include <tree-pass.h>

Inheritance diagram for rtl_opt_pass:
Collaboration diagram for rtl_opt_pass:

Public Member Functions

virtual opt_passclone ()
 
virtual void set_pass_param (unsigned int, bool)
 
virtual bool gate (function *fun)
 
virtual unsigned int execute (function *fun)
 

Data Fields

opt_passsub
 
opt_passnext
 
int static_pass_number
 
enum opt_pass_type type
 
const char * name
 
optgroup_flags_t optinfo_flags
 
timevar_id_t tv_id
 
unsigned int properties_required
 
unsigned int properties_provided
 
unsigned int properties_destroyed
 
unsigned int todo_flags_start
 
unsigned int todo_flags_finish
 

Protected Member Functions

 rtl_opt_pass (const pass_data &data, gcc::context *ctxt)
 

Protected Attributes

gcc::contextm_ctxt
 

Detailed Description

Description of RTL pass.   

Constructor & Destructor Documentation

◆ rtl_opt_pass()

rtl_opt_pass::rtl_opt_pass ( const pass_data & data,
gcc::context * ctxt )
inlineprotected

Member Function Documentation

◆ clone()

opt_pass * opt_pass::clone ( )
virtualinherited
Most passes are single-instance (within their context) and thus don't
need to implement cloning, but passes that support multiple instances
*must* provide their own implementation of the clone method.

Handle this by providing a default implemenation, but make it a fatal
error to call it.   

Reimplemented in pass_array_bounds, and pass_walloca.

References internal_error(), and pass_data::name.

Referenced by position_pass().

◆ execute()

unsigned int opt_pass::execute ( function * fun)
virtualinherited

◆ gate()

◆ set_pass_param()

void opt_pass::set_pass_param ( unsigned int ,
bool  )
virtualinherited

Reimplemented in pass_walloca.

References internal_error(), and pass_data::name.

Field Documentation

◆ m_ctxt

gcc::context* opt_pass::m_ctxt
protectedinherited

◆ name

◆ next

◆ optinfo_flags

◆ properties_destroyed

unsigned int pass_data::properties_destroyed
inherited

◆ properties_provided

unsigned int pass_data::properties_provided
inherited

◆ properties_required

unsigned int pass_data::properties_required
inherited

Referenced by execute_one_pass().

◆ static_pass_number

◆ sub

◆ todo_flags_finish

unsigned int pass_data::todo_flags_finish
inherited

Referenced by execute_one_pass().

◆ todo_flags_start

unsigned int pass_data::todo_flags_start
inherited

◆ tv_id

◆ type


The documentation for this class was generated from the following file: