LLVM  8.0.0svn
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, bool ShouldPrintRegisterTies, LLT TypeToPrint, bool PrintDef=true)
 

Detailed Description

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

Definition at line 139 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 151 of file MIRPrinter.cpp.

References llvm::ISD::FrameIndex, MI, print(), and TRI.

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,
bool  ShouldPrintRegisterTies,
LLT  TypeToPrint,
bool  PrintDef = true 
)

◆ printStackObjectReference()

void MIPrinter::printStackObjectReference ( int  FrameIndex)

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