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  

IPCONSTANTS_H_LOOKUP

Lookup the flow value for an object. More...

Functions

virtual analysisVallookup (memoryBlock *block, memoryUse *use)
virtual analysisVallookup (constNode *con)
virtual analysisVallookup (const string &field_name)

Detailed Description

Lookup the flow value for an object.

IMPORTANT:

  • Return a *copy* of any internal data structures because these analysisVal objects will be deleted.
  • If the given object cannot be found, return 0 and the analyzer will automatically use BOTTOM.

Function Documentation

analysisVal * ipConstantPropagation::lookup const string &    field_name [virtual, inherited]
 

Definition at line 345 of file ipconstants.cc.

analysisVal * ipConstantPropagation::lookup constNode   con [virtual, inherited]
 

Definition at line 318 of file ipconstants.cc.

References ipConstantPropagation::allocate(), and exprNode::value().

analysisVal * ipConstantPropagation::lookup memoryBlock   block,
memoryUse   use
[virtual, inherited]
 

Definition at line 281 of file ipconstants.cc.

References ipConstantPropagation::_values, ipConstantPropagation::allocate(), ipConstantPropagation::clone(), const_variables_map_p, memoryBlock::decl(), declNode::decl_location(), def, declNode::ENUM, declNode::init(), use, and exprNode::value().

Referenced by ipConstantsChanger::at_expr().


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