LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::IndexListEntry Class Reference

#include <SlotIndexes.h>

Inheritance diagram for llvm::IndexListEntry:
Inheritance graph
[legend]
Collaboration diagram for llvm::IndexListEntry:
Collaboration graph
[legend]

Public Member Functions

 IndexListEntry (MachineInstr *mi, unsigned index)
 
MachineInstrgetInstr () const
 
void setInstr (MachineInstr *mi)
 
unsigned getIndex () const
 
void setIndex (unsigned index)
 
- Public Member Functions inherited from llvm::ilist_node< IndexListEntry >
IndexListEntrygetPrevNode ()
 Get the previous node, or 0 for the list head. More...
 
const IndexListEntrygetPrevNode () const
 Get the previous node, or 0 for the list head. More...
 
IndexListEntrygetNextNode ()
 Get the next node, or 0 for the list tail. More...
 
const IndexListEntrygetNextNode () const
 Get the next node, or 0 for the list tail. More...
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::ilist_node< IndexListEntry >
 ilist_node ()
 

Detailed Description

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.

Constructor & Destructor Documentation

llvm::IndexListEntry::IndexListEntry ( MachineInstr mi,
unsigned  index 
)
inline

Definition at line 44 of file SlotIndexes.h.

Member Function Documentation

unsigned llvm::IndexListEntry::getIndex ( ) const
inline
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

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