Class ValueExpr

Inheritance Relationships

Base Type

Class Documentation

class seq::ValueExpr : public seq::Expr

Public Functions

ValueExpr(types::Type *type, llvm::Value *val)
llvm::Value *codegen0(BaseFunc *base, llvm::BasicBlock *&block) override

Performs code generation for this expression.

Return

value representing expression result; possibly null if type is void

Parameters
  • base: the function containing this expression

  • block: reference to block where code should be generated; possibly modified to point to a new block where codegen should resume