ΒΆllvm::ModulePass* createPrintModulePass(
    llvm::raw_ostream& OS,
    const std::string& Banner = "",
    bool ShouldPreserveUseListOrder = false)

Description

Create and return a pass that writes the module to the specified\c raw_ostream.

Declared at: llvm/include/llvm/IR/IRPrintingPasses.h:35

Parameters

llvm::raw_ostream& OS
const std::string& Banner = ""
bool ShouldPreserveUseListOrder = false