Getting all Basic Blocks in a Loop

I am writing an LLVM pass, where in certain cases, I want to know all the basic blocks in a loop. I can get the loop header by using combination of

AU.addRequired < LoopInfo >( );

and

getAnalysis < LoopInfo > ( *F ).isLoopHeader( BB )

But how do I get to know every basic block in that loop.

Use Loop::getBlocks() after getting a Loop from LoopInfo.

Cameron