LLVM  6.0.0svn
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 "llvm/CodeGen/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_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 >
using self_iterator = ilist_iterator< ilist_detail::compute_node_options< IndexListEntry, Options... >::type, false, false >
 
using const_self_iterator = ilist_iterator< ilist_detail::compute_node_options< IndexListEntry, Options... >::type, false, true >
 
using reverse_self_iterator = ilist_iterator< ilist_detail::compute_node_options< IndexListEntry, Options... >::type, true, false >
 
using const_reverse_self_iterator = ilist_iterator< ilist_detail::compute_node_options< IndexListEntry, Options... >::type, true, true >
 
- 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 47 of file SlotIndexes.h.

Constructor & Destructor Documentation

◆ IndexListEntry()

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

Definition at line 52 of file SlotIndexes.h.

Member Function Documentation

◆ getIndex()

unsigned llvm::IndexListEntry::getIndex ( ) const
inline

◆ getInstr()

MachineInstr* llvm::IndexListEntry::getInstr ( ) const
inline

◆ setIndex()

void llvm::IndexListEntry::setIndex ( unsigned  index)
inline

Definition at line 60 of file SlotIndexes.h.

References assert().

◆ setInstr()

void llvm::IndexListEntry::setInstr ( MachineInstr mi)
inline

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