search for: outedge_iterator

Displaying 2 results from an estimated 2 matches for "outedge_iterator".

2008 Mar 28
8
[LLVMdev] unwinds to in the CFG
...s safe to insert new instructions and it always assumes that if A dom B then an instruction in A is always accessible in B. Here's the new plan. Please poke holes in it. A. redefine the CFG a bit. i. pred_iterator stays the same. ii. succ_iterator only iterates over successors iii. outedge_iterator iterates over successors and the unwind dest There's still some code which refers to outedges by TerminatorInst + unsigned. I can't think of any reason not to replace all of them with outedge_iterator. B. redefine the dominator tree by modifying the GraphTraits i. A dom B means that...
2008 Mar 28
0
[LLVMdev] unwinds to in the CFG
Sorry -- Small change. Nick Lewycky wrote: > A. redefine the CFG a bit. > i. pred_iterator stays the same. pred_iterator becomes an inverse of outedge_iterator. That is, edges that lead to the execution of this block, regardless of whether it's an unwind-edge or not. Nick