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

#include "CodeGen/AsmPrinter/DbgValueHistoryCalculator.h"

Public Types

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

Public Member Functions

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

Detailed Description

Definition at line 27 of file DbgValueHistoryCalculator.h.

Member Typedef Documentation

◆ InlinedVariable

Definition at line 37 of file DbgValueHistoryCalculator.h.

◆ InstrRange

Definition at line 34 of file DbgValueHistoryCalculator.h.

◆ InstrRanges

Definition at line 35 of file DbgValueHistoryCalculator.h.

◆ InstrRangesMap

Definition at line 38 of file DbgValueHistoryCalculator.h.

Member Function Documentation

◆ begin()

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

◆ clear()

void llvm::DbgValueHistoryMap::clear ( )
inline

◆ empty()

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

◆ end()

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

◆ endInstrRange()

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

Definition at line 60 of file DbgValueHistoryCalculator.cpp.

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

Referenced by clobberRegisterUses().

◆ getRegisterForVar()

unsigned DbgValueHistoryMap::getRegisterForVar ( InlinedVariable  Var) const

◆ startInstrRange()

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

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