aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/Machregsaux.mli
diff options
context:
space:
mode:
Diffstat (limited to 'powerpc/Machregsaux.mli')
-rw-r--r--powerpc/Machregsaux.mli16
1 files changed, 16 insertions, 0 deletions
diff --git a/powerpc/Machregsaux.mli b/powerpc/Machregsaux.mli
new file mode 100644
index 00000000..6d819882
--- /dev/null
+++ b/powerpc/Machregsaux.mli
@@ -0,0 +1,16 @@
+(* *********************************************************************)
+(* *)
+(* 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 register_by_name: string -> Machregs.mreg option
+val can_reserve_register: Machregs.mreg -> bool