libFirm 1.20
libfirm/cdep.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
00003  *
00004  * This file is part of libFirm.
00005  *
00006  * This file may be distributed and/or modified under the terms of the
00007  * GNU General Public License version 2 as published by the Free Software
00008  * Foundation and appearing in the file LICENSE.GPL included in the
00009  * packaging of this file.
00010  *
00011  * Licensees holding valid libFirm Professional Edition licenses may use
00012  * this file in accordance with the libFirm Commercial License.
00013  * Agreement provided with the Software.
00014  *
00015  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00016  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00017  * PURPOSE.
00018  */
00019 
00025 #ifndef FIRM_ANA_CDEP_H
00026 #define FIRM_ANA_CDEP_H
00027 
00028 #include "firm_types.h"
00029 #include "begin.h"
00030 
00037 FIRM_API void compute_cdep(ir_graph *irg);
00038 
00040 FIRM_API void free_cdep(ir_graph *irg);
00041 
00043 FIRM_API ir_node *get_cdep_node(const ir_cdep *cdep);
00044 
00046 FIRM_API ir_cdep *get_cdep_next(const ir_cdep *cdep);
00047 
00051 FIRM_API ir_cdep *find_cdep(const ir_node *block);
00052 
00056 FIRM_API void exchange_cdep(ir_node *old, const ir_node *nw);
00057 
00064 FIRM_API int is_cdep_on(const ir_node *dependee, const ir_node *candidate);
00065 
00072 FIRM_API ir_node *get_unique_cdep(const ir_node *block);
00073 
00079 FIRM_API int has_multiple_cdep(const ir_node *block);
00080 
00083 #include "end.h"
00084 
00085 #endif