Displaying 1 result from an estimated 1 matches for "3a5277ea".
2019 Jan 20
2
Basic Blocks of a Function called inside Loop
Hello,
I have written pass to know basic blocks inside loops..
But for eg a function is called inside loop then all its basic block are
also considered part of the loop...
I am unable to detect that...
How to do so?
BB0.....if BB0 is part of Func0 and Func0 is called inside loop (L1) with
10 iterations then BB0 will be executed 10 times...
How to detect in LLVM pass that BB0 is inside loop L1?