class MIRPrinter

Declaration

class MIRPrinter { /* full declaration omitted */ };

Description

This class prints out the machine functions using the MIR serialization format.

Declared at: llvm/lib/CodeGen/MIRPrinter.cpp:110

Method Overview

  • public MIRPrinter(llvm::raw_ostream & OS)
  • public void convert(yaml::MachineFunction & MF, const llvm::MachineRegisterInfo & RegInfo, const llvm::TargetRegisterInfo * TRI)
  • public void convert(llvm::ModuleSlotTracker & MST, yaml::MachineFrameInfo & YamlMFI, const llvm::MachineFrameInfo & MFI)
  • public void convert(yaml::MachineFunction & MF, const llvm::MachineConstantPool & ConstantPool)
  • public void convert(llvm::ModuleSlotTracker & MST, yaml::MachineJumpTable & YamlJTI, const llvm::MachineJumpTableInfo & JTI)
  • public void convertCallSiteObjects(yaml::MachineFunction & YMF, const llvm::MachineFunction & MF, llvm::ModuleSlotTracker & MST)
  • public void convertStackObjects(yaml::MachineFunction & YMF, const llvm::MachineFunction & MF, llvm::ModuleSlotTracker & MST)
  • public void print(const llvm::MachineFunction & MF)

Methods

MIRPrinter(llvm::raw_ostream& OS)

Declared at: llvm/lib/CodeGen/MIRPrinter.cpp:118

Parameters

llvm::raw_ostream& OS

void convert(
    yaml::MachineFunction& MF,
    const llvm::MachineRegisterInfo& RegInfo,
    const llvm::TargetRegisterInfo* TRI)

Declared at: llvm/lib/CodeGen/MIRPrinter.cpp:122

Parameters

yaml::MachineFunction& MF
const llvm::MachineRegisterInfo& RegInfo
const llvm::TargetRegisterInfo* TRI

void convert(llvm::ModuleSlotTracker& MST,
             yaml::MachineFrameInfo& YamlMFI,
             const llvm::MachineFrameInfo& MFI)

Declared at: llvm/lib/CodeGen/MIRPrinter.cpp:124

Parameters

llvm::ModuleSlotTracker& MST
yaml::MachineFrameInfo& YamlMFI
const llvm::MachineFrameInfo& MFI

void convert(
    yaml::MachineFunction& MF,
    const llvm::MachineConstantPool& ConstantPool)

Declared at: llvm/lib/CodeGen/MIRPrinter.cpp:126

Parameters

yaml::MachineFunction& MF
const llvm::MachineConstantPool& ConstantPool

void convert(
    llvm::ModuleSlotTracker& MST,
    yaml::MachineJumpTable& YamlJTI,
    const llvm::MachineJumpTableInfo& JTI)

Declared at: llvm/lib/CodeGen/MIRPrinter.cpp:128

Parameters

llvm::ModuleSlotTracker& MST
yaml::MachineJumpTable& YamlJTI
const llvm::MachineJumpTableInfo& JTI

void convertCallSiteObjects(
    yaml::MachineFunction& YMF,
    const llvm::MachineFunction& MF,
    llvm::ModuleSlotTracker& MST)

Declared at: llvm/lib/CodeGen/MIRPrinter.cpp:132

Parameters

yaml::MachineFunction& YMF
const llvm::MachineFunction& MF
llvm::ModuleSlotTracker& MST

void convertStackObjects(
    yaml::MachineFunction& YMF,
    const llvm::MachineFunction& MF,
    llvm::ModuleSlotTracker& MST)

Declared at: llvm/lib/CodeGen/MIRPrinter.cpp:130

Parameters

yaml::MachineFunction& YMF
const llvm::MachineFunction& MF
llvm::ModuleSlotTracker& MST

void print(const llvm::MachineFunction& MF)

Declared at: llvm/lib/CodeGen/MIRPrinter.cpp:120

Parameters

const llvm::MachineFunction& MF