1998-04-06 02:15:55 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Objective Caml *)
|
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1998 Institut National de Recherche en Informatique et *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
1998-04-06 02:15:55 -07:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
|
|
|
(* Auxiliaries for type-based optimizations, e.g. array kinds *)
|
|
|
|
|
|
|
|
val has_base_type : Typedtree.expression -> Types.type_expr -> bool
|
|
|
|
val maybe_pointer : Typedtree.expression -> bool
|
|
|
|
val array_kind : Typedtree.expression -> Lambda.array_kind
|
|
|
|
val array_pattern_kind : Typedtree.pattern -> Lambda.array_kind
|