|
SeExpr
|
ExprLocalVar join (merge) references. Remembers which variables are possible assigners to this. More...
#include <ExprEnv.h>
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 | |
Public Member Functions inherited from SeExpr2::ExprLocalVar | |
| ExprLocalVar (const ExprType &type) | |
| virtual | ~ExprLocalVar () |
| const ExprLocalVar * | getPhi () const |
| get the primary representative phi node (i.e. the global parent of a dependent phi node) | |
| ExprType | type () const |
| returns type of the variable | |
| virtual LLVM_VALUE | codegen (LLVM_BUILDER, const std::string &name, LLVM_VALUE referenceType) LLVM_BODY |
| LLVM value that has been allocated. | |
| virtual LLVM_VALUE | varPtr () |
| LLVM value that has been pre-done. | |
| int | buildInterpreter (Interpreter *interpreter) const |
| Allocates variable for interpreter. | |
Public Attributes | |
| ExprNode * | _condNode |
| ExprLocalVar * | _thenVar |
| ExprLocalVar * | _elseVar |
Additional Inherited Members | |
Protected Attributes inherited from SeExpr2::ExprLocalVar | |
| ExprType | _type |
| ExprLocalVar * | _phi |
| LLVM_VALUE | _varPtr |
ExprLocalVar join (merge) references. Remembers which variables are possible assigners to this.
|
inline |
Definition at line 69 of file ExprEnv.h.
References _elseVar, _thenVar, SeExpr2::ExprLocalVar::_type, SeExpr2::ExprLocalVar::ExprLocalVar(), if(), and SeExpr2::ExprType::valuesCompatible().
|
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 83 of file ExprEnv.h.
References _elseVar, SeExpr2::ExprLocalVar::_phi, _thenVar, and SeExpr2::ExprLocalVar::ExprLocalVar().
|
inline |
Definition at line 81 of file ExprEnv.h.
References SeExpr2::ExprLocalVar::_type.
Referenced by SeExpr2::ExprIfThenElseNode::buildInterpreter().
| ExprLocalVar * SeExpr2::ExprLocalVarPhi::_elseVar |
Definition at line 90 of file ExprEnv.h.
Referenced by SeExpr2::ExprIfThenElseNode::buildInterpreter(), ExprLocalVarPhi(), and setPhi().
| ExprLocalVar* SeExpr2::ExprLocalVarPhi::_thenVar |
Definition at line 90 of file ExprEnv.h.
Referenced by SeExpr2::ExprIfThenElseNode::buildInterpreter(), ExprLocalVarPhi(), and setPhi().