For LLVM Basic Blocks, represented by class BasicBlock, how can I identify which nearest loop (if any) contains that block . And I want to identify this inside a runOnModule pass.

Edit
Report