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_COMP_FUNC

Computational functions. More...

Functions

virtual analysisValbinary_operator (const Operator *op, const analysisVal *left_operand, const analysisVal *right_operand)
virtual analysisValunary_operator (const Operator *op, const analysisVal *operand)
virtual analysisValcast_operator (const typeNode *type, const analysisVal *operand)

Detailed Description

Computational functions.

Computational functions: produce a new analysisVal or transform one of the input vals according to the given operator. DO NOT DELETE any of the inputs (this is handled automatically). Optionally, return 0 to indicate a bad computation.


Function Documentation

analysisVal * ipConstantPropagation::binary_operator const Operator   op,
const analysisVal   left_operand,
const analysisVal   right_operand
[virtual, inherited]
 

Definition at line 401 of file ipconstants.cc.

References Operator::ARROW, ipConstant::binary_operator(), and Operator::id().

analysisVal * ipConstantPropagation::cast_operator const typeNode   type,
const analysisVal   operand
[virtual, inherited]
 

Definition at line 429 of file ipconstants.cc.

References ipConstant::cast_operator().

analysisVal * ipConstantPropagation::unary_operator const Operator   op,
const analysisVal   operand
[virtual, inherited]
 

Definition at line 416 of file ipconstants.cc.

References Operator::ADDRESS, Operator::id(), Operator::INDIR, and ipConstant::unary_operator().


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