Displaying 2 results from an estimated 2 matches for "c8193bcd".
2011 Aug 29
0
[LLVMdev] insertions with inst_iterators?
...dation on insertion for the end iterator too, so you'll have
to re-initialize it after any insertion that might invalidate the end
iterator]
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110829/c8193bcd/attachment.html>
2011 Aug 29
4
[LLVMdev] insertions with inst_iterators?
I am looping through all instructions in a Function and depending on
what I found I may or may not insert code. Despite the fact that I'm
only actually inserting *before* instruction I have a infinite loop
when I do something like below. For awhile it was simple enough to
just increment i enough times but now I need something better.
for(inst_iterator i = inst_begin(F); i != inst_end(F); ++i)