libFirm
irmemory.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1995-2010 University of Karlsruhe. All right reserved.
3  *
4  * This file is part of libFirm.
5  *
6  * This file may be distributed and/or modified under the terms of the
7  * GNU General Public License version 2 as published by the Free Software
8  * Foundation and appearing in the file LICENSE.GPL included in the
9  * packaging of this file.
10  *
11  * Licensees holding valid libFirm Professional Edition licenses may use
12  * this file in accordance with the libFirm Commercial License.
13  * Agreement provided with the Software.
14  *
15  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17  * PURPOSE.
18  */
19 
26 #ifndef FIRM_ANA_IRMEMORY_H
27 #define FIRM_ANA_IRMEMORY_H
28 
29 #include "firm_types.h"
30 #include "begin.h"
31 
42 typedef enum ir_alias_relation {
47 
50  ir_entity_usage_not_computed,
51  ir_entity_usage_computed
53 
65 
66 
73  ir_sc_pointer = 0x0,
76  ir_sc_tls = 0x3,
85 
86 
88 
94  const ir_node *adr1, const ir_mode *mode1,
95  const ir_node *adr2, const ir_mode *mode2);
96 
104  const ir_entity *ent);
105 
110 
145  const ir_node *adr1, const ir_mode *mode1,
146  const ir_node *adr2, const ir_mode *mode2);
147 
154 
158 FIRM_API void mem_disambig_init(void);
159 
172  const ir_node *adr1, const ir_mode *mode1,
173  const ir_node *adr2, const ir_mode *mode2);
174 
178 FIRM_API void mem_disambig_term(void);
179 
189 
194 
201 
215 
222 
230  unsigned options);
231 
238 FIRM_API void set_irp_memory_disambiguator_options(unsigned options);
239 
245 FIRM_API void mark_private_methods(void);
246 
255 
258 #include "end.h"
259 
260 #endif