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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from NirGenPhase.FixupBuffer

Inherited from Buffer

Inherited from AnyRef

Inherited from Any

Ungrouped