File: cs_code_selection_top.mli

package info (click to toggle)
galax 1.1-10
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 12,832 kB
  • sloc: ml: 96,603; xml: 26,602; ansic: 4,875; sh: 3,977; makefile: 1,667; java: 1,146
file content (45 lines) | stat: -rw-r--r-- 1,869 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
(***********************************************************************)
(*                                                                     *)
(*                                 GALAX                               *)
(*                              XQuery Engine                          *)
(*                                                                     *)
(*  Copyright 2001-2007.                                               *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)

(* $Id: cs_code_selection_top.mli,v 1.7 2007/10/16 01:25:34 mff Exp $ *)

(* Module: Cs_code_selection_top
   Description:
     This module is the entry-point to code-selection.
*)

(* The main interface to compilation
   Takes in typed core expressions and allocates code for each
   operation in the algebraic plan. *)

val code_selection_statement :
    (Compiled_program_units.compiled_program * 
    string (* Module URI *) *
    Code_selection_context.code_selection_context) ->
    Logical_algebra_types.logical_algop_expr ->
    Code_selection_context. code_selection_context *
    Algebra_type.algop_expr

val code_selection_prolog :
    (Compiled_program_units.compiled_program *
    string (* Module URI *) *
    Code_selection_context.code_selection_context) ->
    Logical_algebra_types.logical_algop_prolog ->
    Code_selection_context. code_selection_context *
    Algebra_type.algop_prolog

val code_selection_module :
    (Compiled_program_units.compiled_program *
    string (* Module URI *) *
    Code_selection_context.code_selection_context) ->
    Logical_algebra_types.logical_algop_xmodule ->
    Code_selection_context.code_selection_context *
    Algebra_type.algop_xmodule