Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    		 Crown Copyright (c) 1997
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
 
30
 
31
/**********************************************************************
32
$Author: release $
33
$Date: 1998/01/17 15:55:46 $
34
$Revision: 1.1.1.1 $
35
$Log: const.h,v $
36
 * Revision 1.1.1.1  1998/01/17  15:55:46  release
37
 * First version to be checked into rolling release.
38
 *
39
 * Revision 1.1  1995/04/06  10:44:05  currie
40
 * Initial revision
41
 *
42
***********************************************************************/
43
 
44
 
45
/************************************************************************
46
 *                         constdecs.h
47
 *  This file declares the routines which detect constant expressions and
48
 *  extract them from loops.
49
 *
50
 *  The type maxconst returns information about the expression under
51
 *  consideration. The field self is true if the expression as a whole is
52
 *  constant within the program fragment under consideration. If the
53
 *  entire expression is not constant (self is false) then the field cont
54
 *  is a list of the sub-expressions which are constant within the
55
 *  specified region.
56
 *
57
 *  The type maxconst is defined in consttypes.h
58
 *
59
 *  The principal procedures declared here are mc_list and repeat_const.
60
 *  They are decribed in const.c
61
 *
62
 ************************************************************************/
63
 
64
#include "consttypes.h"
65
 
66
extern  void repeat_consts PROTO_S ((void));
67
extern  void return_repeats PROTO_S ((void));
68
extern  int intnl_to PROTO_S ((exp whole, exp part));
69
extern  exp get_repeats PROTO_S ((void));