LLVM  10.0.0svn
Public Types | Public Member Functions | List of all members
llvm::DbgValueHistoryMap::Entry Class Reference

Specifies a change in a variable's debug value history. More...

#include "llvm/CodeGen/DbgEntityHistoryCalculator.h"

Public Types

enum  EntryKind { DbgValue, Clobber }
 

Public Member Functions

 Entry (const MachineInstr *Instr, EntryKind Kind)
 
const MachineInstrgetInstr () const
 
EntryIndex getEndIndex () const
 
EntryKind getEntryKind () const
 
bool isClobber () const
 
bool isDbgValue () const
 
bool isClosed () const
 
void endEntry (EntryIndex EndIndex)
 

Detailed Description

Specifies a change in a variable's debug value history.

There exist two types of entries:

Definition at line 53 of file DbgEntityHistoryCalculator.h.

Member Enumeration Documentation

◆ EntryKind

Enumerator
DbgValue 
Clobber 

Definition at line 55 of file DbgEntityHistoryCalculator.h.

Constructor & Destructor Documentation

◆ Entry()

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

Definition at line 57 of file DbgEntityHistoryCalculator.h.

Member Function Documentation

◆ endEntry()

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

Definition at line 84 of file DbgEntityHistoryCalculator.cpp.

References assert().

Referenced by llvm::calculateDbgEntityHistory(), and isClosed().

◆ getEndIndex()

EntryIndex llvm::DbgValueHistoryMap::Entry::getEndIndex ( ) const
inline

Definition at line 61 of file DbgEntityHistoryCalculator.h.

Referenced by llvm::DbgValueHistoryMap::dump().

◆ getEntryKind()

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

Definition at line 62 of file DbgEntityHistoryCalculator.h.

Referenced by isClobber(), and isDbgValue().

◆ getInstr()

const MachineInstr* llvm::DbgValueHistoryMap::Entry::getInstr ( ) const
inline

Definition at line 60 of file DbgEntityHistoryCalculator.h.

Referenced by llvm::DbgValueHistoryMap::dump().

◆ isClobber()

bool llvm::DbgValueHistoryMap::Entry::isClobber ( ) const
inline

Definition at line 64 of file DbgEntityHistoryCalculator.h.

References Clobber, and getEntryKind().

◆ isClosed()

bool llvm::DbgValueHistoryMap::Entry::isClosed ( ) const
inline

◆ isDbgValue()

bool llvm::DbgValueHistoryMap::Entry::isDbgValue ( ) const
inline

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