diff options
Diffstat (limited to 'x86/Machregsaux.mli')
-rw-r--r-- | x86/Machregsaux.mli | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/x86/Machregsaux.mli b/x86/Machregsaux.mli new file mode 100644 index 00000000..9404568d --- /dev/null +++ b/x86/Machregsaux.mli @@ -0,0 +1,18 @@ +(* *********************************************************************) +(* *) +(* The Compcert verified compiler *) +(* *) +(* Xavier Leroy, INRIA Paris-Rocquencourt *) +(* *) +(* Copyright Institut National de Recherche en Informatique et en *) +(* Automatique. All rights reserved. This file is distributed *) +(* under the terms of the INRIA Non-Commercial License Agreement. *) +(* *) +(* *********************************************************************) + +(** Auxiliary functions on machine registers *) + +val name_of_register: Machregs.mreg -> string option +val register_by_name: string -> Machregs.mreg option +val is_scratch_register: string -> bool +val can_reserve_register: Machregs.mreg -> bool |