class IndexListEntry

Declaration

class IndexListEntry : public ilist_node { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/CodeGen/SlotIndexes.h:46

Inherits from: ilist_node

Method Overview

  • public IndexListEntry(llvm::MachineInstr * mi, unsigned int index)
  • public unsigned int getIndex() const
  • public llvm::MachineInstr * getInstr() const
  • public void setIndex(unsigned int index)
  • public void setInstr(llvm::MachineInstr * mi)

Methods

IndexListEntry(llvm::MachineInstr* mi,
               unsigned int index)

Declared at: llvm/include/llvm/CodeGen/SlotIndexes.h:51

Parameters

llvm::MachineInstr* mi
unsigned int index

unsigned int getIndex() const

Declared at: llvm/include/llvm/CodeGen/SlotIndexes.h:58

llvm::MachineInstr* getInstr() const

Declared at: llvm/include/llvm/CodeGen/SlotIndexes.h:53

void setIndex(unsigned int index)

Declared at: llvm/include/llvm/CodeGen/SlotIndexes.h:59

Parameters

unsigned int index

void setInstr(llvm::MachineInstr* mi)

Declared at: llvm/include/llvm/CodeGen/SlotIndexes.h:54

Parameters

llvm::MachineInstr* mi