projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up turn_back_am(), panic on unknown arity.
[libfirm]
/
include
/
libfirm
/
cdep.h
diff --git
a/include/libfirm/cdep.h
b/include/libfirm/cdep.h
index
88bf802
..
c1edc73
100644
(file)
--- a/
include/libfirm/cdep.h
+++ b/
include/libfirm/cdep.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-31,10
+31,9
@@
/**
* An entry in the control dependence list.
*/
/**
* An entry in the control dependence list.
*/
-typedef struct cdep cdep;
-struct cdep {
+struct ir_cdep {
ir_node *node; /**< A node on which the current block is control dependent on. */
ir_node *node; /**< A node on which the current block is control dependent on. */
- cdep *next; /**< Link to the next one if any. */
+
ir_
cdep *next; /**< Link to the next one if any. */
};
/** Compute the control dependence graph for a graph. */
};
/** Compute the control dependence graph for a graph. */
@@
-46,8
+45,11
@@
void free_cdep(ir_graph *irg);
/**
* Return a list of all control dependences of a block.
*/
/**
* Return a list of all control dependences of a block.
*/
-cdep *find_cdep(const ir_node *block);
+
ir_
cdep *find_cdep(const ir_node *block);
+/**
+ * Replace the control dependence info of old by the info of nw.
+ */
void exchange_cdep(ir_node *old, const ir_node *nw);
/**
void exchange_cdep(ir_node *old, const ir_node *nw);
/**
@@
-74,7
+76,7
@@
int is_iterated_cdep_on(ir_node *dependee, ir_node *candidate);
ir_node *get_unique_cdep(const ir_node *block);
/**
ir_node *get_unique_cdep(const ir_node *block);
/**
- *
c
heck if the given block is control dependent of more than one node.
+ *
C
heck if the given block is control dependent of more than one node.
*
* @param block the block to check
*/
*
* @param block the block to check
*/