llvm::printLoop

Function to print a loop's contents as LLVM's text IR assembly.

Synopsis

Declared in <llvm/Analysis/LoopInfo.h>

void
printLoop(
    Loop const& L,
    raw_ostream& OS,
    std::string const& Banner = "");

Parameters

NameDescription
LLoop to print.
OSOutput stream.
BannerOptional banner printed before the loop.