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:45

Inherits from: ilist_node

Member Variables

private llvm::MachineInstr* mi
private unsigned int index

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:50

Parameters

llvm::MachineInstr* mi
unsigned int index

unsigned int getIndex() const

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

llvm::MachineInstr* getInstr() const

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

void setIndex(unsigned int index)

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

Parameters

unsigned int index

void setInstr(llvm::MachineInstr* mi)

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

Parameters

llvm::MachineInstr* mi