[#llvm-PrintMIRPass] = xref:llvm.adoc[llvm]::PrintMIRPass :relfileprefix: ../ :mrdocs: Pass that prints a machine function in the MIR serialization format. == Synopsis Declared in `<llvm/CodeGen/MIRPrinter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class PrintMIRPass : public xref:llvm/RequiredPassInfoMixin-047.adoc[RequiredPassInfoMixin<PrintMIRPass>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/RequiredPassInfoMixin-047.adoc[RequiredPassInfoMixin<PrintMIRPass>]` | A CRTP mix‐in for passes that should not be skipped. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/PrintMIRPass/2constructor.adoc[`PrintMIRPass`] [.small]#[constructor]# | Construct a pass that prints MIR for a machine function to `OS.` | xref:llvm/PrintMIRPass/run.adoc[`run`] | Print the machine function in the MIR serialization format. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/PrintMIRPass/isRequired.adoc[`isRequired`] | Return true; required passes cannot be skipped. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#