X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=inline;f=include%2Flibfirm%2Fcdep.h;h=b37e17f52f01895c7c07af8c1eaf59fc2d63b30f;hb=88b428f23045d2410147fb97b22d8b4982ef6b04;hp=1939fcb652090f02cdfcc0d5a36d709de25d1332;hpb=fbe9e7db119eb320ecfa3b1e9911c55c38a97126;p=libfirm diff --git a/include/libfirm/cdep.h b/include/libfirm/cdep.h index 1939fcb65..b37e17f52 100644 --- a/include/libfirm/cdep.h +++ b/include/libfirm/cdep.h @@ -33,30 +33,30 @@ * @{ */ -/** Compute the control dependence graph for a graph. */ +/** Computes the control dependence graph for a graph. */ FIRM_API void compute_cdep(ir_graph *irg); -/** Free the control dependence info. */ +/** Frees the control dependence info. */ FIRM_API void free_cdep(ir_graph *irg); -/** Return control dependent block */ +/** Returns control dependent block */ FIRM_API ir_node *get_cdep_node(const ir_cdep *cdep); -/** Get next entry in a list of cdeps */ +/** Returns next entry in a list of cdeps */ FIRM_API ir_cdep *get_cdep_next(const ir_cdep *cdep); /** - * Return a list of all control dependences of a block. + * Returns a list of all control dependences of a block. */ FIRM_API ir_cdep *find_cdep(const ir_node *block); /** - * Replace the control dependence info of old by the info of nw. + * Replaces the control dependence info of old by the info of nw. */ FIRM_API void exchange_cdep(ir_node *old, const ir_node *nw); /** - * Check whether dependee is (directly) control dependent on candidate. + * Checks whether dependee is (directly) control dependent on candidate. * * @param dependee the (possible) dependent block * @param candidate the (possible) block on which dependee is dependent @@ -64,7 +64,7 @@ FIRM_API void exchange_cdep(ir_node *old, const ir_node *nw); FIRM_API int is_cdep_on(const ir_node *dependee, const ir_node *candidate); /** - * If block is control dependent on exactly one node, return this node, + * If block is control dependent on exactly one node, returns this node, * else NULL. * * @param block the block to check @@ -72,7 +72,7 @@ FIRM_API int is_cdep_on(const ir_node *dependee, const ir_node *candidate); FIRM_API ir_node *get_unique_cdep(const ir_node *block); /** - * Check if the given block is control dependent of more than one node. + * Checks if the given block is control dependent of more than one node. * * @param block the block to check */