Loop Extractor

llvmers,

Is it possible to change the loop extractor to extract each nested loop into it’s own function, including the top level loop? I would like to put every loop into it’s own function.

Thanks.