llvm::printMIR

Print LLVM IR using the MIR serialization format to the given output stream.

Synopsis

Declared in <llvm/CodeGen/MIRPrinter.h>

void
printMIR(
    raw_ostream& OS,
    Module const& M);

Parameters

NameDescription
OSOutput stream that receives the printed IR.
MModule whose LLVM IR is printed.