ExprBuffer

class ExprBuffer(using fresh: Fresh) extends FixupBuffer
class Buffer
class Object
trait Matchable
class Any

Value members

Concrete methods

def fromExtern(expectedTy: Type, value: Val)(using Position): Val
def genApply(app: Apply): Val
def genApplyMethod(sym: Symbol, statically: Boolean, selfp: Tree, argsp: Seq[Tree])(using Position): Val
def genApplyModuleMethod(module: Symbol, method: Symbol, args: Seq[Tree])(using Position): Val
def genAssign(tree: Assign): Val
def genBlock(block: Block): Val
def genCQuoteOp(app: Apply): Val
def genCastOp(from: Type, to: Type, value: Val)(using Position): Val
def genClassFieldRawPtr(app: Apply): Val
def genClosure(tree: Closure): Val
def genExpr(tree: Tree): Val
def genIdent(tree: Ident): Val
def genIf(tree: If): Val
def genJavaSeqLiteral(tree: JavaSeqLiteral): Val
def genLabelDef(label: Labeled): Val
def genLiteral(lit: Literal): Val
def genLoadExtern(ty: Type, externTy: Type, sym: Symbol)(using Position): Val
def genMatch(m: Match): Val
def genMethodArgs(sym: Symbol, argsp: Seq[Tree]): Seq[Val]
def genModule(sym: Symbol)(using Position): Val
def genReturn(tree: Return): Val
def genReturn(value: Val, from: Option[Local])(using pos: Position): Val
def genSelect(tree: Select): Val
def genStoreExtern(externTy: Type, sym: Symbol, value: Val)(using Position): Val
def genSynchronized(receiverp: Tree)(bodyGen: ExprBuffer => Val)(using Position): Val
def genThis(tree: This): Val
def genTry(tree: Try): Val
def genTypeApply(tree: TypeApply): Val
def genTyped(tree: Typed): Val
def genValDef(vd: ValDef): Val
def genWhileDo(wd: WhileDo): Val
def toExtern(expectedTy: Type, value: Val)(using Position): Val

Inherited methods

override def ++=(other: Buffer): Unit
Definition Classes
Inherited from:
FixupBuffer
override def ++=(insts: Seq[Inst]): Unit
Definition Classes
Inherited from:
FixupBuffer
override def +=(inst: Inst): Unit
Definition Classes
Inherited from:
FixupBuffer
def arrayalloc(ty: Type, init: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def arraylength(arr: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def arrayload(ty: Type, arr: Val, idx: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def arraystore(ty: Type, arr: Val, idx: Val, value: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def as(ty: Type, obj: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def bin(bin: Bin, ty: Type, l: Val, r: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def box(ty: Type, obj: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def branch(value: Val, thenp: Next, elsep: Next)(implicit pos: Position): Unit
Inherited from:
Buffer
def branchLinktime(condition: LinktimeCondition, thenp: Next, elsep: Next)(implicit pos: Position): Unit
Inherited from:
Buffer
def call(ty: Type, ptr: Val, args: Seq[Val], unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def classalloc(name: Global, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def comp(comp: Comp, ty: Type, l: Val, r: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def conv(conv: Conv, ty: Type, value: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def copy(value: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def dynmethod(obj: Val, sig: Sig, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def elem(ty: Type, ptr: Val, indexes: Seq[Val], unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def extract(aggr: Val, indexes: Seq[Int], unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def field(obj: Val, name: Global, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def fieldload(ty: Type, obj: Val, name: Global, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def fieldstore(ty: Type, obj: Val, name: Global, value: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def insert(aggr: Val, value: Val, indexes: Seq[Int], unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def is(ty: Type, obj: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def jump(to: Local, args: Seq[Val])(implicit pos: Position): Unit
Inherited from:
Buffer
def jump(next: Next)(implicit pos: Position): Unit
Inherited from:
Buffer
def label(name: Local, params: Seq[Local])(implicit pos: Position): Unit
Inherited from:
Buffer
def label(name: Local)(implicit pos: Position): Unit
Inherited from:
Buffer
def let(op: Op, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def let(name: Local, op: Op, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def load(ty: Type, ptr: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def method(obj: Val, sig: Sig, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def module(name: Global, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def raise(value: Val, unwind: Next)(implicit pos: Position): Unit
Inherited from:
Buffer
def ret(value: Val)(implicit pos: Position): Unit
Inherited from:
Buffer
def size: Int
Inherited from:
Buffer
def sizeof(ty: Type, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def stackalloc(ty: Type, n: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def store(ty: Type, ptr: Val, value: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def switch(value: Val, default: Next, cases: Seq[Next])(implicit pos: Position): Unit
Inherited from:
Buffer
def toSeq: Seq[Inst]
Inherited from:
Buffer
def unbox(ty: Type, obj: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def unreachable(unwind: Next)(implicit pos: Position): Unit
Inherited from:
Buffer
def var_(ty: Type, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def varload(slot: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer
def varstore(slot: Val, value: Val, unwind: Next)(implicit pos: Position): Val
Inherited from:
Buffer