LLVM 20.0.0git
Public Member Functions | List of all members
llvm::MIPrinter Class Reference

This class prints out the machine instructions using the MIR serialization format. More...

Public Member Functions

 MIPrinter (raw_ostream &OS, ModuleSlotTracker &MST, const DenseMap< const uint32_t *, unsigned > &RegisterMaskIds, const DenseMap< int, FrameIndexOperand > &StackObjectOperandMapping)
 
void print (const MachineBasicBlock &MBB)
 
void print (const MachineInstr &MI)
 
void printStackObjectReference (int FrameIndex)
 
void print (const MachineInstr &MI, unsigned OpIdx, const TargetRegisterInfo *TRI, const TargetInstrInfo *TII, bool ShouldPrintRegisterTies, LLT TypeToPrint, bool PrintDef=true)
 

Detailed Description

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

Definition at line 142 of file MIRPrinter.cpp.

Constructor & Destructor Documentation

◆ MIPrinter()

llvm::MIPrinter::MIPrinter ( raw_ostream OS,
ModuleSlotTracker MST,
const DenseMap< const uint32_t *, unsigned > &  RegisterMaskIds,
const DenseMap< int, FrameIndexOperand > &  StackObjectOperandMapping 
)
inline

Definition at line 154 of file MIRPrinter.cpp.

References OS.

Member Function Documentation

◆ print() [1/3]

void MIPrinter::print ( const MachineBasicBlock MBB)

◆ print() [2/3]

void MIPrinter::print ( const MachineInstr MI)

◆ print() [3/3]

void MIPrinter::print ( const MachineInstr MI,
unsigned  OpIdx,
const TargetRegisterInfo TRI,
const TargetInstrInfo TII,
bool  ShouldPrintRegisterTies,
LLT  TypeToPrint,
bool  PrintDef = true 
)

◆ printStackObjectReference()

void MIPrinter::printStackObjectReference ( int  FrameIndex)

The documentation for this class was generated from the following file: