Traverse SSA-EDGE

Hi,

I am trying to find all the basic-blocks that lie between the an
instruction and its use. But I am not getting any appropriate way to do
this

Tarun