source: extracted/untrusted/uses.mli @ 2740

Last change on this file since 2740 was 2740, checked in by sacerdot, 7 years ago

Graph colouring terminated up to Uses that will be implemented
in Matita.

File size: 508 bytes
Line 
1(* Pasted from Pottier's PP compiler *)
2
3(** This module offers functions that count how many times each
4    pseudo-register is used within a piece of [ERTL] code. This is used
5    in [Coloring] to drive the spilling heuristics. *)
6
7(* [examine_procedure int_fun] counts how many times each pseudo-register
8   is used within procedure [int_fun]. It returns a function that maps
9   pseudo-registers to integer use counts. *)
10
11val examine_internal: Joint.joint_internal_function -> (Registers.register -> int)
Note: See TracBrowser for help on using the repository browser.