LLVM 19.0.0git
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]

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< OptionsT >
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.
 

Additional Inherited Members

- Protected Types inherited from llvm::ilist_node_impl< OptionsT >
using self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, false, false >::type
 
using const_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, false, true >::type
 
using reverse_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, true, false >::type
 
using const_reverse_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, true, true >::type
 
- Protected Member Functions inherited from llvm::ilist_node_impl< OptionsT >
 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 45 of file SlotIndexes.h.

Constructor & Destructor Documentation

◆ IndexListEntry()

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

Definition at line 50 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 58 of file SlotIndexes.h.

◆ setInstr()

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

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