Documentation

Miri.Input.CompilerFactAdapters

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]
Equations
Instances For

    Canonical source pattern identities; range constants share the program's TypeConst table and Or children share this pattern table.

    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
              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.validityHooks {P S C E Fn Abi Pad : Type} (prepared : Prepared) (machine : 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) :
                    (validityHooks prepared machine).typeName choice ty = pure node.display

                    The diagnostic type name is a pure compiler-node projection.