class DbgValueHistoryMap::Entry

Declaration

class DbgValueHistoryMap::Entry { /* full declaration omitted */ };

Description

Specifies a change in a variable's debug value history. There exist two types of entries: * Debug value entry: A new debug value becomes live. If the entry's \p EndIndex is \p NoEntry, the value is valid until the end of the function. For other values, the index points to the entry in the entry vector that ends this debug value. The ending entry can either be an overlapping debug value, or an instruction that clobbers the value. * Clobbering entry: This entry's instruction clobbers one or more preceding register-described debug values that have their end index set to this entry's position in the entry vector.

Declared at: llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h:72

Member Variables

private PointerIntPair< const llvm::MachineInstr*, 1, llvm::DbgValueHistoryMap::Entry::EntryKind> Instr
private llvm::DbgValueHistoryMap::EntryIndex EndIndex

Method Overview

  • public Entry(const llvm::MachineInstr * Instr, llvm::DbgValueHistoryMap::Entry::EntryKind Kind)
  • public void endEntry(llvm::DbgValueHistoryMap::EntryIndex EndIndex)
  • public llvm::DbgValueHistoryMap::EntryIndex getEndIndex() const
  • public llvm::DbgValueHistoryMap::Entry::EntryKind getEntryKind() const
  • public const llvm::MachineInstr * getInstr() const
  • public bool isClobber() const
  • public bool isClosed() const
  • public bool isDbgValue() const

Methods

Entry(const llvm::MachineInstr* Instr,
      llvm::DbgValueHistoryMap::Entry::EntryKind
          Kind)

Declared at: llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h:78

Parameters

const llvm::MachineInstr* Instr
llvm::DbgValueHistoryMap::Entry::EntryKind Kind

void endEntry(
    llvm::DbgValueHistoryMap::EntryIndex EndIndex)

Declared at: llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h:89

Parameters

llvm::DbgValueHistoryMap::EntryIndex EndIndex

llvm::DbgValueHistoryMap::EntryIndex getEndIndex()
    const

Declared at: llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h:82

llvm::DbgValueHistoryMap::Entry::EntryKind
getEntryKind() const

Declared at: llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h:83

const llvm::MachineInstr* getInstr() const

Declared at: llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h:81

bool isClobber() const

Declared at: llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h:85

bool isClosed() const

Declared at: llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h:87

bool isDbgValue() const

Declared at: llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h:86