5 File name: ir/ana/pto_comp.h
6 Purpose: Main Implementation of PTO
9 Created: Sat Nov 13 19:35:27 CET 2004
11 Copyright: (c) 1999-2004 Universität Karlsruhe
12 Licence: This file is protected by the GPL - GNU GENERAL PUBLIC LICENSE.
23 /* ===================================================
25 =================================================== */
27 /* ===================================================
29 =================================================== */
30 typedef struct pto_str {
34 typedef struct alloc_pto_str {
36 pto_t **ptos; /* all names */
37 pto_t *curr_pto; /* name for current ctx */
40 /* ===================================================
42 =================================================== */
43 /* Main loop: Initialise the graph for the given ctx_idx and iterate over it */
44 void pto_graph (ir_graph*, int);
46 /* Set the PTO value for the given node */
47 void set_node_pto (ir_node*, pto_t*);
48 /*Get the PTO value for the given non-alloc node */
49 pto_t *get_node_pto (ir_node*);
51 /* Set the PTO value for the given alloc node */
52 void set_alloc_pto (ir_node*, alloc_pto_t*);
54 /*Get the current PTO value for the given alloc node */
55 pto_t *get_alloc_pto (ir_node*);
58 /* ===================================================
60 =================================================== */
63 # endif /* not defined _PTO_COMP_ */
69 Revision 1.2 2004/11/24 14:53:55 liekweg
72 Revision 1.1 2004/11/18 16:37:34 liekweg