Defined in File lang.h
VarStmt: public seq::Stmt¶
VarStmt(Expr *init, types::Type *type = nullptr)¶
Performs type resolution on this statement and all sub-expressions/statements/etc. This is called prior to Expr::getType().
Performs code generation for this statement.
block: reference to block where code should be generated; possibly modified to point to a new block where codegen should resume
Clones this statement.
refis used internally to keep track of cloned objects, and to make sure we don’t clone certain objects twice.
ref: generic object that is being cloned