vox.ir.ir_constant

Members

Aliases

UnknownValueHandler
alias UnknownValueHandler = void delegate(ubyte[] buffer, IrIndex index, CompilationContext* c)

Stores constant into buffer

Enums

IrConstantKind
enum IrConstantKind
IsSignExtended
enum IsSignExtended
Undocumented in source.
IsSigned
enum IsSigned
Undocumented in source.

Functions

astIndexFromIrValue
AstIndex astIndexFromIrValue(IrVm* vm, IrIndex value, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
constantToMem
void constantToMem(ubyte[] buffer, IrIndex index, CompilationContext* c, UnknownValueHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
irValueToNative
T irValueToNative(IrVm* vm, IrIndex value, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
memToConstant
IrIndex memToConstant(ubyte[] buffer, IrIndex type, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
stringFromIrValue
string stringFromIrValue(IrVm* vm, IrIndex value, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

IrAggregateConstant
struct IrAggregateConstant
Undocumented in source.
IrConstant
struct IrConstant

Stores numeric constant data Type is implicitly the smallest signed int type. TODO more types of constants

IrConstantStorage
struct IrConstantStorage

Unions

IrConstVal
union IrConstVal
Undocumented in source.

Variables

MASK_24_BITS
enum ulong MASK_24_BITS;
Undocumented in source.

Meta

Authors

Andrey Penechko. IR constant