aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/Machregsaux.mli
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-04-10 12:15:43 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-04-10 12:15:43 +0000
commita32ed5df6aa31aa5a38a55af9d75880e906721f2 (patch)
tree737bf6863dde159547d11941fde0af70ffad3278 /powerpc/Machregsaux.mli
parentbae0ed25d01388093ebcb4b32db0b6d1169f17db (diff)
downloadcompcert-kvx-a32ed5df6aa31aa5a38a55af9d75880e906721f2.tar.gz
compcert-kvx-a32ed5df6aa31aa5a38a55af9d75880e906721f2.zip
Coloring: allow to exclude user-specified registers from allocation.
CPragmas (PPC/EABI only): add #pragma reserve_register git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1314 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
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