Packages

class ExprBuffer extends NirGenPhase.FixupBuffer

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExprBuffer
  2. FixupBuffer
  3. Buffer
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExprBuffer()(implicit fresh: Fresh)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ++=(other: Buffer): Unit
    Definition Classes
    FixupBufferBuffer
  4. def ++=(insts: Seq[Inst]): Unit
    Definition Classes
    FixupBufferBuffer
  5. def +=(inst: Inst): Unit
    Definition Classes
    FixupBufferBuffer
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def arrayalloc(ty: Type, init: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  8. def arraylength(arr: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  9. def arrayload(ty: Type, arr: Val, idx: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  10. def arraystore(ty: Type, arr: Val, idx: Val, value: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  11. def as(ty: Type, obj: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def bin(bin: Bin, ty: Type, l: Val, r: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  14. def binaryOperationType(lty: Type, rty: Type): Type
  15. def box(ty: Type, obj: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  16. def boxValue(st: NirGenPhase.SimpleType, value: Val)(implicit pos: Position): Val
  17. def branch(value: Val, thenp: Next, elsep: Next)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  18. def branchLinktime(condition: LinktimeCondition, thenp: Next, elsep: Next)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  19. def call(ty: Type, ptr: Val, args: Seq[Val], unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  20. def castConv(fromty: Type, toty: Type): Option[Conv]
  21. def classalloc(name: Global, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  22. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  23. def coercionTypes(code: Int): (Type, Type)
  24. def comp(comp: Comp, ty: Type, l: Val, r: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  25. def conv(conv: Conv, ty: Type, value: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  26. def copy(value: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  27. def dynmethod(obj: Val, sig: Sig, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  28. def elem(ty: Type, ptr: Val, indexes: Seq[Val], unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  29. def ensureBoxed(value: Val, tpeEnteringPosterasure: G.Type, targetTpe: G.Type)(implicit buf: NirGenPhase.ExprBuffer, pos: Position): Val
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  32. def exists(pred: (Inst) => Boolean): Boolean
    Definition Classes
    Buffer
  33. def extract(aggr: Val, indexes: Seq[Int], unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  34. def field(obj: Val, name: Global, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  35. def fieldload(ty: Type, obj: Val, name: Global, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  36. def fieldstore(ty: Type, obj: Val, name: Global, value: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  37. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  38. def foreach(fn: (Inst) => Unit): Unit
    Definition Classes
    Buffer
  39. def fromExtern(expectedTy: Type, value: Val)(implicit pos: Position): Val
  40. def functionMethodSymbols(tree: G.Function): Seq[G.Symbol]
  41. def genApply(app: G.Apply): Val
  42. def genApplyBox(st: NirGenPhase.SimpleType, argp: G.Tree): Val
  43. def genApplyDynamic(sym: G.Symbol, self: Val, argsp: Seq[G.Tree])(implicit pos: Position): Val
  44. def genApplyDynamic(app: G.ApplyDynamic): Val
  45. def genApplyExternAccessor(sym: G.Symbol, argsp: Seq[G.Tree])(implicit pos: Position): Val
  46. def genApplyLabel(tree: G.Tree): Val
  47. def genApplyMethod(sym: G.Symbol, statically: Boolean, self: Val, argsp: Seq[G.Tree])(implicit pos: Position): Val
  48. def genApplyMethod(sym: G.Symbol, statically: Boolean, selfp: G.Tree, argsp: Seq[G.Tree])(implicit pos: Position): Val
  49. def genApplyModuleMethod(module: G.Symbol, method: G.Symbol, args: Seq[G.Tree])(implicit pos: Position): Val
  50. def genApplyNew(clssym: G.Symbol, ctorsym: G.Symbol, args: List[G.Tree])(implicit pos: Position): Val
  51. def genApplyNew(app: G.Apply): Val
  52. def genApplyNewArray(targ: NirGenPhase.SimpleType, argsp: Seq[G.Tree])(implicit pos: Position): Val
  53. def genApplyNewStruct(st: NirGenPhase.SimpleType, argsp: Seq[G.Tree]): Val
  54. def genApplyPrimitive(app: G.Apply): Val
  55. def genApplyTypeApply(app: G.Apply): Val
  56. def genApplyUnbox(st: NirGenPhase.SimpleType, argp: G.Tree)(implicit pos: Position): Val
  57. def genArrayOp(app: G.Apply, code: Int): Val
  58. def genArrayValue(av: G.ArrayValue): Val
  59. def genAssign(tree: G.Assign): Val
  60. def genBinaryOp(op: (Type, Val, Val) => Op, leftp: G.Tree, rightp: G.Tree, opty: Type): Val
  61. def genBinaryOp(code: Int, left: G.Tree, right: G.Tree, retty: Type)(implicit exprPos: Position): Val
  62. def genBlock(block: G.Block): Val
  63. def genCFuncFromScalaFunction(app: G.Apply): Val
  64. def genCFuncPtrApply(app: G.Apply, code: Int): Val

    Generates direct call to function ptr with optional unboxing arguments and boxing result Apply.args can contain different number of arguments depending on usage, however they are passed in constant order:

    Generates direct call to function ptr with optional unboxing arguments and boxing result Apply.args can contain different number of arguments depending on usage, however they are passed in constant order:

    • 0..N args
    • 0..N+1 type evidences of args (scalanative.Tag)
    • return type evidence
  65. def genCQuoteOp(app: G.Apply): Val
  66. def genCastOp(fromty: Type, toty: Type, value: Val)(implicit pos: Position): Val
  67. def genClassEquality(leftp: G.Tree, rightp: G.Tree, ref: Boolean, negated: Boolean): Val
  68. def genClassFieldRawPtr(app: G.Apply)(implicit pos: Position): Val
  69. def genCoercion(value: Val, fromty: Type, toty: Type)(implicit pos: Position): Val
  70. def genCoercion(app: G.Apply, receiver: G.Tree, code: Int): Val
  71. def genExpr(tree: G.Tree): Val
  72. def genFuncExternForwarder(funcName: Global, treeSym: G.Symbol)(implicit pos: Position): Defn
  73. def genFunction(tree: G.Function): Val
  74. def genHashCode(argp: G.Tree)(implicit pos: Position): Val
  75. def genIdent(tree: G.Ident): Val
  76. def genIf(retty: Type, condp: G.Tree, thenp: G.Tree, elsep: G.Tree, ensureLinktime: Boolean = false)(implicit ifPos: Position): Val
  77. def genIf(tree: G.If): Val
  78. def genLabel(label: G.LabelDef): Val
  79. def genLabelDef(label: G.LabelDef): Val
  80. def genLiteral(lit: G.Literal): Val
  81. def genLiteralValue(lit: G.Literal): Val
  82. def genLoadExtern(ty: Type, externTy: Type, sym: G.Symbol)(implicit pos: Position): Val
  83. def genMatch(prologue: List[G.Tree], lds: List[G.LabelDef]): Val
  84. def genMatch(m: G.Match): Val
  85. def genMethodArgs(sym: G.Symbol, argsp: Seq[G.Tree]): Seq[Val]
  86. def genModule(sym: G.Symbol)(implicit pos: Position): Val
  87. def genRawCastOp(app: G.Apply, code: Int): Val
  88. def genRawPtrElemOp(app: G.Apply, code: Int): Val
  89. def genRawPtrLoadOp(app: G.Apply, code: Int): Val
  90. def genRawPtrOp(app: G.Apply, code: Int): Val
  91. def genRawPtrStoreOp(app: G.Apply, code: Int): Val
  92. def genReturn(value: Val)(implicit pos: Position): Val
  93. def genReturn(tree: G.Return): Val
  94. def genSelect(tree: G.Select): Val
  95. def genSimpleOp(app: G.Apply, args: List[G.Tree], code: Int): Val
  96. def genStackalloc(app: G.Apply): Val
  97. def genStaticMember(receiver: G.Tree, sym: G.Symbol)(implicit pos: Position): Val
  98. def genStoreExtern(externTy: Type, sym: G.Symbol, value: Val)(implicit pos: Position): Val
  99. def genStringConcat(leftp: G.Tree, rightp: G.Tree): Val
  100. def genSynchronized(receiverp: G.Tree)(bodyGen: (NirGenPhase.ExprBuffer) => Val)(implicit pos: Position): Val
  101. def genSynchronized(receiverp: G.Tree, bodyp: G.Tree)(implicit pos: Position): Val
  102. def genTailRecLabel(dd: G.DefDef, isStatic: Boolean, label: G.LabelDef): Val
  103. def genThis(tree: G.This): Val
  104. def genThrow(tree: G.Throw): Val
  105. def genTry(retty: Type, expr: G.Tree, catches: List[G.Tree], finallyp: G.Tree): Val
  106. def genTry(tree: G.Try): Val
  107. def genTryCatch(retty: Type, exc: Val, mergen: Local, catches: List[G.Tree])(implicit exprPos: Position): Val
  108. def genTryFinally(finallyp: G.Tree, insts: Seq[Inst]): Seq[Inst]
  109. def genTyped(tree: G.Typed): Val
  110. def genUnaryOp(code: Int, rightp: G.Tree, opty: Type): Val
  111. def genUnsignedOp(app: G.Tree, code: Int): Val
  112. def genValDef(vd: G.ValDef): Val
  113. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  114. def getLinktimeCondition(condp: G.Tree): Option[LinktimeCondition]
  115. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  116. def insert(aggr: Val, value: Val, indexes: Seq[Int], unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  117. def is(ty: Type, obj: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  118. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  119. def jump(to: Local, args: Seq[Val])(implicit pos: Position): Unit
    Definition Classes
    Buffer
  120. def jump(next: Next)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  121. def label(name: Local, params: Seq[Local])(implicit pos: Position): Unit
    Definition Classes
    Buffer
  122. def label(name: Local)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  123. def let(op: Op, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  124. def let(name: Local, op: Op, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  125. def load(ty: Type, ptr: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  126. def method(obj: Val, sig: Sig, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  127. def module(name: Global, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  128. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  129. def negateBits(value: Val)(implicit pos: Position): Val
  130. def negateBool(value: Val)(implicit pos: Position): Val
  131. def negateFloat(value: Val)(implicit pos: Position): Val
  132. def negateInt(value: Val)(implicit pos: Position): Val
  133. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  134. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  135. def numOfType(num: Int, ty: Type): Val
  136. def raise(value: Val, unwind: Next)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  137. def ret(value: Val)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  138. def size: Int
    Definition Classes
    Buffer
  139. def sizeof(ty: Type, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  140. def stackalloc(ty: Type, n: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  141. def store(ty: Type, ptr: Val, value: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  142. def switch(value: Val, default: Next, cases: Seq[Next])(implicit pos: Position): Unit
    Definition Classes
    Buffer
  143. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  144. def toExtern(expectedTy: Type, value: Val)(implicit pos: Position): Val
  145. def toSeq: Seq[Inst]
    Definition Classes
    Buffer
  146. def toString(): String
    Definition Classes
    AnyRef → Any
  147. def unbox(ty: Type, obj: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  148. def unboxValue(st: NirGenPhase.SimpleType, partial: Boolean, value: Val)(implicit pos: Position): Val
  149. def unreachable(unwind: Next)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  150. def var_(ty: Type, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  151. def varload(slot: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  152. def varstore(slot: Val, value: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  153. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  154. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  155. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Buffer

Inherited from AnyRef

Inherited from Any

Ungrouped