scala.scalanative.nir.Val
See theVal companion class
Attributes
Companion
class
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Members list
A homogeneous collection of data members.
A homogeneous collection of data members.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
Attributes
Supertypes
class Object
trait Matchable
class Any
Self type
A 8-bit signed two’s complement integer.
A 8-bit signed two’s complement integer.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
A collection of bytes.
Unlike arrays, byte strings are implicitly null-terminated. Hence, they correspond to C-string literals. For example, ByteString(Array(97)) will be compiled to c"a\0".
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
16-bit unsigned Unicode character
16-bit unsigned Unicode character
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
A reference to java.lang.Class[_] of given symbol name.
A reference to java.lang.Class[_] of given symbol name.
Instances are emitted as global variables during code feneration. They are used to deduplicate Class instances. There should be only 1 instance per type.
Note that, althrough they are currently emitted as global variables, instances of this type could be constants. However, when we added multithreading and object monitors, we needed to edit one of its fields (specifically, lockWord), which contains an ObjectMonitor or a bit set of lock word.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
A constant.
Note that this class does not behave like a literal constant, which are represented by ByteString, Zero, Int, etc. Instead, it represents a pointer to some constant value.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
A 64-bit IEEE 754 double-precision float.
A 64-bit IEEE 754 double-precision float.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
The constant Boolean 'false'.
The constant Boolean 'false'.
Attributes
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
A 32-bit IEEE 754 single-precision float.
A 32-bit IEEE 754 single-precision float.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
A reference to a global variable, constant, or method.
A reference to a global variable, constant, or method.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
A 32-bit signed two’s complement integer.
A 32-bit signed two’s complement integer.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
A 64-bit signed two’s complement integer.
A 64-bit signed two’s complement integer.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
The constant 'null' value.
The constant 'null' value.
Attributes
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
A 16-bit signed two’s complement integer.
A 16-bit signed two’s complement integer.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
A numerical value suitable to represent the size of a container.
A numerical value suitable to represent the size of a container.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
A character string.
Values of this type correspond to instances of java.lang.String and are compiled as global arrays of UTF-16 characters. Use ByteString to represent C-string literals.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
A heterogeneous collection of data members.
A heterogeneous collection of data members.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
The constant Boolean 'true'.
The constant Boolean 'true'.
Attributes
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Attributes
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
A virtual value.
Virtual values only serve as placeholders during optimization. They are not serializable and are never emitted by the compiler plugin.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
The "zero" value of the given NIR type.
The "zero" value of the given NIR type.
Attributes
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
The names of the product elements
The names of the product elements
Attributes
Inherited from:
Mirror
Attributes
Inherited from:
Mirror