|
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 More... | |
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) 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 |
ExprLocalVar join (merge) references. Remembers which variables are possible assigners to this.
|
inline |
Definition at line 70 of file ExprEnv.h.
References _elseVar, _thenVar, SeExpr2::ExprLocalVar::_type, SeExpr2::ExprType::isFP(), SeExpr2::ExprType::setLifetime(), SeExpr2::ExprLocalVar::type(), 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 86 of file ExprEnv.h.
References _elseVar, SeExpr2::ExprLocalVar::_phi, _thenVar, and SeExpr2::ExprLocalVar::setPhi().
|
inline |
Definition at line 82 of file ExprEnv.h.
References SeExpr2::ExprLocalVar::_type, and SeExpr2::ExprType::isError().
Referenced by SeExpr2::ExprIfThenElseNode::buildInterpreter().
| ExprLocalVar * SeExpr2::ExprLocalVarPhi::_elseVar |
Definition at line 93 of file ExprEnv.h.
Referenced by SeExpr2::ExprIfThenElseNode::buildInterpreter(), ExprLocalVarPhi(), and setPhi().
| ExprLocalVar* SeExpr2::ExprLocalVarPhi::_thenVar |
Definition at line 93 of file ExprEnv.h.
Referenced by SeExpr2::ExprIfThenElseNode::buildInterpreter(), ExprLocalVarPhi(), and setPhi().
1.8.5