scala
.
scalanative
.
nscplugin
.
NirGenExpr
ExprBuffer
Related Doc:
package NirGenExpr
class
ExprBuffer
extends
NirGenPhase.FixupBuffer
Self Type
NirGenPhase.ExprBuffer
Linear Supertypes
NirGenPhase.FixupBuffer
,
Buffer
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
ExprBuffer
FixupBuffer
Buffer
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
ExprBuffer
()
(
implicit
fresh:
Fresh
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
++=
(
other:
Buffer
)
:
Unit
Definition Classes
FixupBuffer
→
Buffer
def
++=
(
insts:
Seq
[
Inst
]
)
:
Unit
Definition Classes
FixupBuffer
→
Buffer
def
+=
(
inst:
Inst
)
:
Unit
Definition Classes
FixupBuffer
→
Buffer
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
as
(
ty:
Type
,
obj:
Val
)
:
Val
Definition Classes
Buffer
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
bin
(
bin:
Bin
,
ty:
Type
,
l:
Val
,
r:
Val
)
:
Val
Definition Classes
Buffer
def
binaryOperationType
(
lty:
Type
,
rty:
Type
)
:
Type
def
box
(
ty:
Type
,
obj:
Val
)
:
Val
Definition Classes
Buffer
def
boxValue
(
st:
NirGenPhase.SimpleType
,
value:
Val
)
:
Val
def
branch
(
value:
Val
,
thenp:
Next
,
elsep:
Next
)
:
Unit
Definition Classes
Buffer
def
call
(
ty:
Type
,
ptr:
Val
,
args:
Seq
[
Val
]
,
unwind:
Next
)
:
Val
Definition Classes
Buffer
def
castConv
(
fromty:
Type
,
toty:
Type
)
:
Option
[
Conv
]
def
classalloc
(
name:
Global
)
:
Val
Definition Classes
Buffer
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
closure
(
ty:
Type
,
fun:
Val
,
captures:
Seq
[
Val
]
)
:
Val
Definition Classes
Buffer
def
coercionTypes
(
code:
Int
)
: (
Type
,
Type
)
def
comp
(
comp:
Comp
,
ty:
Type
,
l:
Val
,
r:
Val
)
:
Val
Definition Classes
Buffer
def
conv
(
conv:
Conv
,
ty:
Type
,
value:
Val
)
:
Val
Definition Classes
Buffer
def
copy
(
value:
Val
)
:
Val
Definition Classes
Buffer
def
dynmethod
(
obj:
Val
,
signature:
String
)
:
Val
Definition Classes
Buffer
def
elem
(
ty:
Type
,
ptr:
Val
,
indexes:
Seq
[
Val
]
)
:
Val
Definition Classes
Buffer
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
extract
(
aggr:
Val
,
indexes:
Seq
[
Int
]
)
:
Val
Definition Classes
Buffer
def
field
(
obj:
Val
,
name:
Global
)
:
Val
Definition Classes
Buffer
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
genApply
(
app:
tools.nsc.Global.Apply
)
:
Val
def
genApplyBox
(
st:
NirGenPhase.SimpleType
,
argp:
tools.nsc.Global.Tree
)
:
Val
def
genApplyDynamic
(
sym:
tools.nsc.Global.Symbol
,
self:
Val
,
argsp:
Seq
[
tools.nsc.Global.Tree
]
)
:
Val
def
genApplyDynamic
(
app:
tools.nsc.Global.ApplyDynamic
)
:
Val
def
genApplyExternAccessor
(
sym:
tools.nsc.Global.Symbol
,
argsp:
Seq
[
tools.nsc.Global.Tree
]
)
:
Val
def
genApplyLabel
(
tree:
tools.nsc.Global.Tree
)
:
Val
def
genApplyMethod
(
sym:
tools.nsc.Global.Symbol
,
statically:
Boolean
,
self:
Val
,
argsp:
Seq
[
tools.nsc.Global.Tree
]
)
:
Val
def
genApplyMethod
(
sym:
tools.nsc.Global.Symbol
,
statically:
Boolean
,
selfp:
tools.nsc.Global.Tree
,
argsp:
Seq
[
tools.nsc.Global.Tree
]
)
:
Val
def
genApplyModuleMethod
(
module:
tools.nsc.Global.Symbol
,
method:
tools.nsc.Global.Symbol
,
args:
Seq
[
tools.nsc.Global.Tree
]
)
:
Val
def
genApplyNew
(
clssym:
tools.nsc.Global.Symbol
,
ctorsym:
tools.nsc.Global.Symbol
,
args:
List
[
tools.nsc.Global.Tree
]
)
:
Val
def
genApplyNew
(
app:
tools.nsc.Global.Apply
)
:
Val
def
genApplyNewArray
(
elemcode:
Char
,
argsp:
Seq
[
tools.nsc.Global.Tree
]
)
:
Val
def
genApplyNewStruct
(
st:
NirGenPhase.SimpleType
,
argsp:
Seq
[
tools.nsc.Global.Tree
]
)
:
Val
def
genApplyPrimitive
(
app:
tools.nsc.Global.Apply
)
:
Val
def
genApplyTypeApply
(
app:
tools.nsc.Global.Apply
)
:
Val
def
genApplyUnbox
(
st:
NirGenPhase.SimpleType
,
argp:
tools.nsc.Global.Tree
)
:
Val
def
genArrayOp
(
app:
tools.nsc.Global.Apply
,
code:
Int
)
:
Val
def
genArrayValue
(
av:
tools.nsc.Global.ArrayValue
)
:
Val
def
genAssign
(
tree:
tools.nsc.Global.Assign
)
:
Val
def
genBinaryOp
(
op: (
Type
,
Val
,
Val
) ⇒
Op
,
leftp:
tools.nsc.Global.Tree
,
rightp:
tools.nsc.Global.Tree
,
opty:
Type
)
:
Val
def
genBinaryOp
(
code:
Int
,
left:
tools.nsc.Global.Tree
,
right:
tools.nsc.Global.Tree
,
retty:
Type
)
:
Val
def
genBlock
(
block:
tools.nsc.Global.Block
)
:
Val
def
genBoxClass
(
typeVal:
Val
)
:
Val
def
genCQuoteOp
(
app:
tools.nsc.Global.Apply
)
:
Val
def
genCastOp
(
app:
tools.nsc.Global.Apply
)
:
Val
def
genClassEquality
(
leftp:
tools.nsc.Global.Tree
,
rightp:
tools.nsc.Global.Tree
,
ref:
Boolean
,
negated:
Boolean
)
:
Val
def
genCoercion
(
value:
Val
,
fromty:
Type
,
toty:
Type
)
:
Val
def
genCoercion
(
app:
tools.nsc.Global.Apply
,
receiver:
tools.nsc.Global.Tree
,
code:
Int
)
:
Val
def
genExpandRepeatedArg
(
argp:
tools.nsc.Global.Tree
)
:
Option
[
Seq
[
Val
]]
def
genExpr
(
tree:
tools.nsc.Global.Tree
)
:
Val
def
genFunPtrOp
(
app:
tools.nsc.Global.Apply
,
code:
Int
)
:
Val
def
genFunction
(
tree:
tools.nsc.Global.Function
)
:
Val
def
genHashCode
(
argp:
tools.nsc.Global.Tree
)
:
Val
def
genIdent
(
tree:
tools.nsc.Global.Ident
)
:
Val
def
genIf
(
retty:
Type
,
condp:
tools.nsc.Global.Tree
,
thenp:
tools.nsc.Global.Tree
,
elsep:
tools.nsc.Global.Tree
)
:
Val
def
genIf
(
tree:
tools.nsc.Global.If
)
:
Val
def
genLabel
(
label:
tools.nsc.Global.LabelDef
)
:
Val
def
genLabelDef
(
label:
tools.nsc.Global.LabelDef
)
:
Val
def
genLiteral
(
lit:
tools.nsc.Global.Literal
)
:
Val
def
genLiteralValue
(
lit:
tools.nsc.Global.Literal
)
:
Val
def
genMatch
(
prologue:
List
[
tools.nsc.Global.Tree
]
,
lds:
List
[
tools.nsc.Global.LabelDef
]
)
:
Val
def
genMatch
(
m:
tools.nsc.Global.Match
)
:
Val
def
genMethodArgs
(
sym:
tools.nsc.Global.Symbol
,
argsp:
Seq
[
tools.nsc.Global.Tree
]
,
argsPt:
Seq
[
Type
]
)
:
Seq
[
Val
]
def
genModule
(
sym:
tools.nsc.Global.Symbol
)
:
Val
def
genOfOp
(
app:
tools.nsc.Global.Apply
,
code:
Int
)
:
Val
def
genPtrOp
(
app:
tools.nsc.Global.Apply
,
code:
Int
)
:
Val
def
genReturn
(
tree:
tools.nsc.Global.Return
)
:
Val
def
genSelect
(
tree:
tools.nsc.Global.Select
)
:
Val
def
genSelectOp
(
app:
tools.nsc.Global.Tree
)
:
Val
def
genSimpleArgs
(
argsp:
Seq
[
tools.nsc.Global.Tree
]
)
:
Seq
[
Val
]
def
genSimpleArgsWithPt
(
argsp:
Seq
[
tools.nsc.Global.Tree
]
,
pts:
Seq
[
Option
[
Type
]]
)
:
Seq
[
Val
]
def
genSimpleOp
(
app:
tools.nsc.Global.Apply
,
args:
List
[
tools.nsc.Global.Tree
]
,
code:
Int
)
:
Val
def
genStackalloc
(
app:
tools.nsc.Global.Apply
)
:
Val
def
genStaticMember
(
sym:
tools.nsc.Global.Symbol
)
:
Val
def
genStringConcat
(
leftp:
tools.nsc.Global.Tree
,
rightp:
tools.nsc.Global.Tree
)
:
Val
def
genSynchronized
(
app:
tools.nsc.Global.Apply
)
:
Val
def
genTailRecLabel
(
dd:
tools.nsc.Global.DefDef
,
isStatic:
Boolean
,
label:
tools.nsc.Global.LabelDef
)
:
Val
def
genThis
(
tree:
tools.nsc.Global.This
)
:
Val
def
genThrow
(
tree:
tools.nsc.Global.Throw
)
:
Val
def
genTry
(
retty:
Type
,
expr:
tools.nsc.Global.Tree
,
catches:
List
[
tools.nsc.Global.Tree
]
,
finallyp:
tools.nsc.Global.Tree
)
:
Val
def
genTry
(
tree:
tools.nsc.Global.Try
)
:
Val
def
genTryCatch
(
retty:
Type
,
exc:
Val
,
mergen:
Local
,
catches:
List
[
tools.nsc.Global.Tree
]
)
:
Val
def
genTryFinally
(
finallyp:
tools.nsc.Global.Tree
,
insts:
Seq
[
Inst
]
)
:
Seq
[
Inst
]
def
genTyped
(
tree:
tools.nsc.Global.Typed
)
:
Val
def
genUnaryOp
(
code:
Int
,
rightp:
tools.nsc.Global.Tree
,
opty:
Type
)
:
Val
def
genUnsignedOp
(
app:
tools.nsc.Global.Tree
,
code:
Int
)
:
Val
def
genValDef
(
vd:
tools.nsc.Global.ValDef
)
:
Val
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
insert
(
aggr:
Val
,
value:
Val
,
indexes:
Seq
[
Int
]
)
:
Val
Definition Classes
Buffer
def
is
(
ty:
Type
,
obj:
Val
)
:
Val
Definition Classes
Buffer
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
lazy val
jlClass
:
Class
lazy val
jlClassCtor
:
Global
lazy val
jlClassCtorName
:
Member
lazy val
jlClassCtorSig
:
nir.Type.Function
lazy val
jlClassName
:
Top
def
jump
(
to:
Local
,
args:
Seq
[
Val
]
)
:
Unit
Definition Classes
Buffer
def
jump
(
next:
Next
)
:
Unit
Definition Classes
Buffer
def
label
(
name:
Local
,
params:
Seq
[
Local
]
)
:
Unit
Definition Classes
Buffer
def
label
(
name:
Local
)
:
Unit
Definition Classes
Buffer
def
let
(
op:
Op
)
:
Val
Definition Classes
Buffer
def
let
(
name:
Local
,
op:
Op
)
:
Val
Definition Classes
Buffer
def
load
(
ty:
Type
,
ptr:
Val
,
isVolatile:
Boolean
=
false
)
:
Val
Definition Classes
Buffer
def
method
(
obj:
Val
,
name:
Global
)
:
Val
Definition Classes
Buffer
def
module
(
name:
Global
,
unwind:
Next
)
:
Val
Definition Classes
Buffer
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
negateBits
(
value:
Val
)
:
Val
def
negateBool
(
value:
Val
)
:
Val
def
negateFloat
(
value:
Val
)
:
Val
def
negateInt
(
value:
Val
)
:
Val
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
numOfType
(
num:
Int
,
ty:
Type
)
:
Val
def
raise
(
value:
Val
,
unwind:
Next
)
:
Unit
Definition Classes
Buffer
def
ret
(
value:
Val
)
:
Unit
Definition Classes
Buffer
def
select
(
cond:
Val
,
thenv:
Val
,
elsev:
Val
)
:
Val
Definition Classes
Buffer
def
sizeof
(
ty:
Type
)
:
Val
Definition Classes
Buffer
def
stackalloc
(
ty:
Type
,
n:
Val
)
:
Val
Definition Classes
Buffer
def
store
(
ty:
Type
,
ptr:
Val
,
value:
Val
,
isVolatile:
Boolean
=
false
)
:
Val
Definition Classes
Buffer
def
switch
(
value:
Val
,
default:
Next
,
cases:
Seq
[
Next
]
)
:
Unit
Definition Classes
Buffer
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toSeq
:
Seq
[
Inst
]
Definition Classes
Buffer
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
unbox
(
ty:
Type
,
obj:
Val
)
:
Val
Definition Classes
Buffer
def
unboxValue
(
st:
NirGenPhase.SimpleType
,
partial:
Boolean
,
value:
Val
)
:
Val
def
unreachable
:
Unit
Definition Classes
Buffer
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
NirGenPhase.FixupBuffer
Inherited from
Buffer
Inherited from
AnyRef
Inherited from
Any
Ungrouped