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. All

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( ... ) @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: Any): 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 fromExtern(expectedTy: Type, value: Val)(implicit pos: Position): Val
  39. def functionMethodSymbols(tree: G.Function): Seq[G.Symbol]
  40. def genApply(app: G.Apply): Val
  41. def genApplyBox(st: NirGenPhase.SimpleType, argp: G.Tree): Val
  42. def genApplyDynamic(sym: G.Symbol, self: Val, argsp: Seq[G.Tree])(implicit pos: Position): Val
  43. def genApplyDynamic(app: G.ApplyDynamic): Val
  44. def genApplyExternAccessor(sym: G.Symbol, argsp: Seq[G.Tree])(implicit pos: Position): Val
  45. def genApplyLabel(tree: G.Tree): Val
  46. def genApplyMethod(sym: G.Symbol, statically: Boolean, self: Val, argsp: Seq[G.Tree])(implicit pos: Position): Val
  47. def genApplyMethod(sym: G.Symbol, statically: Boolean, selfp: G.Tree, argsp: Seq[G.Tree])(implicit pos: Position): Val
  48. def genApplyModuleMethod(module: G.Symbol, method: G.Symbol, args: Seq[G.Tree])(implicit pos: Position): Val
  49. def genApplyNew(clssym: G.Symbol, ctorsym: G.Symbol, args: List[G.Tree])(implicit pos: Position): Val
  50. def genApplyNew(app: G.Apply): Val
  51. def genApplyNewArray(targ: NirGenPhase.SimpleType, argsp: Seq[G.Tree])(implicit pos: Position): Val
  52. def genApplyNewStruct(st: NirGenPhase.SimpleType, argsp: Seq[G.Tree]): Val
  53. def genApplyPrimitive(app: G.Apply): Val
  54. def genApplyTypeApply(app: G.Apply): Val
  55. def genApplyUnbox(st: NirGenPhase.SimpleType, argp: G.Tree)(implicit pos: Position): Val
  56. def genArrayOp(app: G.Apply, code: Int): Val
  57. def genArrayValue(av: G.ArrayValue): Val
  58. def genAssign(tree: G.Assign): Val
  59. def genBinaryOp(op: (Type, Val, Val) ⇒ Op, leftp: G.Tree, rightp: G.Tree, opty: Type): Val
  60. def genBinaryOp(code: Int, left: G.Tree, right: G.Tree, retty: Type)(implicit exprPos: Position): Val
  61. def genBlock(block: G.Block): Val
  62. def genCFuncFromScalaFunction(app: G.Apply): Val
  63. 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
  64. def genCQuoteOp(app: G.Apply): Val
  65. def genCastOp(fromty: Type, toty: Type, value: Val)(implicit pos: Position): Val
  66. def genClassEquality(leftp: G.Tree, rightp: G.Tree, ref: Boolean, negated: Boolean): Val
  67. def genClassFieldRawPtr(app: G.Apply)(implicit pos: Position): Val
  68. def genCoercion(value: Val, fromty: Type, toty: Type)(implicit pos: Position): Val
  69. def genCoercion(app: G.Apply, receiver: G.Tree, code: Int): Val
  70. def genExpr(tree: G.Tree): Val
  71. def genFuncExternForwarder(funcName: Global, treeSym: G.Symbol)(implicit pos: Position): Defn
  72. def genFunction(tree: G.Function): Val
  73. def genHashCode(argp: G.Tree)(implicit pos: Position): Val
  74. def genIdent(tree: G.Ident): Val
  75. def genIf(retty: Type, condp: G.Tree, thenp: G.Tree, elsep: G.Tree, ensureLinktime: Boolean = false)(implicit ifPos: Position): Val
  76. def genIf(tree: G.If): Val
  77. def genLabel(label: G.LabelDef): Val
  78. def genLabelDef(label: G.LabelDef): Val
  79. def genLiteral(lit: G.Literal): Val
  80. def genLiteralValue(lit: G.Literal): Val
  81. def genLoadExtern(ty: Type, externTy: Type, sym: G.Symbol)(implicit pos: Position): Val
  82. def genMatch(prologue: List[G.Tree], lds: List[G.LabelDef]): Val
  83. def genMatch(m: G.Match): Val
  84. def genMethodArgs(sym: G.Symbol, argsp: Seq[G.Tree]): Seq[Val]
  85. def genModule(sym: G.Symbol)(implicit pos: Position): Val
  86. def genRawCastOp(app: G.Apply, code: Int): Val
  87. def genRawPtrElemOp(app: G.Apply, code: Int): Val
  88. def genRawPtrLoadOp(app: G.Apply, code: Int): Val
  89. def genRawPtrOp(app: G.Apply, code: Int): Val
  90. def genRawPtrStoreOp(app: G.Apply, code: Int): Val
  91. def genReturn(value: Val)(implicit pos: Position): Val
  92. def genReturn(tree: G.Return): Val
  93. def genSelect(tree: G.Select): Val
  94. def genSimpleOp(app: G.Apply, args: List[G.Tree], code: Int): Val
  95. def genStackalloc(app: G.Apply): Val
  96. def genStaticMember(receiver: G.Tree, sym: G.Symbol)(implicit pos: Position): Val
  97. def genStoreExtern(externTy: Type, sym: G.Symbol, value: Val)(implicit pos: Position): Val
  98. def genStringConcat(leftp: G.Tree, rightp: G.Tree): Val
  99. def genSynchronized(receiverp: G.Tree)(bodyGen: (NirGenPhase.ExprBuffer) ⇒ Val)(implicit pos: Position): Val
  100. def genSynchronized(receiverp: G.Tree, bodyp: G.Tree)(implicit pos: Position): Val
  101. def genTailRecLabel(dd: G.DefDef, isStatic: Boolean, label: G.LabelDef): Val
  102. def genThis(tree: G.This): Val
  103. def genThrow(tree: G.Throw): Val
  104. def genTry(retty: Type, expr: G.Tree, catches: List[G.Tree], finallyp: G.Tree): Val
  105. def genTry(tree: G.Try): Val
  106. def genTryCatch(retty: Type, exc: Val, mergen: Local, catches: List[G.Tree])(implicit exprPos: Position): Val
  107. def genTryFinally(finallyp: G.Tree, insts: Seq[Inst]): Seq[Inst]
  108. def genTyped(tree: G.Typed): Val
  109. def genUnaryOp(code: Int, rightp: G.Tree, opty: Type): Val
  110. def genUnsignedOp(app: G.Tree, code: Int): Val
  111. def genValDef(vd: G.ValDef): Val
  112. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  113. def getLinktimeCondition(condp: G.Tree): Option[LinktimeCondition]
  114. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  115. def insert(aggr: Val, value: Val, indexes: Seq[Int], unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  116. def is(ty: Type, obj: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  117. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  118. def jump(to: Local, args: Seq[Val])(implicit pos: Position): Unit
    Definition Classes
    Buffer
  119. def jump(next: Next)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  120. def label(name: Local, params: Seq[Local])(implicit pos: Position): Unit
    Definition Classes
    Buffer
  121. def label(name: Local)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  122. def let(op: Op, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  123. def let(name: Local, op: Op, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  124. def load(ty: Type, ptr: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  125. def method(obj: Val, sig: Sig, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  126. def module(name: Global, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  127. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  128. def negateBits(value: Val)(implicit pos: Position): Val
  129. def negateBool(value: Val)(implicit pos: Position): Val
  130. def negateFloat(value: Val)(implicit pos: Position): Val
  131. def negateInt(value: Val)(implicit pos: Position): Val
  132. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  133. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  134. def numOfType(num: Int, ty: Type): Val
  135. def raise(value: Val, unwind: Next)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  136. def ret(value: Val)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  137. def size: Int
    Definition Classes
    Buffer
  138. def sizeof(ty: Type, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  139. def stackalloc(ty: Type, n: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  140. def store(ty: Type, ptr: Val, value: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  141. def switch(value: Val, default: Next, cases: Seq[Next])(implicit pos: Position): Unit
    Definition Classes
    Buffer
  142. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  143. def toExtern(expectedTy: Type, value: Val)(implicit pos: Position): Val
  144. def toSeq: Seq[Inst]
    Definition Classes
    Buffer
  145. def toString(): String
    Definition Classes
    AnyRef → Any
  146. def unbox(ty: Type, obj: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  147. def unboxValue(st: NirGenPhase.SimpleType, partial: Boolean, value: Val)(implicit pos: Position): Val
  148. def unreachable(unwind: Next)(implicit pos: Position): Unit
    Definition Classes
    Buffer
  149. def var_(ty: Type, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  150. def varload(slot: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  151. def varstore(slot: Val, value: Val, unwind: Next)(implicit pos: Position): Val
    Definition Classes
    Buffer
  152. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  153. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  154. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from NirGenPhase.FixupBuffer

Inherited from Buffer

Inherited from AnyRef

Inherited from Any

Ungrouped