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: pwe $
|
|
|
33 |
$Date: 1998/03/17 16:35:00 $
|
|
|
34 |
$Revision: 1.4 $
|
|
|
35 |
$Log: dg_aux.h,v $
|
|
|
36 |
* Revision 1.4 1998/03/17 16:35:00 pwe
|
|
|
37 |
* correction for non-NEWDIAGS
|
|
|
38 |
*
|
|
|
39 |
* Revision 1.3 1998/03/11 11:03:29 pwe
|
|
|
40 |
* DWARF optimisation info
|
|
|
41 |
*
|
|
|
42 |
* Revision 1.2 1998/02/18 11:22:14 pwe
|
|
|
43 |
* test corrections
|
|
|
44 |
*
|
|
|
45 |
* Revision 1.1.1.1 1998/01/17 15:55:46 release
|
|
|
46 |
* First version to be checked into rolling release.
|
|
|
47 |
*
|
|
|
48 |
* Revision 1.3 1997/12/04 19:36:19 pwe
|
|
|
49 |
* ANDF-DE V1.9
|
|
|
50 |
*
|
|
|
51 |
* Revision 1.2 1997/10/23 09:21:01 pwe
|
|
|
52 |
* ANDF-DE V1.7 and extra diags
|
|
|
53 |
*
|
|
|
54 |
* Revision 1.1 1997/08/23 13:26:40 pwe
|
|
|
55 |
* initial ANDF-DE
|
|
|
56 |
*
|
|
|
57 |
***********************************************************************/
|
|
|
58 |
|
|
|
59 |
#ifndef dg_aux_key
|
|
|
60 |
#define dg_aux_key
|
|
|
61 |
|
|
|
62 |
extern dg_name new_dg_name PROTO_S ((dg_name_key k));
|
|
|
63 |
extern dg_type new_dg_type PROTO_S ((dg_type_key k));
|
|
|
64 |
extern dg_info new_dg_info PROTO_S ((dg_info_key k));
|
|
|
65 |
extern void extend_dg_name PROTO_S ((dg_name nm));
|
|
|
66 |
extern void extend_dg_type PROTO_S ((dg_type nm));
|
|
|
67 |
extern void init_dgtag PROTO_S ((dg_tag tg));
|
|
|
68 |
extern dg_tag gen_tg_tag PROTO_S ((void));
|
|
|
69 |
extern dg_type get_qual_dg_type PROTO_S ((dg_qual_type_key qual, dg_type typ));
|
|
|
70 |
extern dg_type get_dg_bitfield_type PROTO_S ((dg_type typ, shape sha, bitfield_variety bv));
|
|
|
71 |
extern char * idname_chars PROTO_S ((dg_idname nam));
|
|
|
72 |
extern dg_filename get_filename PROTO_S ((long dat, char * host, char * path, char * name));
|
|
|
73 |
extern short_sourcepos shorten_sourcepos PROTO_S ((dg_sourcepos pos));
|
|
|
74 |
extern short_sourcepos end_sourcepos PROTO_S ((dg_sourcepos pos));
|
|
|
75 |
extern dg_type find_proc_type PROTO_S ((dg_type t));
|
|
|
76 |
|
|
|
77 |
extern exp diaginfo_exp PROTO_S ((exp e));
|
|
|
78 |
|
|
|
79 |
#ifdef NEWDIAGS
|
|
|
80 |
|
|
|
81 |
extern void diag_kill_id PROTO_S ((exp id));
|
|
|
82 |
extern void set_obj_ref PROTO_S ((dg_name nm));
|
|
|
83 |
extern exp copy_res_diag PROTO_S ((exp e, dg_info d, exp var, exp lab));
|
|
|
84 |
extern exp diag_hold_check PROTO_S ((exp e));
|
|
|
85 |
extern void start_diag_inlining PROTO_S ((exp e, dg_name dn));
|
|
|
86 |
extern void end_diag_inlining PROTO_S ((exp e, dg_name dn));
|
|
|
87 |
extern dg_info combine_diaginfo PROTO_S ((dg_info d1, dg_info d2));
|
|
|
88 |
extern void diag_inline_result PROTO_S ((exp e));
|
|
|
89 |
extern void dg_whole_comp PROTO_S ((exp whole, exp comp));
|
|
|
90 |
extern void dg_complete_inline PROTO_S ((exp whole, exp comp));
|
|
|
91 |
extern void dg_dead_code PROTO_S ((exp dead, exp prev));
|
|
|
92 |
extern void dg_rdnd_code PROTO_S ((exp rdnd, exp next));
|
|
|
93 |
extern void dg_detach_const PROTO_S ((exp part, exp whole));
|
|
|
94 |
extern void dg_rem_ass PROTO_S ((exp ass));
|
|
|
95 |
extern void dg_restruct_code PROTO_S ((exp outer, exp inner, int posn));
|
|
|
96 |
extern void dg_extracted PROTO_S ((exp nm, exp old));
|
|
|
97 |
extern void strip_dg_context PROTO_S ((exp e));
|
|
|
98 |
extern void make_optim_dg PROTO_S ((int reason, exp e));
|
|
|
99 |
extern exp copy_dg_separate PROTO_S ((exp e));
|
|
|
100 |
|
|
|
101 |
#endif
|
|
|
102 |
|
|
|
103 |
extern exp relative_exp PROTO_S ((shape s, token t));
|
|
|
104 |
|
|
|
105 |
#endif
|