12 #ifndef FIRM_ANA_HEIGHTS_H 13 #define FIRM_ANA_HEIGHTS_H 15 #include "firm_types.h" void heights_free(ir_heights_t *h)
Frees a heights object.
ir_heights_t * heights_new(ir_graph *irg)
Creates a new heights object.
struct ir_heights_t ir_heights_t
Computed graph Heights.
unsigned get_irn_height(const ir_heights_t *h, const ir_node *irn)
Returns the height of a node inside a basic block.
unsigned heights_recompute_block(ir_heights_t *h, ir_node *block)
Recomputes the height information for a certain block.
struct ir_node ir_node
Procedure Graph Node.
struct ir_graph ir_graph
Procedure Graph.
int heights_reachable_in_block(ir_heights_t *h, const ir_node *src, const ir_node *tgt)
Checks if the node tgt is reachable according to data dependence edges from the node src...