projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make remove_compound_member() an official API method.
[libfirm]
/
include
/
libfirm
/
cdep.h
diff --git
a/include/libfirm/cdep.h
b/include/libfirm/cdep.h
index
ff68c05
..
0e7f891
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.
*
@@
-27,6
+27,7
@@
#define FIRM_ANA_CDEP_H
#include "firm_types.h"
#define FIRM_ANA_CDEP_H
#include "firm_types.h"
+#include "begin.h"
/**
* An entry in the control dependence list.
/**
* An entry in the control dependence list.
@@
-37,20
+38,20
@@
struct ir_cdep {
};
/** Compute the control dependence graph for a graph. */
};
/** Compute the control dependence graph for a graph. */
-void compute_cdep(ir_graph *irg);
+
FIRM_API
void compute_cdep(ir_graph *irg);
/** Free the control dependence info. */
/** Free the control dependence info. */
-void free_cdep(ir_graph *irg);
+
FIRM_API
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.
*/
-ir_cdep *find_cdep(const ir_node *block);
+
FIRM_API
ir_cdep *find_cdep(const ir_node *block);
/**
* Replace the control dependence info of old by the info of nw.
*/
/**
* Replace the control dependence info of old by the info of nw.
*/
-void exchange_cdep(ir_node *old, const ir_node *nw);
+
FIRM_API
void exchange_cdep(ir_node *old, const ir_node *nw);
/**
* Check whether dependee is (directly) control dependent on candidate.
/**
* Check whether dependee is (directly) control dependent on candidate.
@@
-58,7
+59,7
@@
void exchange_cdep(ir_node *old, const ir_node *nw);
* @param dependee the (possible) dependent block
* @param candidate the (possible) block on which dependee is dependent
*/
* @param dependee the (possible) dependent block
* @param candidate the (possible) block on which dependee is dependent
*/
-int is_cdep_on(const ir_node *dependee, const ir_node *candidate);
+
FIRM_API
int is_cdep_on(const ir_node *dependee, const ir_node *candidate);
/**
* Check whether dependee is (possible iterated) control dependent on candidate.
/**
* Check whether dependee is (possible iterated) control dependent on candidate.
@@
-66,20
+67,22
@@
int is_cdep_on(const ir_node *dependee, const ir_node *candidate);
* @param dependee the (possible) dependent block
* @param candidate the (possible) block on which dependee is dependent
*/
* @param dependee the (possible) dependent block
* @param candidate the (possible) block on which dependee is dependent
*/
-int is_iterated_cdep_on(ir_node *dependee, ir_node *candidate);
+
FIRM_API
int is_iterated_cdep_on(ir_node *dependee, ir_node *candidate);
/**
* If block is control dependent on exactly one node, return this node, else NULL.
*
* @param block the block to check
*/
/**
* If block is control dependent on exactly one node, return this node, else NULL.
*
* @param block the block to check
*/
-ir_node *get_unique_cdep(const ir_node *block);
+
FIRM_API
ir_node *get_unique_cdep(const ir_node *block);
/**
* Check if the given block is control dependent of more than one node.
*
* @param block the block to check
*/
/**
* Check if the given block is control dependent of more than one node.
*
* @param block the block to check
*/
-int has_multiple_cdep(const ir_node *block);
+FIRM_API int has_multiple_cdep(const ir_node *block);
+
+#include "end.h"
#endif
#endif