LLVM  4.0.0
Public Member Functions | List of all members
llvm::MIRPrinter Class Reference

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

Public Member Functions

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

Detailed Description

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

Definition at line 73 of file MIRPrinter.cpp.

Constructor & Destructor Documentation

llvm::MIRPrinter::MIRPrinter ( raw_ostream OS)
inline

Definition at line 81 of file MIRPrinter.cpp.

Member Function Documentation

void MIRPrinter::convert ( yaml::MachineFunction MF,
const MachineRegisterInfo RegInfo,
const TargetRegisterInfo TRI 
)
void MIRPrinter::convert ( ModuleSlotTracker MST,
yaml::MachineFrameInfo YamlMFI,
const MachineFrameInfo MFI 
)
void MIRPrinter::convert ( yaml::MachineFunction MF,
const MachineConstantPool ConstantPool 
)
void MIRPrinter::convert ( ModuleSlotTracker MST,
yaml::MachineJumpTable YamlJTI,
const MachineJumpTableInfo JTI 
)
void MIRPrinter::convertStackObjects ( yaml::MachineFunction YMF,
const MachineFunction MF,
ModuleSlotTracker MST 
)

Definition at line 286 of file MIRPrinter.cpp.

References llvm::yaml::MachineStackObject::Alignment, llvm::yaml::FixedMachineStackObject::Alignment, assert(), llvm::yaml::MachineStackObject::DefaultType, llvm::yaml::FixedMachineStackObject::DefaultType, E, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::yaml::MachineFunction::FixedStackObjects, llvm::yaml::MachineFunction::FrameInfo, llvm::MachineFrameInfo::getCalleeSavedInfo(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFrameInfo::getLocalFrameObjectCount(), llvm::MachineFrameInfo::getLocalFrameObjectMap(), llvm::MachineFrameInfo::getObjectAlignment(), llvm::MachineFrameInfo::getObjectAllocation(), llvm::MachineFrameInfo::getObjectIndexBegin(), llvm::MachineFrameInfo::getObjectIndexEnd(), llvm::MachineFrameInfo::getObjectOffset(), llvm::MachineFrameInfo::getObjectSize(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::MachineFrameInfo::getStackProtectorIndex(), llvm::MachineFunction::getSubtarget(), llvm::MachineFunction::getVariableDbgInfo(), llvm::MachineFrameInfo::hasStackProtectorIndex(), I, llvm::yaml::MachineStackObject::ID, llvm::yaml::FixedMachineStackObject::ID, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert(), llvm::yaml::FixedMachineStackObject::IsAliased, llvm::MachineFrameInfo::isAliasedObjectIndex(), llvm::MachineFrameInfo::isDeadObjectIndex(), llvm::yaml::FixedMachineStackObject::IsImmutable, llvm::MachineFrameInfo::isImmutableObjectIndex(), llvm::MachineFrameInfo::isSpillSlotObjectIndex(), llvm::MachineFrameInfo::isVariableSizedObjectIndex(), llvm::yaml::MachineStackObject::Name, llvm::yaml::MachineStackObject::Offset, llvm::yaml::FixedMachineStackObject::Offset, printReg(), llvm::MIPrinter::printStackObjectReference(), llvm::yaml::MachineStackObject::Size, llvm::yaml::FixedMachineStackObject::Size, llvm::yaml::MachineStackObject::SpillSlot, llvm::yaml::FixedMachineStackObject::SpillSlot, llvm::yaml::MachineFunction::StackObjects, llvm::yaml::MachineFrameInfo::StackProtector, llvm::yaml::MachineStackObject::Type, llvm::yaml::FixedMachineStackObject::Type, llvm::yaml::StringValue::Value, and llvm::yaml::MachineStackObject::VariableSized.

Referenced by print().

void MIRPrinter::print ( const MachineFunction MF)

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