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

This class represents an entry in the slot index list held in the SlotIndexes pass. More...

#include <SlotIndexes.h>

Inheritance diagram for llvm::IndexListEntry:
[legend]
Collaboration diagram for llvm::IndexListEntry:
[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_impl< ilist_detail::compute_node_options< IndexListEntry, Options...>::type >
self_iterator getIterator ()
 
const_self_iterator getIterator () const
 
reverse_self_iterator getReverseIterator ()
 
const_reverse_self_iterator getReverseIterator () const
 
bool isSentinel () const
 Check whether this is the sentinel node. More...
 

Additional Inherited Members

- Protected Types inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< IndexListEntry, Options...>::type >
typedef ilist_iterator
< ilist_detail::compute_node_options
< IndexListEntry, Options...>
::type, false, false
self_iterator
 
typedef ilist_iterator
< ilist_detail::compute_node_options
< IndexListEntry, Options...>
::type, false, true
const_self_iterator
 
typedef ilist_iterator
< ilist_detail::compute_node_options
< IndexListEntry, Options...>
::type, true, false
reverse_self_iterator
 
typedef ilist_iterator
< ilist_detail::compute_node_options
< IndexListEntry, Options...>
::type, true, true
const_reverse_self_iterator
 
- Protected Member Functions inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< IndexListEntry, Options...>::type >
 ilist_node_impl ()=default
 

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

Definition at line 47 of file SlotIndexes.h.


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