package p4spectec

  1. Overview
  2. Docs
P4-SpecTec: A mechanization toolchain for the P4 Programming Language

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.2.tar.gz
md5=1a3bc0a385fe1ecf403c019f49aa6de6
sha512=5d20b5821f33e2a3a5419b208606f27c01511994c2b3b1e1cdf4c077056dfd0aa81682af0720e1060ee2bfb0341918fcc4c53159820205a2bc32b725e5c1a714

doc/p4spectec.pass/Pass/Structure/Opt/Loop/Merge_binding/Bind/index.html

Module Merge_binding.Bind

type expunit = Ol.Ast.exp * Ol.Ast.iterexp list
val string_of_expunit : expunit -> string
val string_of_expunits : expunit list -> string
val eq_expunit : expunit -> expunit -> bool
val eq_expunits : expunit list -> expunit list -> bool
type t =
  1. | LetBind of expunit * expunit
  2. | RuleBind of Ol.Ast.id * expunit list * expunit list
val to_string : t -> string
val init_expunit : Ol.Ast.exp -> Ol.Ast.iterexp list -> expunit
val init_let_bind : Ol.Ast.exp -> Ol.Ast.exp -> Ol.Ast.iterinstr list -> t
val init_rule_bind : Ol.Ast.id -> Ol.Ast.notexp -> Lang.Hints.Input.t -> Ol.Ast.iterinstr list -> t
val collapse_exp : Re.Renamer.t -> Ol.Ast.exp -> Ol.Ast.exp -> Re.Renamer.t option
val collapse_exps : Re.Renamer.t -> Ol.Ast.exp list -> Ol.Ast.exp list -> Re.Renamer.t option
val collapse_expunit : Re.Renamer.t -> expunit -> expunit -> Re.Renamer.t option
val collapse_expunits : Re.Renamer.t -> expunit list -> expunit list -> Re.Renamer.t option
val collapse_bind : t -> t -> Re.Renamer.t option