search for: d2023bd7

Displaying 1 result from an estimated 1 matches for "d2023bd7".

2013 May 21
1
[LLVMdev] How to find the first block of each loop
Hello, I want to insert a control-block before every outermost loop. My current solution is: 1) find each outermost loop in some function; 2) find the loop header with Loop->getHeader() APIs, and then insert the controller block before the header block of current loop. But I encounters problems when there multi subsequent loops in the following example, where there is no code between loops: