Documentation

Miri.Interpreter.ScalarOps

Typed dispatch from pinned interpret/operator.rs::binary_op/unary_op. Compiler classification and result layouts are required queries. Float and pointer operations remain explicit machine obligations.

Instances For
    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        structure Miri.Interpreter.ScalarOpsHooks (Prov S C : Type) :
        Instances For
          def Miri.Interpreter.ScalarOps.binary {Prov S C : Type} [Memory.PointerProvenance Prov] (h : ScalarOpsHooks Prov S C) (choice : C) (op : MIR.BinOp) (left right : RvalueImmTy Prov) :

          Match on the compiler-owned left type; differing type IDs remain distinct when their ABI sizes or scalar representations happen to agree.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Miri.Interpreter.ScalarOps.unary {Prov S C : Type} [Memory.PointerProvenance Prov] (h : ScalarOpsHooks Prov S C) (choice : C) (op : MIR.UnOp) (value : RvalueImmTy Prov) :
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For