|
KSeExpr 6.0.0.0
|
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 ()=default |
| ExprLocalVar (ExprLocalVar &)=default | |
| ExprLocalVar (ExprLocalVar &&)=default | |
| ExprLocalVar & | operator= (const ExprLocalVar &)=default |
| ExprLocalVar & | operator= (ExprLocalVar &&)=default |
| 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 | setType (const ExprType &type) |
| setter for variable type | |
| 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 &, LLVM_VALUE) LLVM_BASE |
| 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. | |
Private Attributes | |
| ExprType | _type |
| ExprLocalVar * | _phi {nullptr} |
| LLVM_VALUE | _varPtr {0} |
ExprLocalVar reference, all local variables in seexpr are subclasses of this or this itself.
|
virtualdefault |
|
default |
|
default |
| int KSeExpr::ExprLocalVar::buildInterpreter | ( | Interpreter * | interpreter | ) | const |
Allocates variable for interpreter.
Definition at line 734 of file Interpreter.cpp.
References _type, KSeExpr::ExprType::dim(), KSeExpr::ExprType::isFP(), and KSeExpr::ExprType::isString().
Referenced by KSeExpr::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 47 of file ExprEnv.h.
References _phi.
Referenced by KSeExpr::ExprPrototypeNode::prep().
|
default |
|
default |
|
inlinevirtual |
sets the representative phi node (like a brute force set unioning operation) phi is the set representative
Reimplemented in KSeExpr::ExprLocalVarPhi.
Definition at line 63 of file ExprEnv.h.
References _phi.
Referenced by KSeExpr::ExprLocalVarPhi::setPhi().
setter for variable type
Definition at line 58 of file ExprEnv.h.
Referenced by KSeExpr::ExprLocalVarPhi::ExprLocalVarPhi().
|
inline |
returns type of the variable
Definition at line 52 of file ExprEnv.h.
References _type.
Referenced by KSeExpr::ExprLocalVarPhi::ExprLocalVarPhi(), KSeExpr::ExprVarNode::prep(), setType(), and KSeExpr::ExprLocalVarPhi::valid().
|
inlinevirtual |
|
private |
|
private |
Definition at line 30 of file ExprEnv.h.
Referenced by buildInterpreter(), setType(), and type().
|
mutableprivate |