X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana2%2Fpto_util.h;h=0ad2b7ec244909b0d45cb70528e0afd57660ed96;hb=2612e4e1fb7e6b1447af30bcb4153518ec5a05cb;hp=0a868cf17f22166ebde799d690f41a26f173f4e5;hpb=6aefa6ac6a2f39363fb1b09632e5965db89b44af;p=libfirm diff --git a/ir/ana2/pto_util.h b/ir/ana2/pto_util.h index 0a868cf17..0ad2b7ec2 100644 --- a/ir/ana2/pto_util.h +++ b/ir/ana2/pto_util.h @@ -1,35 +1,64 @@ /* -*- c -*- */ /* - * Project: libFIRM - * File name: ir/ana2/pto_util.c - * Purpose: Pto Utilities - * Author: Florian - * Modified by: - * Created: Mon 18 Oct 2004 - * CVS-ID: $Id$ - * Copyright: (c) 1999-2004 Universität Karlsruhe - * Licence: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE. - */ - -# ifndef _PTO_UTIL_H_ -# define _PTO_UTIL_H_ - -# include "irgraph.h" - -/* - Find the arguments of a graph. For a method that has n args, the - result array has 'n+1' entries, the last of which is written NULL. + Project: libFIRM + File name: ir/ana/pto_util.h + Purpose: Utilitites for PTO + Author: Florian + Modified by: + Created: Sat Nov 13 19:35:27 CET 2004 + CVS-ID: $Id$ + Copyright: (c) 1999-2004 Universität Karlsruhe + Licence: This file is protected by the GPL - GNU GENERAL PUBLIC LICENSE. */ + + +# ifndef _PTO_UTIL_ +# define _PTO_UTIL_ + +# include "irnode.h" +# include "entity.h" + +/* =================================================== + Global Defines: + =================================================== */ + +/* =================================================== + Global Data Types: + =================================================== */ + +/* =================================================== + Global Prototypes: + =================================================== */ +/* Get the entity of a ptr */ +entity *get_ptr_ent (ir_node*); + +/* Find the arguments of a graph. For a method that has n args, the + result array has 'n+1' entries, the last of which is written NULL. */ ir_node **find_irg_args (ir_graph*); -# endif /* not defined _PTO_UTIL_H_ */ +/* Check whether the load of the given ptr is a dummy */ +int is_dummy_load_ptr (ir_node*); + +/* =================================================== + Global Variables: + =================================================== */ + + +# endif /* not defined _PTO_UTIL_ */ + /* $Log$ - Revision 1.1 2004/10/22 15:10:51 liekweg - moved utils to pto_util + Revision 1.6 2004/11/26 15:59:14 liekweg + recognize dummy loads + + Revision 1.5 2004/11/24 14:53:56 liekweg + Bugfixes + Revision 1.4 2004/11/18 16:37:07 liekweg + rewrite - */ + +*/