projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BugFix: TLS variables are Sels, not SymConst
[libfirm]
/
ir
/
ana
/
cdep.h
diff --git
a/ir/ana/cdep.h
b/ir/ana/cdep.h
index
29d3f7a
..
270a15a
100644
(file)
--- a/
ir/ana/cdep.h
+++ b/
ir/ana/cdep.h
@@
-1,24
+1,27
@@
#ifndef CDEP_H
#define CDEP_H
#ifndef CDEP_H
#define CDEP_H
-#include "
irnode
.h"
+#include "
firm_types
.h"
typedef struct cdep cdep;
struct cdep {
typedef struct cdep cdep;
struct cdep {
- ir_node
*
node;
- cdep
*
next;
+ ir_node
*
node;
+ cdep
*
next;
};
};
-void compute_cdep(ir_graph*);
-void free_cdep(ir_graph*);
+/** Compute the control dependence graph for a graph. */
+void compute_cdep(ir_graph *irg);
+void free_cdep(ir_graph *irg);
-cdep
* find_cdep(const ir_node*
block);
+cdep
*find_cdep(const ir_node *
block);
-
int is_cdep_on(const ir_node* dependee, const ir_node* candidate
);
+
void exchange_cdep(ir_node *old, const ir_node *nw
);
-int is_
iterated_cdep_on(ir_node* dependee, ir_node*
candidate);
+int is_
cdep_on(const ir_node *dependee, const ir_node *
candidate);
-ir_node* get_unique_cdep(const ir_node* block);
-int has_multiple_cdep(const ir_node* block);
+int is_iterated_cdep_on(ir_node *dependee, ir_node *candidate);
-#endif
+ir_node *get_unique_cdep(const ir_node *block);
+int has_multiple_cdep(const ir_node *block);
+
+#endif /* CDEP_H */