4 * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
6 * This file is part of libFirm.
8 * This file may be distributed and/or modified under the terms of the
9 * GNU General Public License version 2 as published by the Free Software
10 * Foundation and appearing in the file LICENSE.GPL included in the
11 * packaging of this file.
13 * Licensees holding valid libFirm Professional Edition licenses may use
14 * this file in accordance with the libFirm Commercial License.
15 * Agreement provided with the Software.
17 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
18 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24 * @brief Utilitites for PTO
26 * @date Sat Nov 13 19:35:27 CET 2004
29 # ifndef FIRM_ANA2_PTO_UTIL_H
30 # define FIRM_ANA2_PTO_UTIL_H
35 /* ===================================================
37 =================================================== */
39 /* ===================================================
41 =================================================== */
43 /* ===================================================
45 =================================================== */
46 /** Get the entity of a ptr. */
47 ir_entity *get_ptr_ent (ir_node *ptr);
50 * Find the arguments of a graph. For a method that has n args, the
51 * result array has 'n+1' entries, the last of which is written NULL.
53 * @param irg The IR graph
55 ir_node **find_irg_args (ir_graph *irg);
57 /* Check whether the load of the given ptr is a dummy */
58 int is_dummy_load_ptr (ir_node*);
60 /* ===================================================
62 =================================================== */
65 # endif /* not defined _PTO_UTIL_ */
71 Revision 1.8 2006/12/13 19:46:47 beck
72 rename type entity into ir_entity
74 Revision 1.7 2005/06/17 17:43:52 beck
77 Revision 1.6 2004/11/26 15:59:14 liekweg
80 Revision 1.5 2004/11/24 14:53:56 liekweg
83 Revision 1.4 2004/11/18 16:37:07 liekweg