|
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) | |
| ExprType | type () const |
| returns type of the variable | |
| virtual void | setPhi (ExprLocalVar *phi) |
| sets the representative phi node (like a brute force set unioning operation) phi is the set representative | |
| 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. | |
Protected Attributes | |
| ExprType | _type |
| ExprLocalVar * | _phi |
| LLVM_VALUE | _varPtr |
ExprLocalVar reference, all local variables in seexpr are subclasses of this or this itself.
|
inline |
Definition at line 44 of file ExprEnv.h.
References _phi, _type, _varPtr, and type().
Referenced by SeExpr2::ExprLocalVarPhi::ExprLocalVarPhi(), getPhi(), setPhi(), and SeExpr2::ExprLocalVarPhi::setPhi().
|
inlinevirtual |
| int SeExpr2::ExprLocalVar::buildInterpreter | ( | Interpreter * | interpreter | ) | const |
Allocates variable for interpreter.
Definition at line 738 of file Interpreter.cpp.
References _type, SeExpr2::Interpreter::allocFP(), SeExpr2::Interpreter::allocPtr(), and SeExpr2::Interpreter::varToLoc.
Referenced by SeExpr2::ExprIfThenElseNode::buildInterpreter().
|
virtual |
LLVM value that has been allocated.
References LLVM_BODY.
|
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, and ExprLocalVar().
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, and ExprLocalVar().
|
inline |
returns type of the variable
Definition at line 51 of file ExprEnv.h.
References _type.
Referenced by SeExpr2::copyVarToPromotedPosition(), and ExprLocalVar().
|
inlinevirtual |
|
protected |
Definition at line 40 of file ExprEnv.h.
Referenced by ExprLocalVar(), getPhi(), setPhi(), and SeExpr2::ExprLocalVarPhi::setPhi().
|
protected |
Definition at line 39 of file ExprEnv.h.
Referenced by buildInterpreter(), ExprLocalVar(), SeExpr2::ExprLocalVarPhi::ExprLocalVarPhi(), type(), and SeExpr2::ExprLocalVarPhi::valid().
|
mutableprotected |
Definition at line 41 of file ExprEnv.h.
Referenced by ExprLocalVar(), and varPtr().