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.2.tar.bz2
sha256=aa0d21f532c1560a0939244cfd1c8414ba2b42c9d1403960f458500446cb1ebb

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.