printMIR overloads
Declared in <llvm/CodeGen/MIRPrinter.h>
Print LLVM IR using the MIR serialization format to the given output stream.
void
printMIR(
raw_ostream& OS,
Module const& M);
» more...
Print MIR using New Pass Manager (uses FunctionAnalysisManager). If VRM is non-null, the printer will serialize VirtRegMap state (split-from, assigned-phys).
void
printMIR(
raw_ostream& OS,
FunctionAnalysisManager& FAM,
MachineFunction const& MF,
VirtRegMap const* VRM = nullptr);
» more...
Print MIR using Legacy Pass Manager (uses MachineModuleInfo). If VRM is non-null, the printer will serialize VirtRegMap state (split-from, assigned-phys).
void
printMIR(
raw_ostream& OS,
MachineModuleInfo const& MMI,
MachineFunction const& MF,
VirtRegMap const* VRM = nullptr);
» more...
| Name | Description |
|---|---|
| OS | Output stream that receives the printed IR. |
| M | Module whose LLVM IR is printed. |
| FAM | Function analysis manager associated with MF. |
| MF | Machine function to print. |
| VRM | Optional virtual register map whose state is serialized when non-null. |
| MMI | Machine module info associated with MF. |