LLVM  8.0.1
Public Types | Public Member Functions | List of all members
llvm::DbgValueHistoryMap Class Reference

#include "llvm/CodeGen/DbgEntityHistoryCalculator.h"

Public Types

using InstrRange = std::pair< const MachineInstr *, const MachineInstr * >
 
using InstrRanges = SmallVector< InstrRange, 4 >
 
using InlinedEntity = std::pair< const DINode *, const DILocation * >
 
using InstrRangesMap = MapVector< InlinedEntity, InstrRanges >
 

Public Member Functions

void startInstrRange (InlinedEntity Var, const MachineInstr &MI)
 
void endInstrRange (InlinedEntity Var, const MachineInstr &MI)
 
unsigned getRegisterForVar (InlinedEntity Var) const
 
bool empty () const
 
void clear ()
 
InstrRangesMap::const_iterator begin () const
 
InstrRangesMap::const_iterator end () const
 
LLVM_DUMP_METHOD void dump () const
 

Detailed Description

Definition at line 27 of file DbgEntityHistoryCalculator.h.

Member Typedef Documentation

◆ InlinedEntity

Definition at line 36 of file DbgEntityHistoryCalculator.h.

◆ InstrRange

Definition at line 34 of file DbgEntityHistoryCalculator.h.

◆ InstrRanges

Definition at line 35 of file DbgEntityHistoryCalculator.h.

◆ InstrRangesMap

Definition at line 37 of file DbgEntityHistoryCalculator.h.

Member Function Documentation

◆ begin()

InstrRangesMap::const_iterator llvm::DbgValueHistoryMap::begin ( ) const
inline

◆ clear()

void llvm::DbgValueHistoryMap::clear ( )
inline

◆ dump()

LLVM_DUMP_METHOD void DbgValueHistoryMap::dump ( ) const

◆ empty()

bool llvm::DbgValueHistoryMap::empty ( ) const
inline

◆ end()

InstrRangesMap::const_iterator llvm::DbgValueHistoryMap::end ( ) const
inline

◆ endInstrRange()

void DbgValueHistoryMap::endInstrRange ( InlinedEntity  Var,
const MachineInstr MI 
)

Definition at line 60 of file DbgEntityHistoryCalculator.cpp.

References assert(), llvm::MachineInstr::getParent(), and MI.

Referenced by clobberRegisterUses().

◆ getRegisterForVar()

unsigned DbgValueHistoryMap::getRegisterForVar ( InlinedEntity  Var) const

◆ startInstrRange()

void DbgValueHistoryMap::startInstrRange ( InlinedEntity  Var,
const MachineInstr MI 
)

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