LLVM API Documentation
#include <SlotIndexes.h>
Public Member Functions | |
IndexListEntry (MachineInstr *mi, unsigned index) | |
MachineInstr * | getInstr () const |
void | setInstr (MachineInstr *mi) |
unsigned | getIndex () const |
void | setIndex (unsigned index) |
This class represents an entry in the slot index list held in the SlotIndexes pass. It should not be used directly. See the SlotIndex & SlotIndexes classes for the public interface to this information.
Definition at line 38 of file SlotIndexes.h.
llvm::IndexListEntry::IndexListEntry | ( | MachineInstr * | mi, |
unsigned | index | ||
) | [inline] |
Definition at line 44 of file SlotIndexes.h.
unsigned llvm::IndexListEntry::getIndex | ( | ) | const [inline] |
Definition at line 51 of file SlotIndexes.h.
Referenced by llvm::SlotIndex::getInstrDistance(), llvm::SlotIndexes::getZeroIndex(), llvm::SlotIndex::isEarlierInstr(), and llvm::SlotIndex::print().
MachineInstr* llvm::IndexListEntry::getInstr | ( | ) | const [inline] |
Definition at line 46 of file SlotIndexes.h.
Referenced by llvm::SlotIndexes::getInstructionFromIndex().
void llvm::IndexListEntry::setIndex | ( | unsigned | index | ) | [inline] |
Definition at line 52 of file SlotIndexes.h.
void llvm::IndexListEntry::setInstr | ( | MachineInstr * | mi | ) | [inline] |
Definition at line 47 of file SlotIndexes.h.
Referenced by llvm::SlotIndexes::removeMachineInstrFromMaps(), and llvm::SlotIndexes::replaceMachineInstrInMaps().