‘runtime’ Dialect

Typed compiler boundary for the Talos runtime C ABI

runtime preserves runtime concepts and ownership until the final native-call or bytecode encoding step. Its operations mirror the Runtime.h schema from the same build; C out-parameters are represented as additional SSA results. Cross-revision compatibility is deliberately unsupported.

Operations

runtime.argument.array (::talos::runtime::RTArgumentArrayOp)

Syntax:

operation ::= `runtime.argument.array` `(` $arguments `)` attr-dict

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

arguments

variadic of

Results:

Result

Description

result

runtime.argument.bytes (::talos::runtime::RTArgumentBytesOp)

Syntax:

operation ::= `runtime.argument.bytes` operands attr-dict `:` functional-type(operands, results)

Traits: AlwaysSpeculatableImplTrait

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Attributes:

AttributeMLIR TypeDescription
is_format_string::mlir::BoolAttrbool attribute
designated_format::mlir::BoolAttrbool attribute

Operands:

Operand

Description

value

Results:

Result

Description

result

runtime.argument.empty (::talos::runtime::RTArgumentEmptyOp)

Syntax:

operation ::= `runtime.argument.empty` attr-dict

Traits: AlwaysSpeculatableImplTrait

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Results:

Result

Description

result

runtime.argument.enum (::talos::runtime::RTArgumentEnumOp)

Syntax:

operation ::= `runtime.argument.enum` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Attributes:

AttributeMLIR TypeDescription
is_signed::mlir::BoolAttrbool attribute

Operands:

Operand

Description

value

integer

unknown

integer

name

64-bit signless integer

Results:

Result

Description

result

runtime.argument.managed_container (::talos::runtime::RTArgumentManagedContainerOp)

Syntax:

operation ::= `runtime.argument.managed_container` $value attr-dict

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

value

64-bit signless integer

Results:

Result

Description

result

runtime.argument.managed_object (::talos::runtime::RTArgumentManagedObjectOp)

Syntax:

operation ::= `runtime.argument.managed_object` $value attr-dict

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

value

64-bit signless integer

Results:

Result

Description

result

runtime.argument.managed_string (::talos::runtime::RTArgumentManagedStringOp)

Syntax:

operation ::= `runtime.argument.managed_string` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Attributes:

AttributeMLIR TypeDescription
is_format_string::mlir::BoolAttrbool attribute
designated_format::mlir::BoolAttrbool attribute

Operands:

Operand

Description

value

64-bit signless integer

Results:

Result

Description

result

runtime.argument.net (::talos::runtime::RTArgumentNetOp)

Syntax:

operation ::= `runtime.argument.net` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Attributes:

AttributeMLIR TypeDescription
is_signed::mlir::BoolAttrbool attribute

Operands:

Operand

Description

value

integer

unknown

integer

handle

64-bit signless integer

Results:

Result

Description

result

runtime.argument.packed (::talos::runtime::RTArgumentPackedOp)

Syntax:

operation ::= `runtime.argument.packed` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Attributes:

AttributeMLIR TypeDescription
is_signed::mlir::BoolAttrbool attribute

Operands:

Operand

Description

value

integer

unknown

integer

Results:

Result

Description

result

runtime.argument.process (::talos::runtime::RTArgumentProcessOp)

Syntax:

operation ::= `runtime.argument.process` $value attr-dict

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

value

64-bit signless integer

Results:

Result

Description

result

runtime.argument.raw_aggregate (::talos::runtime::RTArgumentRawAggregateOp)

Syntax:

operation ::= `runtime.argument.raw_aggregate` $pattern `,` $two_state `,` $four_state attr-dict

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

pattern

64-bit signless integer

two_state

64-bit signless integer

four_state

64-bit signless integer

Results:

Result

Description

result

runtime.argument.real (::talos::runtime::RTArgumentRealOp)

Syntax:

operation ::= `runtime.argument.real` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Attributes:

AttributeMLIR TypeDescription
is_time::mlir::BoolAttrbool attribute

Operands:

Operand

Description

value

64-bit float

Results:

Result

Description

result

runtime.argument.virtual_interface (::talos::runtime::RTArgumentVirtualInterfaceOp)

Syntax:

operation ::= `runtime.argument.virtual_interface` $value attr-dict

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

value

64-bit signless integer

Results:

Result

Description

result

runtime.buffer.release (::talos::runtime::RTBufferReleaseOp)

Syntax:

operation ::= `runtime.buffer.release` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Free on ::talos::runtime::RuntimeResource, MemoryEffects::Free on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

buffer

runtime.bytecode.execute_bounded (::talos::runtime::RTBytecodeExecuteBoundedOp)

Syntax:

operation ::= `runtime.bytecode.execute_bounded` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource, MemoryEffects::Write on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

descriptor

typed reference to an in-tree runtime ABI object

context

typed reference to an in-tree runtime ABI object

frame

continuation

32-bit signless integer

instruction_limit

64-bit signless integer

Results:

Result

Description

status

action

runtime.bytes.constant (::talos::runtime::RTBytesConstantOp)

Syntax:

operation ::= `runtime.bytes.constant` $value attr-dict

Traits: AlwaysSpeculatableImplTrait, ConstantLike

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Attributes:

AttributeMLIR TypeDescription
value::mlir::StringAttrstring attribute

Results:

Result

Description

result

runtime.bytes.scratch (::talos::runtime::RTScratchOp)

Syntax:

operation ::= `runtime.bytes.scratch` $size attr-dict

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Attributes:

AttributeMLIR TypeDescription
size::mlir::IntegerAttr64-bit signless integer attribute

Results:

Result

Description

result

runtime.bytes.size (::talos::runtime::RTBytesSizeOp)

Syntax:

operation ::= `runtime.bytes.size` $bytes attr-dict `:` type($bytes)

Traits: AlwaysSpeculatableImplTrait

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand

Description

bytes

any type

Results:

Result

Description

size

64-bit signless integer

runtime.bytes.to_packed (::talos::runtime::RTPackedFromBytesOp)

Syntax:

operation ::= `runtime.bytes.to_packed` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::mlir::SideEffects::DefaultResource}

Attributes:

AttributeMLIR TypeDescription
high_alignment::mlir::BoolAttrbool attribute
least_significant_byte_first::mlir::BoolAttrbool attribute

Operands:

Operand

Description

bytes

any type

count

64-bit signless integer

Results:

Result

Description

result

integer

runtime.context.create (::talos::runtime::RTContextCreateOp)

Syntax:

operation ::= `runtime.context.create` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::talos::runtime::RuntimeResource}

Results:

Result

Description

status

context

typed reference to an in-tree runtime ABI object

runtime.context.destroy (::talos::runtime::RTContextDestroyOp)

Syntax:

operation ::= `runtime.context.destroy` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Free on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

runtime.display (::talos::runtime::RTDisplayOp)

Syntax:

operation ::= `runtime.display` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource}

Attributes:

AttributeMLIR TypeDescription
default_radix::talos::runtime::RadixAttrdefault display radix

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

append_newline

1-bit signless integer

items

environment

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

runtime.dump.all (::talos::runtime::RTDumpAllOp)

Syntax:

operation ::= `runtime.dump.all` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

runtime.dump.control (::talos::runtime::RTDumpControlOp)

Syntax:

operation ::= `runtime.dump.control` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

enabled

32-bit signless integer

Results:

Result

Description

status

runtime.dump.flush (::talos::runtime::RTDumpFlushOp)

Syntax:

operation ::= `runtime.dump.flush` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

runtime.dump.limit (::talos::runtime::RTDumpLimitOp)

Syntax:

operation ::= `runtime.dump.limit` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Write on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

bytes

64-bit signless integer

Results:

Result

Description

status

runtime.dump.open (::talos::runtime::RTDumpOpenOp)

Syntax:

operation ::= `runtime.dump.open` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

path

Results:

Result

Description

status

runtime.dump.timescale (::talos::runtime::RTDumpTimescaleOp)

Syntax:

operation ::= `runtime.dump.timescale` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Write on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

exponent

32-bit signless integer

Results:

Result

Description

status

runtime.dump.vars (::talos::runtime::RTDumpVarsOp)

Syntax:

operation ::= `runtime.dump.vars` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

levels

64-bit signless integer

scope

Results:

Result

Description

status

runtime.error (::talos::runtime::RTErrorOp)

Syntax:

operation ::= `runtime.error` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

runtime.fatal (::talos::runtime::RTFatalOp)

Syntax:

operation ::= `runtime.fatal` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

verbosity

32-bit signless integer

Results:

Result

Description

status

runtime.file.close (::talos::runtime::RTFileCloseOp)

Syntax:

operation ::= `runtime.file.close` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

Results:

Result

Description

status

runtime.file.eof (::talos::runtime::RTFileEofOp)

Syntax:

operation ::= `runtime.file.eof` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

Results:

Result

Description

status

is_eof

32-bit signless integer

runtime.file.error (::talos::runtime::RTFileErrorOp)

Syntax:

operation ::= `runtime.file.error` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource, MemoryEffects::Allocate on ::talos::runtime::RuntimeResource, MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

Results:

Result

Description

status

error_code

32-bit signless integer

message

runtime.file.flush (::talos::runtime::RTFileFlushOp)

Syntax:

operation ::= `runtime.file.flush` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

Results:

Result

Description

status

runtime.file.getc (::talos::runtime::RTFileGetcOp)

Syntax:

operation ::= `runtime.file.getc` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

Results:

Result

Description

status

byte

8-bit signless integer

runtime.file.getline (::talos::runtime::RTFileGetlineOp)

Syntax:

operation ::= `runtime.file.getline` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Allocate on ::talos::runtime::RuntimeResource, MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

max_bytes

64-bit signless integer

Results:

Result

Description

status

line

runtime.file.open (::talos::runtime::RTFileOpenOp)

Syntax:

operation ::= `runtime.file.open` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

path

mode

Results:

Result

Description

status

descriptor

runtime.file.open_mcd (::talos::runtime::RTFileOpenMCDOp)

Syntax:

operation ::= `runtime.file.open_mcd` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

path

Results:

Result

Description

status

descriptor

runtime.file.read (::talos::runtime::RTFileReadOp)

Syntax:

operation ::= `runtime.file.read` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Write on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

data

Results:

Result

Description

status

read

64-bit signless integer

runtime.file.readmem_token (::talos::runtime::RTFileReadMemTokenOp)

Read one IEEE $readmem token from a file

Syntax:

operation ::= `runtime.file.readmem_token` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Write on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

radix

32-bit signless integer

bitWidth

64-bit signless integer

value

unknown

Results:

Result

Description

status

kind

32-bit signless integer

address

64-bit signless integer

runtime.file.rewind (::talos::runtime::RTFileRewindOp)

Syntax:

operation ::= `runtime.file.rewind` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

Results:

Result

Description

status

runtime.file.seek (::talos::runtime::RTFileSeekOp)

Syntax:

operation ::= `runtime.file.seek` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

offset

64-bit signless integer

origin

32-bit signless integer

Results:

Result

Description

status

runtime.file.tell (::talos::runtime::RTFileTellOp)

Syntax:

operation ::= `runtime.file.tell` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

Results:

Result

Description

status

offset

64-bit signless integer

runtime.file.ungetc (::talos::runtime::RTFileUngetcOp)

Syntax:

operation ::= `runtime.file.ungetc` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

byte

8-bit signless integer

Results:

Result

Description

status

runtime.file.write (::talos::runtime::RTFileWriteOp)

Syntax:

operation ::= `runtime.file.write` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

descriptor

data

Results:

Result

Description

status

written

64-bit signless integer

runtime.file_descriptor.from_bits (::talos::runtime::RTFileDescriptorFromBitsOp)

Syntax:

operation ::= `runtime.file_descriptor.from_bits` $value attr-dict

Traits: AlwaysSpeculatableImplTrait

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand

Description

value

32-bit signless integer

Results:

Result

Description

result

runtime.file_descriptor.to_bits (::talos::runtime::RTFileDescriptorToBitsOp)

Syntax:

operation ::= `runtime.file_descriptor.to_bits` $value attr-dict

Traits: AlwaysSpeculatableImplTrait

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand

Description

value

Results:

Result

Description

result

32-bit signless integer

runtime.finish (::talos::runtime::RTFinishOp)

Syntax:

operation ::= `runtime.finish` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

verbosity

32-bit signless integer

Results:

Result

Description

status

runtime.format (::talos::runtime::RTFormatOp)

Syntax:

operation ::= `runtime.format` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Allocate on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource, MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

format

arguments

environment

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

buffer

runtime.format.environment (::talos::runtime::RTFormatEnvironmentOp)

Syntax:

operation ::= `runtime.format.environment` attr-dict

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Attributes:

AttributeMLIR TypeDescription
scope::mlir::StringAttrstring attribute
library_cell::mlir::StringAttrstring attribute
time_width::mlir::IntegerAttr32-bit signless integer attribute
time_precision::mlir::IntegerAttr32-bit signless integer attribute
time_suffix::mlir::StringAttrstring attribute
time_multiplier::mlir::IntegerAttr64-bit signless integer attribute

Results:

Result

Description

result

typed reference to an in-tree runtime ABI object

runtime.fragment.execute (::talos::runtime::RTFragmentExecuteOp)

Syntax:

operation ::= `runtime.fragment.execute` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource, MemoryEffects::Write on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

descriptor

typed reference to an in-tree runtime ABI object

context

typed reference to an in-tree runtime ABI object

frame

continuation

32-bit signless integer

Results:

Result

Description

status

action

runtime.gc.collect (::talos::runtime::RTGCCollectOp)

Syntax:

operation ::= `runtime.gc.collect` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::mlir::SideEffects::DefaultResource, MemoryEffects::Write on ::mlir::SideEffects::DefaultResource, MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

runtime.last_error (::talos::runtime::RTLastErrorOp)

Syntax:

operation ::= `runtime.last_error` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Allocate on ::talos::runtime::RuntimeResource, MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

message

runtime.process.instance.create (::talos::runtime::RTProcessInstanceCreateOp)

Syntax:

operation ::= `runtime.process.instance.create` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::mlir::SideEffects::DefaultResource, MemoryEffects::Allocate on ::talos::runtime::RuntimeResource, MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

descriptor

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

instance

typed reference to an in-tree runtime ABI object

runtime.process.instance.destroy (::talos::runtime::RTProcessInstanceDestroyOp)

Syntax:

operation ::= `runtime.process.instance.destroy` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Free on ::talos::runtime::RuntimeResource, MemoryEffects::Free on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

instance

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

runtime.process.instance.execute (::talos::runtime::RTProcessInstanceExecuteOp)

Syntax:

operation ::= `runtime.process.instance.execute` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource, MemoryEffects::Write on ::talos::runtime::IOResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource, MemoryEffects::Write on ::mlir::SideEffects::DefaultResource}

Operands:

Operand

Description

instance

typed reference to an in-tree runtime ABI object

context

typed reference to an in-tree runtime ABI object

requested_tier

32-bit signless integer

Results:

Result

Description

status

action

runtime.process.instance.frame (::talos::runtime::RTProcessInstanceFrameOp)

Syntax:

operation ::= `runtime.process.instance.frame` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

instance

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

frame

runtime.program.exit (::talos::runtime::RTProgramExitOp)

Syntax:

operation ::= `runtime.program.exit` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

runtime.program.owned (::talos::runtime::RTProgramOwnedOp)

Syntax:

operation ::= `runtime.program.owned` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

result

1-bit signless integer

runtime.publication.batch_begin (::talos::runtime::RTPublicationBatchBeginOp)

Syntax:

operation ::= `runtime.publication.batch_begin` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::mlir::SideEffects::DefaultResource, MemoryEffects::Write on ::mlir::SideEffects::DefaultResource, MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

runtime.publication.batch_end (::talos::runtime::RTPublicationBatchEndOp)

Syntax:

operation ::= `runtime.publication.batch_end` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::mlir::SideEffects::DefaultResource, MemoryEffects::Write on ::mlir::SideEffects::DefaultResource, MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::talos::runtime::IOResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

runtime.scheduler.time (::talos::runtime::RTSchedulerTimeOp)

Syntax:

operation ::= `runtime.scheduler.time` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

result

64-bit signless integer

runtime.status.from_bits (::talos::runtime::RTStatusFromBitsOp)

Syntax:

operation ::= `runtime.status.from_bits` $value attr-dict

Traits: AlwaysSpeculatableImplTrait

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand

Description

value

32-bit signless integer

Results:

Result

Description

result

runtime.status.is (::talos::runtime::RTStatusIsOp)

Syntax:

operation ::= `runtime.status.is` $status `,` $value attr-dict

Traits: AlwaysSpeculatableImplTrait

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Attributes:

AttributeMLIR TypeDescription
value::talos::runtime::StatusCodeAttrruntime status code

Operands:

Operand

Description

status

Results:

Result

Description

result

1-bit signless integer

runtime.status.string (::talos::runtime::RTStatusStringOp)

Syntax:

operation ::= `runtime.status.string` operands attr-dict `:` functional-type(operands, results)

Traits: AlwaysSpeculatableImplTrait

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand

Description

status

Results:

Result

Description

string

typed reference to an in-tree runtime ABI object

runtime.status.to_bits (::talos::runtime::RTStatusToBitsOp)

Syntax:

operation ::= `runtime.status.to_bits` $value attr-dict

Traits: AlwaysSpeculatableImplTrait

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand

Description

value

Results:

Result

Description

result

32-bit signless integer

runtime.stop (::talos::runtime::RTStopOp)

Syntax:

operation ::= `runtime.stop` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

verbosity

32-bit signless integer

Results:

Result

Description

status

runtime.string_output_format (::talos::runtime::RTStringOutputFormatOp)

Syntax:

operation ::= `runtime.string_output_format` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Allocate on ::talos::runtime::RuntimeResource, MemoryEffects::Read on ::mlir::SideEffects::DefaultResource, MemoryEffects::Allocate on ::mlir::SideEffects::DefaultResource}

Attributes:

AttributeMLIR TypeDescription
default_radix::talos::runtime::RadixAttrdefault display radix

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

items

environment

typed reference to an in-tree runtime ABI object

Results:

Result

Description

status

string

any type

runtime.termination.requested (::talos::runtime::RTTerminationRequestedOp)

Syntax:

operation ::= `runtime.termination.requested` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

Results:

Result

Description

result

1-bit signless integer

runtime.time.format (::talos::runtime::RTTimeFormatOp)

Syntax:

operation ::= `runtime.time.format` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::RuntimeResource, MemoryEffects::Write on ::talos::runtime::IOResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

units

32-bit signless integer

fraction_digits

32-bit signless integer

suffix

width

32-bit signless integer

Results:

Result

Description

status

runtime.time.scan_scale (::talos::runtime::RTTimeScanScaleOp)

Syntax:

operation ::= `runtime.time.scan_scale` operands attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{MemoryEffects::Read on ::talos::runtime::RuntimeResource}

Operands:

Operand

Description

context

typed reference to an in-tree runtime ABI object

input

64-bit float

time_multiplier

64-bit signless integer

time_precision

32-bit signless integer

Results:

Result

Description

result

64-bit float

Attributes

ActionKindAttr

Fragment action kind

Syntax:

#runtime.action_kind<
  ::talos::runtime::ActionKind   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::ActionKind

an enum of type ActionKind

ArgumentFlagsAttr

Runtime argument flags

Syntax:

#runtime.argument_flags<
  ::talos::runtime::ArgumentFlags   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::ArgumentFlags

an enum of type ArgumentFlags

ArgumentKindAttr

Runtime argument kind

Syntax:

#runtime.argument_kind<
  ::talos::runtime::ArgumentKind   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::ArgumentKind

an enum of type ArgumentKind

BytecodeOpcodeAttr

Bytecode opcode

Syntax:

#runtime.bytecode_opcode<
  ::talos::runtime::BytecodeOpcode   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::BytecodeOpcode

an enum of type BytecodeOpcode

BytecodeOperandDirectionAttr

Bytecode service operand direction

Syntax:

#runtime.bytecode_operand_direction<
  ::talos::runtime::BytecodeOperandDirection   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::BytecodeOperandDirection

an enum of type BytecodeOperandDirection

BytecodeOperandKindAttr

Bytecode service operand location

Syntax:

#runtime.bytecode_operand_kind<
  ::talos::runtime::BytecodeOperandKind   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::BytecodeOperandKind

an enum of type BytecodeOperandKind

BytecodeServiceAttr

Bytecode runtime service

Syntax:

#runtime.bytecode_service<
  ::talos::runtime::BytecodeService   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::BytecodeService

an enum of type BytecodeService

BytecodeServiceValueKindAttr

Bytecode service value kind

Syntax:

#runtime.bytecode_service_value_kind<
  ::talos::runtime::BytecodeServiceValueKind   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::BytecodeServiceValueKind

an enum of type BytecodeServiceValueKind

BytecodeValueKindAttr

Bytecode register type

Syntax:

#runtime.bytecode_value_kind<
  ::talos::runtime::BytecodeValueKind   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::BytecodeValueKind

an enum of type BytecodeValueKind

CodeKindAttr

Fragment code representation

Syntax:

#runtime.code_kind<
  ::talos::runtime::CodeKind   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::CodeKind

an enum of type CodeKind

DescriptorKindAttr

Runtime descriptor kind

Syntax:

#runtime.descriptor_kind<
  ::talos::runtime::DescriptorKind   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::DescriptorKind

an enum of type DescriptorKind

ExecutionFlagsAttr

Execution descriptor capabilities

Syntax:

#runtime.execution_flags<
  ::talos::runtime::ExecutionFlags   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::ExecutionFlags

an enum of type ExecutionFlags

FeaturesAttr

Optional runtime libraries

Syntax:

#runtime.features<
  ::talos::runtime::Features   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::Features

an enum of type Features

RadixAttr

Default display radix

Syntax:

#runtime.radix<
  ::talos::runtime::Radix   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::Radix

an enum of type Radix

SeekOriginAttr

File seek origin

Syntax:

#runtime.seek_origin<
  ::talos::runtime::SeekOrigin   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::SeekOrigin

an enum of type SeekOrigin

StatusCodeAttr

Runtime status code

Syntax:

#runtime.status_code<
  ::talos::runtime::StatusCode   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::StatusCode

an enum of type StatusCode

SuspensionKindAttr

Fragment suspension kind

Syntax:

#runtime.suspension_kind<
  ::talos::runtime::SuspensionKind   # value
>

Parameters:

Parameter

C++ type

Description

value

::talos::runtime::SuspensionKind

an enum of type SuspensionKind

Types

ArgumentArrayType

Syntax: !runtime.args

ArgumentType

Syntax: !runtime.arg

BufferType

Syntax: !runtime.buffer

ByteSpanType

Syntax: !runtime.bytes

BytecodeEntryType

Syntax: !runtime.bytecode_entry

BytecodeOpcodeType

Syntax: !runtime.opcode

BytecodeOperandDirectionType

Syntax: !runtime.bytecode_operand_direction

BytecodeOperandKindType

Syntax: !runtime.bytecode_operand_kind

BytecodeOperandType

Syntax: !runtime.bytecode_operand

BytecodeProgramType

Typed reference to an in-tree runtime ABI object

Syntax: !runtime.bytecode

This is a compiler-visible reference type, not an inline copy of the named C record. Runtime-to-LLVM lowering maps it to the target-layout pointer type; construction of immutable referenced records is handled by later global/materialization operations.

BytecodeServiceSiteType

Syntax: !runtime.bytecode_service_site

BytecodeServiceType

Syntax: !runtime.bytecode_service

BytecodeServiceValueType

Syntax: !runtime.bytecode_service_value

BytecodeValidationType

Syntax: !runtime.bytecode_validation

BytecodeValueType

Syntax: !runtime.bytecode_type

CStringType

Typed reference to an in-tree runtime ABI object

Syntax: !runtime.cstring

This is a compiler-visible reference type, not an inline copy of the named C record. Runtime-to-LLVM lowering maps it to the target-layout pointer type; construction of immutable referenced records is handled by later global/materialization operations.

ContextType

Typed reference to an in-tree runtime ABI object

Syntax: !runtime.context

This is a compiler-visible reference type, not an inline copy of the named C record. Runtime-to-LLVM lowering maps it to the target-layout pointer type; construction of immutable referenced records is handled by later global/materialization operations.

FileDescriptorType

Syntax: !runtime.fd

FormatEnvironmentType

Typed reference to an in-tree runtime ABI object

Syntax: !runtime.format_env

This is a compiler-visible reference type, not an inline copy of the named C record. Runtime-to-LLVM lowering maps it to the target-layout pointer type; construction of immutable referenced records is handled by later global/materialization operations.

FragmentActionType

Syntax: !runtime.action

FragmentDescriptorType

Typed reference to an in-tree runtime ABI object

Syntax: !runtime.fragment

This is a compiler-visible reference type, not an inline copy of the named C record. Runtime-to-LLVM lowering maps it to the target-layout pointer type; construction of immutable referenced records is handled by later global/materialization operations.

HandleType

Syntax: !runtime.handle

MutableByteSpanType

Syntax: !runtime.mut_bytes

ProcessDescriptorType

Typed reference to an in-tree runtime ABI object

Syntax: !runtime.process_descriptor

This is a compiler-visible reference type, not an inline copy of the named C record. Runtime-to-LLVM lowering maps it to the target-layout pointer type; construction of immutable referenced records is handled by later global/materialization operations.

ProcessInstanceType

Typed reference to an in-tree runtime ABI object

Syntax: !runtime.process_instance

This is a compiler-visible reference type, not an inline copy of the named C record. Runtime-to-LLVM lowering maps it to the target-layout pointer type; construction of immutable referenced records is handled by later global/materialization operations.

StatusType

Syntax: !runtime.status

Enums

ActionKind

Fragment action kind

Cases:

Symbol

Value

String

Continue

0

continue

Suspend

1

suspend

Terminate

2

terminate

ArgumentFlags

Runtime argument flags

Cases:

Symbol

Value

String

None

0

None

Signed

1

signed

FormatString

2

format_string

DesignatedFormat

4

designated_format

RealTime

8

real_time

ArgumentKind

Runtime argument kind

Cases:

Symbol

Value

String

Empty

0

empty

Logic

1

logic

String

2

string

Real

3

real

Time

4

time

ManagedString

5

managed_string

ManagedContainer

6

managed_container

ManagedObject

7

managed_object

VirtualInterface

8

virtual_interface

Process

9

process

Enum

10

enum

Net

11

net

RawAggregate

12

raw_aggregate

BytecodeOpcode

Bytecode opcode

Cases:

Symbol

Value

String

Nop

0

nop

Const

1

const

Move

2

move

Add

3

add

Sub

4

sub

Mul

5

mul

And

6

and

Or

7

or

Xor

8

xor

Not

9

not

Eq

10

eq

Ult

11

ult

Slt

12

slt

LoadFrame

13

load_frame

StoreFrame

14

store_frame

Jump

15

jump

BranchZero

16

branch_zero

Continue

17

continue

Suspend

18

suspend

Terminate

19

terminate

CallService

20

call_service

Fail

21

fail

BytecodeOperandDirection

Bytecode service operand direction

Cases:

Symbol

Value

String

Input

0

input

Output

1

output

InOut

2

inout

BytecodeOperandKind

Bytecode service operand location

Cases:

Symbol

Value

String

Immediate

0

immediate

Register

1

register

Frame

2

frame

Constant

3

constant

Resource

4

resource

BytecodeService

Bytecode runtime service

Cases:

Symbol

Value

String

Format

1

format

Display

2

display

BufferRelease

3

buffer_release

FileOpenMCD

10

file_open_mcd

FileOpen

11

file_open

FileClose

12

file_close

FileFlush

13

file_flush

FileWrite

14

file_write

FileRead

15

file_read

FileGetc

16

file_getc

FileUngetc

17

file_ungetc

FileGetline

18

file_getline

FileEof

19

file_eof

FileError

20

file_error

FileSeek

21

file_seek

FileTell

22

file_tell

FileRewind

23

file_rewind

BytecodeServiceValueKind

Bytecode service value kind

Cases:

Symbol

Value

String

None

0

none

U8

1

u8

U32

2

u32

I32

3

i32

U64

4

u64

I64

5

i64

Bytes

6

bytes

MutableBytes

7

mutable_bytes

ArgumentArray

8

argument_array

FormatEnvironment

9

format_environment

Buffer

10

buffer

ArgumentEmpty

11

argument_empty

ArgumentLogic

12

argument_logic

ArgumentString

13

argument_string

ArgumentReal

14

argument_real

ArgumentTime

15

argument_time

BytecodeValueKind

Bytecode register type

Cases:

Symbol

Value

String

None

0

none

U64

1

u64

I64

2

i64

Bool

3

bool

Status

4

status

Resource

5

resource

CodeKind

Fragment code representation

Cases:

Symbol

Value

String

Native

0

native

Bytecode

1

bytecode

DescriptorKind

Runtime descriptor kind

Cases:

Symbol

Value

String

Invalid

0

invalid

Scope

1

scope

Storage

2

storage

Net

3

net

Driver

4

driver

Event

5

event

Process

6

process

Fragment

7

fragment

Function

8

function

ExecutionFlags

Execution descriptor capabilities

Cases:

Symbol

Value

String

None

0

none

HasBytecode

1

has_bytecode

HasDesignDatabase

2

has_design_database

VPIRead

4

vpi_read

VPIWrite

8

vpi_write

RequireBytecode

16

require_bytecode

PreponedSnapshot

32

preponed_snapshot

WaveformMetadata

64

waveform_metadata

DPIExports

128

dpi_exports

ClassBitstream

256

class_bitstream

CoverageSchema

512

coverage_schema

PolledCollection

1024

polled_collection

TwoState

2048

two_state

Features

Optional runtime libraries

Cases:

Symbol

Value

String

None

0

none

DynamicScan

1

dynamic_scan

ContainerBitstream

2

container_bitstream

RecursiveBitstream

4

recursive_bitstream

ClassBitstream

8

class_bitstream

ClassBitstreamBytecode

16

class_bitstream_bytecode

DPIExportBytecode

32

dpi_export_bytecode

DPIImportBytecode

64

dpi_import_bytecode

Radix

Default display radix

Cases:

Symbol

Value

String

Binary

2

binary

Octal

8

octal

Decimal

10

decimal

Hex

16

hex

SeekOrigin

File seek origin

Cases:

Symbol

Value

String

Set

0

set

Current

1

current

End

2

end

StatusCode

Runtime status code

Cases:

Symbol

Value

String

Ok

0

ok

Eof

1

eof

InvalidArgument

2

invalid_argument

InvalidHandle

3

invalid_handle

IoError

4

io_error

OutOfMemory

5

out_of_memory

OutOfResources

6

out_of_resources

FormatError

7

format_error

ArgumentMismatch

8

argument_mismatch

InvalidBytecode

9

invalid_bytecode

StepLimit

10

step_limit

LayoutMismatch

11

layout_mismatch

InvalidContinuation

12

invalid_continuation

TierUnavailable

13

tier_unavailable

InvalidLifecycle

14

invalid_lifecycle

InvalidFrame

15

invalid_frame

InvalidDesign

16

invalid_design

PermissionDenied

17

permission_denied

DpiDisableUnsupported

18

dpi_disable_unsupported

Fatal

19

fatal

AotCheckpoint

20

aot_checkpoint

AotTimedCheckpoint

21

aot_timed_checkpoint

AotGeneratedCheckpoint

22

aot_generated_checkpoint

SuspensionKind

Fragment suspension kind

Cases:

Symbol

Value

String

None

0

none

Delay

1

delay

Change

2

change

Edge

3

edge

Event

4

event

Await

5

await

Join

6

join

Forever

7

forever

Frontier

8

frontier

EventOrder

13

event_order