README

Milky2018/milkir_machv/adapter does not have a README file

#
InstructionContext

type InstructionContext

Safe semantic-construction seam used by MilkIR dialect adapters.

The context exposes only verified operands, explicit environment values, target-neutral MachV construction, and structured control-flow builders. It does not expose mutable MachV storage, target instructions, or ABI details.

#
InstructionContext::block_parameters

#
InstructionContext::branch

#
InstructionContext::create_block

#
InstructionContext::create_stack_object

fn InstructionContext::create_stack_object(self : InstructionContext, size : Int, alignment : Int) ->
StackObject

#
InstructionContext::emit_call_without_roots

#
InstructionContext::environment

#
InstructionContext::finish_call

#
InstructionContext::finish_call_without_roots

#
InstructionContext::finish_operation

#
InstructionContext::finish_void

fn InstructionContext::finish_void(self : InstructionContext) -> Unit

#
InstructionContext::forward_results

fn InstructionContext::forward_results(self : InstructionContext, values : Array[
Value
]) -> Unit

#
InstructionContext::function_result_types

#
InstructionContext::jump

#
InstructionContext::noreturn_call

#
InstructionContext::operand_types

#
InstructionContext::operands

#
InstructionContext::result_types

#
InstructionContext::set_trap_terminator

fn InstructionContext::set_trap_terminator(self : InstructionContext, reason :
TrapReason
) -> Unit

Terminate an adapter-created side block without completing the source dialect instruction. The adapter must switch to a continuation block and complete the instruction there.

#
InstructionContext::status

fn InstructionContext::status(self : InstructionContext) -> String?

#
InstructionContext::switch_to_block

fn InstructionContext::switch_to_block(self : InstructionContext, block :
Block
) -> Unit

#
InstructionContext::tail_call

#
InstructionContext::terminates_block

fn InstructionContext::terminates_block(self : InstructionContext) -> Bool

#
InstructionContext::trap

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io