libFirm 1.20
libfirm/irgwalk.h File Reference

Traverse an ir graph. More...

#include "firm_types.h"
#include "begin.h"
#include "end.h"

Go to the source code of this file.

Functions

void irg_walk (ir_node *node, irg_walk_func *pre, irg_walk_func *post, void *env)
 Walks over the ir graph.
void irg_walk_core (ir_node *node, irg_walk_func *pre, irg_walk_func *post, void *env)
 core walker function.
void irg_walk_graph (ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, void *env)
 Walks over all reachable nodes in the ir graph.
void irg_walk_in_or_dep (ir_node *node, irg_walk_func *pre, irg_walk_func *post, void *env)
 Walks over the ir graph.
void irg_walk_in_or_dep_graph (ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, void *env)
 Walks over all reachable nodes in the ir graph.
void all_irg_walk (irg_walk_func *pre, irg_walk_func *post, void *env)
 Executes irg_walk(end, pre, post, env) for all irgraphs in irprog.
void irg_block_walk (ir_node *node, irg_walk_func *pre, irg_walk_func *post, void *env)
 Walks only over Block nodes in the graph.
void irg_block_walk_graph (ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, void *env)
 Walks only over reachable Block nodes in the graph.
void walk_const_code (irg_walk_func *pre, irg_walk_func *post, void *env)
 Walks over all code in const_code_irg.
void irg_walk_blkwise_graph (ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, void *env)
 Walks over reachable nodes in block-wise topological order, i.e.
void irg_walk_in_or_dep_blkwise_graph (ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, void *env)
 Walks over reachable nodes in block-wise topological order, i.e.
void irg_walk_blkwise_dom_top_down (ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, void *env)
 Walks over reachable nodes in block-wise topological order, i.e.
void irg_walk_anchors (ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, void *env)
 Additionally walk over all anchors.
unsigned irg_walk_2 (ir_node *node, irg_walk_func *pre, irg_walk_func *post, void *env)
 Walker function which does not increase the visited flag before walking.

Detailed Description

Traverse an ir graph.

Author:
Boris Boesler, Goetz Lindenmaier

Definition in file irgwalk.h.