[llvm-dev] InstIterator
Alexandre Isoard via llvm-dev
llvm-dev at lists.llvm.org
Mon Apr 9 10:04:42 PDT 2018
Hello,
Is there an iterator to iterate over a "range" of instructions in a
Function?
"range" meaning from an instruction::iterator up to an other
instruction::iterator which either:
- point to instructions in the same basic block (the first one first,
second one second)
- 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)
I'm not sure if I can trick InstIterator into doing that for me (with a
custom BB type?).
--
*Alexandre Isoard*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180409/375a02b6/attachment.html>
More information about the llvm-dev
mailing list