disabled show after showgraph, as it is (or was?) buggy
[libfirm] / ir / ana2 / pto_util.h
1 /* -*- c -*- */
2
3 /*
4    Project:     libFIRM
5    File name:   ir/ana/pto_util.h
6    Purpose:     Utilitites for PTO
7    Author:      Florian
8    Modified by:
9    Created:     Sat Nov 13 19:35:27 CET 2004
10    CVS-ID:      $Id$
11    Copyright:   (c) 1999-2004 Universität Karlsruhe
12    Licence:     This file is protected by the GPL -  GNU GENERAL PUBLIC LICENSE.
13 */
14
15
16 # ifndef _PTO_UTIL_
17 # define _PTO_UTIL_
18
19 # include "irnode.h"
20 # include "entity.h"
21
22 /* ===================================================
23    Global Defines:
24    =================================================== */
25
26 /* ===================================================
27  Global Data Types:
28  =================================================== */
29
30 /* ===================================================
31    Global Prototypes:
32    =================================================== */
33 /** Get the entity of a ptr. */
34 ir_entity *get_ptr_ent (ir_node *ptr);
35
36 /**
37  * Find the arguments of a graph. For a method that has n args, the
38  * result array has 'n+1' entries, the last of which is written NULL.
39  *
40  * @param irg  The IR graph
41  */
42 ir_node **find_irg_args (ir_graph *irg);
43
44 /* Check whether the load of the given ptr is a dummy */
45 int is_dummy_load_ptr (ir_node*);
46
47 /* ===================================================
48    Global Variables:
49    =================================================== */
50
51
52 # endif /* not defined _PTO_UTIL_ */
53
54
55 \f
56 /*
57   $Log$
58   Revision 1.8  2006/12/13 19:46:47  beck
59   rename type entity into ir_entity
60
61   Revision 1.7  2005/06/17 17:43:52  beck
62   added doxygen docu
63
64   Revision 1.6  2004/11/26 15:59:14  liekweg
65   recognize dummy loads
66
67   Revision 1.5  2004/11/24 14:53:56  liekweg
68   Bugfixes
69
70   Revision 1.4  2004/11/18 16:37:07  liekweg
71   rewrite
72
73
74 */