[collect_pvars] from a flowgraph