Use the standard MachineFunction::print() after SlotIndexes.