LLVM 20.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.
 
- Public Member Functions inherited from llvm::ilist_detail::node_parent_access< ilist_node_impl< OptionsT >, OptionsT::parent_ty >
const OptionsT::parent_ty * getParent () const
 
OptionsT::parent_ty * getParent ()
 
void setParent (OptionsT::parent_ty *Parent)
 

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 46 of file SlotIndexes.h.

Constructor & Destructor Documentation

◆ IndexListEntry()

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

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

◆ setInstr()

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

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