llvm::FunctionPass::createPrinterPass

createPrinterPass - Get a function printer pass.

Synopsis

Declared in <llvm/Pass.h>

virtual
Pass*
createPrinterPass(
    raw_ostream& OS,
    std::string const& Banner) const override;

Return Value

A new function printer pass.

Parameters

NameDescription
OSStream the printer pass should write to.
BannerBanner text prefixed to printed IR.