Add copyright notices and new function String.chomp
[ocaml.git] / asmcomp / reloadgen.mli
blobe84a73d71ec7f1abf8a9ed9f345f3ecadc803d35
1 (***********************************************************************)
2 (* *)
3 (* Objective Caml *)
4 (* *)
5 (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
6 (* *)
7 (* Copyright 1997 Institut National de Recherche en Informatique et *)
8 (* en Automatique. All rights reserved. This file is distributed *)
9 (* under the terms of the Q Public License version 1.0. *)
10 (* *)
11 (***********************************************************************)
13 (* $Id$ *)
15 class reload_generic : object
16 method reload_operation :
17 Mach.operation -> Reg.t array -> Reg.t array -> Reg.t array * Reg.t array
18 method reload_test : Mach.test -> Reg.t array -> Reg.t array
19 (* Can be overriden to reflect instructions that can operate
20 directly on stack locations *)
21 method makereg : Reg.t -> Reg.t
22 (* Can be overriden to avoid creating new registers of some class
23 (i.e. if all "registers" of that class are actually on stack) *)
24 method fundecl : Mach.fundecl -> Mach.fundecl * bool
25 (* The entry point *)
26 end