<div dir="ltr">Hello,<div>I have written pass to know basic blocks inside loops..</div><div>But for eg a function is called inside loop then all its basic block are also considered part of the loop...</div><div>I am unable to detect that...</div><div><br></div><div>How to do so?</div><div><br></div><div>BB0.....if BB0 is part of Func0 and Func0 is called inside loop (L1) with 10 iterations then BB0 will be executed 10 times...</div><div>How to detect in LLVM pass that BB0 is inside loop L1?</div><div><br></div><div>Please help..</div><div><br></div><div>Regards</div></div>