GCC Middle and Back End API Reference
pass_walloca Class Reference
Inheritance diagram for pass_walloca:
Collaboration diagram for pass_walloca:

Public Member Functions

 pass_walloca (gcc::context *ctxt)
 
opt_passclone () final override
 
void set_pass_param (unsigned int n, bool param) final override
 
bool gate (function *) final override
 
unsigned int execute (function *) final override
 

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 Attributes

gcc::contextm_ctxt
 

Private Attributes

bool xlimit_certain_p
 

Constructor & Destructor Documentation

◆ pass_walloca()

pass_walloca::pass_walloca ( gcc::context * ctxt)
inline

Referenced by clone().

Member Function Documentation

◆ clone()

opt_pass * pass_walloca::clone ( )
inlinefinaloverridevirtual
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 from opt_pass.

References opt_pass::m_ctxt, and pass_walloca().

◆ execute()

◆ gate()

bool pass_walloca::gate ( function * fun)
finaloverridevirtual

◆ set_pass_param()

void pass_walloca::set_pass_param ( unsigned int n,
bool param )
inlinefinaloverridevirtual

Reimplemented from opt_pass.

References gcc_assert, and xlimit_certain_p.

Field Documentation

◆ m_ctxt

gcc::context* opt_pass::m_ctxt
protectedinherited

Referenced by pass_array_bounds::clone(), and clone().

◆ 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

◆ xlimit_certain_p

bool pass_walloca::xlimit_certain_p
private

Referenced by execute(), and set_pass_param().


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