]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/contrib/asmcomp/reloadgen.mli
Inital import
[l4.git] / l4 / pkg / ocaml / contrib / asmcomp / reloadgen.mli
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 (***********************************************************************)
12
13 (* $Id: reloadgen.mli 2553 1999-11-17 18:59:06Z xleroy $ *)
14
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