Compiler shape/query adapters for Cast and ValidityVisitor. Definition and TypeConst IDs are appended to the existing shared bundle, never source indices. Dynamic-predicate tokens index an explicit shared table of original compiler predicate arrays; vtable consumers must use this same table and still discharge normalization/stable-comparison queries.
@[reducible, inline]
Instances For
Canonical source pattern identities; range constants share the program's TypeConst table and Or children share this pattern table.
- range (start finish : MIR.TypeConstId) : PatternIdentity
- or (children : Array Nat) : PatternIdentity
- notNull : PatternIdentity
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
def
Miri.Input.CompilerFactAdapters.instDecidableEqPatternIdentity.decEq
(x✝ x✝¹ : PatternIdentity)
:
Equations
- One or more equations did not get rendered due to their size.
- Miri.Input.CompilerFactAdapters.instDecidableEqPatternIdentity.decEq Miri.Input.CompilerFactAdapters.PatternIdentity.notNull Miri.Input.CompilerFactAdapters.PatternIdentity.notNull = isTrue ⋯
Instances For
- context : CompilerFacts.Context
- patterns : Array PatternIdentity
- castTypes : Array (TypeId × Result Interpreter.CastTypeInfo)
- obligations : Array Obligation
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Input.CompilerFactAdapters.castHooks
{P S C V : Type}
(prepared : Prepared)
(machine : Interpreter.CastHooks P S C V)
:
Interpreter.CastHooks P S C V
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Input.CompilerFactAdapters.validityHooks
{P S C E Fn Abi Pad : Type}
(prepared : Prepared)
(machine : Interpreter.ValidityVisitor.Hooks P S C E Fn Abi Pad)
:
Interpreter.ValidityVisitor.Hooks P S C E Fn Abi Pad
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
Miri.Input.CompilerFactAdapters.validity_typeName_of_node
{P S C E Fn Abi Pad : Type}
(prepared : Prepared)
(machine : Interpreter.ValidityVisitor.Hooks P S C E Fn Abi Pad)
(choice : C)
(ty : TypeId)
(node : TypeNode)
(found : prepared.context.runtime.node ty = Except.ok node)
:
The diagnostic type name is a pure compiler-node projection.