LLVM  7.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 printIRValueReference (const Value &V)
void printStackObjectReference (int FrameIndex)
void print (const MachineInstr &MI, unsigned OpIdx, const TargetRegisterInfo *TRI, bool ShouldPrintRegisterTies, LLT TypeToPrint, bool PrintDef=true)
void print (const LLVMContext &Context, const TargetInstrInfo &TII, const MachineMemOperand &Op)
void printSyncScope (const LLVMContext &Context, SyncScope::ID SSID)

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 

Definition at line 151 of file MIRPrinter.cpp.

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

Member Function Documentation

◆ print() [1/4]

void MIPrinter::print ( const MachineBasicBlock MBB)

◆ print() [2/4]

void MIPrinter::print ( const MachineInstr MI)

◆ print() [3/4]

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

◆ print() [4/4]

void MIPrinter::print ( const LLVMContext Context,
const TargetInstrInfo TII,
const MachineMemOperand Op 

◆ printIRValueReference()

void MIPrinter::printIRValueReference ( const Value V)

◆ printStackObjectReference()

void MIPrinter::printStackObjectReference ( int  FrameIndex)

◆ printSyncScope()

void MIPrinter::printSyncScope ( const LLVMContext Context,
SyncScope::ID  SSID 

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