OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
wn2xaif_mem.h
Go to the documentation of this file.
1 // -*-Mode: C++;-*-
2 // $Header: /Volumes/cvsrep/developer/OpenADFortTk/src/whirl2xaif/wn2xaif_mem.h,v 1.8 2006/05/12 16:12:23 utke Exp $
3 
4 #ifndef wn2xaif_mem_INCLUDED
5 #define wn2xaif_mem_INCLUDED
6 
8 
9 #include "whirl2xaif.h"
10 #include "PUXlationContext.h"
11 
12 // ***************************************************************************
13 // Memory Access (or assignment and variable references)
14 // ***************************************************************************
15 
16 namespace whirl2xaif {
17 
18  // Loads (variable reference)
19  extern void
20  xlate_LDA(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
21 
22  extern void
23  xlate_LDID(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
24 
25  extern void
26  xlate_ILOAD(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
27 
28  extern void
29  xlate_ILOADX(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
30 
31  extern void
32  WN2F_mload(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
33 
34 
35  // Stores (assignment)
36  extern void
37  xlate_STID(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
38 
39  extern void
40  xlate_ISTORE(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
41 
42  extern void
43  xlate_ISTOREX(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
44 
45  extern void
46  WN2F_mstore(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
47 
48 
49  extern void
50  WN2F_pstid(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
51 
52  extern void
53  WN2F_pstore(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
54 
55 
56  // ***************************************************************************
57  // Array Operators (N-ary Operations)
58  // ***************************************************************************
59 
60 
61  extern void
62  xlate_ARRAY(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
63 
64  extern void
65  WN2F_triplet(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
66 
67  extern void
68  WN2F_src_triplet(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
69 
70  extern void
71  WN2F_arrayexp(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
72 
73  extern void
74  WN2F_arrsection(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
75 
76  extern void
77  WN2F_where(xml::ostream& xos, WN *wn, PUXlationContext& ctxt);
78 
79 
80  // ***************************************************************************
81 
82  // FIXME
83  extern void
84  WN2F_array_bounds(xml::ostream& xos, WN *wn, TY_IDX array_ty,
85  PUXlationContext& ctxt);
86  extern void
87  WN2F_arrsection_bounds(xml::ostream& xos, WN *wn, TY_IDX array_ty,
88  PUXlationContext& ctxt);
89 
90  extern void
91  WN2F_String_Argument(xml::ostream& tokens, WN *base, WN *length,
92  PUXlationContext& ctxt);
93 
94  extern BOOL
95  WN2F_Is_Address_Preg(WN * wn ,TY_IDX ptr_ty) ;
96 
97  // ***************************************************************************
98 
99 }; /* namespace whirl2xaif */
100 
101 #endif /* wn2xaif_mem_INCLUDED */
102