|
SeExpr
|
ExprLocalVar reference, all local variables in seexpr are subclasses of this or this itself. More...
#include <ExprEnv.h>
Public Member Functions | |
| 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 void | setPhi (ExprLocalVar *phi) |
| sets the representative phi node (like a brute force set unioning operation) phi is the set representative 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... | |
Protected Attributes | |
| ExprType | _type |
| ExprLocalVar * | _phi |
| LLVM_VALUE | _varPtr |
ExprLocalVar reference, all local variables in seexpr are subclasses of this or this itself.
|
inline |
|
inlinevirtual |
| int SeExpr2::ExprLocalVar::buildInterpreter | ( | Interpreter * | interpreter | ) | const |
Allocates variable for interpreter.
Definition at line 641 of file Interpreter.cpp.
References _type, SeExpr2::Interpreter::allocFP(), SeExpr2::Interpreter::allocPtr(), SeExpr2::ExprType::dim(), SeExpr2::ExprType::isFP(), SeExpr2::ExprType::isString(), and SeExpr2::Interpreter::varToLoc.
Referenced by SeExpr2::ExprIfThenElseNode::buildInterpreter(), and SeExpr2::ExprAssignNode::buildInterpreter().
|
virtual |
LLVM value that has been allocated.
|
inline |
get the primary representative phi node (i.e. the global parent of a dependent phi node)
Definition at line 49 of file ExprEnv.h.
References _phi.
Referenced by SeExpr2::ExprPrototypeNode::prep().
|
inlinevirtual |
sets the representative phi node (like a brute force set unioning operation) phi is the set representative
Reimplemented in SeExpr2::ExprLocalVarPhi.
Definition at line 53 of file ExprEnv.h.
References _phi.
Referenced by SeExpr2::ExprLocalVarPhi::setPhi().
|
inline |
returns type of the variable
Definition at line 51 of file ExprEnv.h.
References _type.
Referenced by SeExpr2::copyVarToPromotedPosition(), SeExpr2::ExprLocalVarPhi::ExprLocalVarPhi(), and SeExpr2::ExprVarNode::prep().
|
inlinevirtual |
|
protected |
Definition at line 41 of file ExprEnv.h.
Referenced by getPhi(), setPhi(), and SeExpr2::ExprLocalVarPhi::setPhi().
|
protected |
Definition at line 40 of file ExprEnv.h.
Referenced by buildInterpreter(), SeExpr2::ExprLocalVarPhi::ExprLocalVarPhi(), type(), and SeExpr2::ExprLocalVarPhi::valid().
|
mutableprotected |
1.8.5