C-Breeze
C Compiler Infrastructure

[ Project home page]
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

LirBlock Class Reference

#include <instruction.h>

List of all members.

Public Member Functions

 LirBlock (int number)
const instruction_listinsts () const
void add_inst_before (LirInst *newInst, LirInst *otherInst)
void add_inst_after (LirInst *newInst, LirInst *otherInst)
void add_inst (LirInst *inst)
void remove_inst (LirInst *inst)
void reset_visited ()

Public Attributes

LirBlockSet _preds
LirBlockSet _succs
LirBlock * _next
LirBlockSet _doms
unsigned int _number
unsigned int _depth
bool _visited

Protected Attributes

instruction_list _instructions


Constructor & Destructor Documentation

LirBlock::LirBlock int    number [inline]
 

Definition at line 392 of file instruction.h.

References _depth, _next, _number, and _visited.


Member Function Documentation

void LirBlock::add_inst LirInst   inst
 

Definition at line 398 of file instruction.cc.

References _instructions, and LirInst::block.

Referenced by lir_flow_walker::build_lir_blocks().

void LirBlock::add_inst_after LirInst   newInst,
LirInst   otherInst
 

Definition at line 378 of file instruction.cc.

References _instructions, LirInst::block, and instruction_list_p.

Referenced by briggs_reg_alloc::genSpillCode(), and briggs_reg_alloc::loadSymReg().

void LirBlock::add_inst_before LirInst   newInst,
LirInst   otherInst
 

Definition at line 358 of file instruction.cc.

References _instructions, LirInst::block, and instruction_list_p.

const instruction_list & LirBlock::insts   const
 

Definition at line 352 of file instruction.cc.

References _instructions.

Referenced by lir_flow_walker::build_lir_blocks().

void LirBlock::remove_inst LirInst   inst
 

Definition at line 406 of file instruction.cc.

References _instructions, LirInst::block, and instruction_list_p.

Referenced by briggs_reg_alloc::deleteInstr().

void LirBlock::reset_visited  
 

Definition at line 423 of file instruction.cc.

References _succs, _visited, and LirBlockSet_p.

Referenced by lir_flow_walker::find_block_doms().


Member Data Documentation

unsigned int LirBlock::_depth
 

Definition at line 427 of file instruction.h.

Referenced by briggs_reg_alloc::depth(), lir_flow_walker::find_loops(), and LirBlock().

LirBlockSet LirBlock::_doms
 

Definition at line 421 of file instruction.h.

Referenced by lir_flow_walker::find_block_doms(), and lir_flow_walker::find_loops().

instruction_list LirBlock::_instructions [protected]
 

Definition at line 437 of file instruction.h.

Referenced by add_inst(), add_inst_after(), add_inst_before(), insts(), and remove_inst().

LirBlock* LirBlock::_next
 

Definition at line 418 of file instruction.h.

Referenced by lir_flow_walker::build_lir_blocks(), lir_flow_walker::find_loops(), and LirBlock().

unsigned int LirBlock::_number
 

Definition at line 424 of file instruction.h.

Referenced by LirBlock().

LirBlockSet LirBlock::_preds
 

Definition at line 414 of file instruction.h.

Referenced by lir_flow_walker::build_lir_blocks(), lir_flow_walker::find_block_doms(), and lir_flow_walker::find_loops().

LirBlockSet LirBlock::_succs
 

Definition at line 415 of file instruction.h.

Referenced by lir_flow_walker::build_lir_blocks(), lir_flow_walker::find_loops(), lir_flow_walker::get_block_dfo(), and reset_visited().

bool LirBlock::_visited
 

Definition at line 432 of file instruction.h.

Referenced by lir_flow_walker::get_block_dfo(), LirBlock(), and reset_visited().


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

Generated on August 27, 2003
Back to the C-Breeze home page