![]() |
libFirm
|
Typedefs | |
| typedef struct ir_cdep | ir_cdep |
| Control Dependence Analysis Results. | |
Functions | |
| void | compute_cdep (ir_graph *irg) |
| Computes the control dependence graph for a graph. | |
| void | free_cdep (ir_graph *irg) |
| Frees the control dependence info. | |
| ir_node * | get_cdep_node (const ir_cdep *cdep) |
| Returns control dependent block. | |
| ir_cdep * | get_cdep_next (const ir_cdep *cdep) |
| Returns next entry in a list of cdeps. | |
| ir_cdep * | find_cdep (const ir_node *block) |
| Returns a list of all control dependences of a block. | |
| void | exchange_cdep (ir_node *old, const ir_node *nw) |
| Replaces the control dependence info of old by the info of nw. | |
| int | is_cdep_on (const ir_node *dependee, const ir_node *candidate) |
| Checks whether dependee is (directly) control dependent on candidate. | |
| ir_node * | get_unique_cdep (const ir_node *block) |
| If block is control dependent on exactly one node, returns this node, else NULL. | |
| int | has_multiple_cdep (const ir_node *block) |
| Checks if the given block is control dependent of more than one node. | |
Control Dependence Analysis Results.
Definition at line 86 of file firm_types.h.
| void compute_cdep | ( | ir_graph * | irg | ) |
Computes the control dependence graph for a graph.
Replaces the control dependence info of old by the info of nw.
| void free_cdep | ( | ir_graph * | irg | ) |
Frees the control dependence info.
If block is control dependent on exactly one node, returns this node, else NULL.
| block | the block to check |
| int has_multiple_cdep | ( | const ir_node * | block | ) |
Checks if the given block is control dependent of more than one node.
| block | the block to check |