Class ValueExpr

Inheritance Relationships

Base Type

Class Documentation

class ValueExpr : public seq::Expr

Public Functions

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

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