SeExpr
Public Member Functions | Public Attributes | List of all members
SeExpr2::ExprLocalVarPhi Class Reference

ExprLocalVar join (merge) references. Remembers which variables are possible assigners to this. More...

#include <ExprEnv.h>

Inheritance diagram for SeExpr2::ExprLocalVarPhi:
SeExpr2::ExprLocalVar

Public Member Functions

 ExprLocalVarPhi (ExprType condLife, ExprLocalVar *thenVar, ExprLocalVar *elseVar)
 
bool valid () const
 
void setPhi (ExprLocalVar *phi)
 sets the representative phi node (like a brute force set unioning operation) phi is the set representative More...
 
- Public Member Functions inherited from SeExpr2::ExprLocalVar
 ExprLocalVar (const ExprType &type)
 
virtual ~ExprLocalVar ()
 
const ExprLocalVargetPhi () const
 get the primary representative phi node (i.e. the global parent of a dependent phi node) More...
 
ExprType type () const
 returns type of the variable More...
 
virtual LLVM_VALUE codegen (LLVM_BUILDER, const std::string &name, LLVM_VALUE referenceType) LLVM_BODY
 LLVM value that has been allocated. More...
 
virtual LLVM_VALUE varPtr ()
 LLVM value that has been pre-done. More...
 
int buildInterpreter (Interpreter *interpreter) const
 Allocates variable for interpreter. More...
 

Public Attributes

ExprNode_condNode
 
ExprLocalVar_thenVar
 
ExprLocalVar_elseVar
 

Additional Inherited Members

- Protected Attributes inherited from SeExpr2::ExprLocalVar
ExprType _type
 
ExprLocalVar_phi
 
LLVM_VALUE _varPtr
 

Detailed Description

ExprLocalVar join (merge) references. Remembers which variables are possible assigners to this.

Definition at line 68 of file ExprEnv.h.

Constructor & Destructor Documentation

SeExpr2::ExprLocalVarPhi::ExprLocalVarPhi ( ExprType  condLife,
ExprLocalVar thenVar,
ExprLocalVar elseVar 
)
inline

Member Function Documentation

void SeExpr2::ExprLocalVarPhi::setPhi ( ExprLocalVar phi)
inlinevirtual

sets the representative phi node (like a brute force set unioning operation) phi is the set representative

Reimplemented from SeExpr2::ExprLocalVar.

Definition at line 86 of file ExprEnv.h.

References _elseVar, SeExpr2::ExprLocalVar::_phi, _thenVar, and SeExpr2::ExprLocalVar::setPhi().

bool SeExpr2::ExprLocalVarPhi::valid ( ) const
inline

Member Data Documentation

ExprNode* SeExpr2::ExprLocalVarPhi::_condNode

Definition at line 92 of file ExprEnv.h.

ExprLocalVar * SeExpr2::ExprLocalVarPhi::_elseVar
ExprLocalVar* SeExpr2::ExprLocalVarPhi::_thenVar

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