recognize dummy loads
[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 entity *get_ptr_ent (ir_node*);
35
36 /* Find the arguments of a graph. For a method that has n args, the
37   result array has 'n+1' entries, the last of which is written NULL. */
38 ir_node **find_irg_args (ir_graph*);
39
40 /* Check whether the load of the given ptr is a dummy */
41 int is_dummy_load_ptr (ir_node*);
42
43 /* ===================================================
44    Global Variables:
45    =================================================== */
46
47
48 # endif /* not defined _PTO_UTIL_ */
49
50
51 \f
52 /*
53   $Log$
54   Revision 1.6  2004/11/26 15:59:14  liekweg
55   recognize dummy loads
56
57   Revision 1.5  2004/11/24 14:53:56  liekweg
58   Bugfixes
59
60   Revision 1.4  2004/11/18 16:37:07  liekweg
61   rewrite
62
63
64 */