<div dir="ltr">Hello,<div><br></div><div>Is there an iterator to iterate over a "range" of instructions in a Function?</div><div><br></div><div>"range" meaning from an instruction::iterator up to an other instruction::iterator which either:</div><div>- point to instructions in the same basic block (the first one first, second one second)</div><div>- point to instructions in different basic block (the BB of the first dominate the BB of the second, and the BB of the second post-dominate the BB of the first)</div><div><br></div><div>I'm not sure if I can trick InstIterator into doing that for me (with a custom BB type?).<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b>Alexandre Isoard</b><br></div></div>
</div></div>