Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SetAddrTakenPass Class Reference

Sets the addr_taken bits on symbols correctly. More...

#include <symbol_transforms.h>

Inheritance diagram for SetAddrTakenPass:

Pass Module List of all members.

Public Methods

 SetAddrTakenPass (SuifEnv *the_env, const LString &name = "set_address_taken")
Moduleclone () const
 May return "this" if the pass has no state.

void initialize ()
 Initialize the pass.

void do_file_set_block (FileSetBlock *fsb)
 your analysis or optimization goes here.


Detailed Description

Sets the addr_taken bits on symbols correctly.

addr_taken for a symbol is true iff the symbol is part of an SymbolAddressExpression.

This is needed to alleviate a problem with the front end producing bogus information.


Constructor & Destructor Documentation

SetAddrTakenPass::SetAddrTakenPass ( SuifEnv * the_env,
const LString & name = "set_address_taken")


Member Function Documentation

Module * SetAddrTakenPass::clone ( void) const [virtual]

May return "this" if the pass has no state.

Reimplemented from Pass.

void SetAddrTakenPass::do_file_set_block ( FileSetBlock * fsb) [virtual]

your analysis or optimization goes here.

Reimplemented from Pass.

void SetAddrTakenPass::initialize ( void) [virtual]

Initialize the pass.

Reimplemented from Pass.


The documentation for this class was generated from the following files:
Generated at Mon Jul 31 13:44:29 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000