package jasmin

  1. Overview
  2. Docs
Compiler for High-Assurance and High-Speed Cryptography

Install

dune-project
 Dependency

Authors

Maintainers

Sources

jasmin-compiler-v2025.06.1.tar.bz2
sha256=e92b42fa69da7c730b0c26dacf842a72b4febcaf4f2157a1dc18b3cce1f859fa

doc/jasmin.jasmin/Jasmin/Ssa/index.html

Module Jasmin.SsaSource

Sourceval split_live_ranges : bool -> ('info, 'asm) Prog.func -> (unit, 'asm) Prog.func

Rename variables in the given function so that any given variable has different names in each of its liveness intervals. This may introduce fresh copy instructions tagged as “phi nodes”. The first argument to this function tells whether said renaming is applied to all variables (split_live_ranges true) or only to registers (split_live_ranges false).

Sourceval remove_phi_nodes : ('info, 'asm) Prog.func -> ('info, 'asm) Prog.func

Remove copy instructions tagged as “phi nodes”. All such instructions must be of the form “x = x”, i.e., the source and destination must be the same variable.