A simple llvm pass to analyze the loop information