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

For each inlined instance of a source-level label, keep the corresponding DBG_LABEL instruction. More...

#include "llvm/CodeGen/DbgEntityHistoryCalculator.h"

Public Types

using InlinedEntity = std::pair< const DINode *, const DILocation * >
 
using InstrMap = MapVector< InlinedEntity, const MachineInstr * >
 

Public Member Functions

void addInstr (InlinedEntity Label, const MachineInstr &MI)
 
bool empty () const
 
void clear ()
 
InstrMap::const_iterator begin () const
 
InstrMap::const_iterator end () const
 

Detailed Description

For each inlined instance of a source-level label, keep the corresponding DBG_LABEL instruction.

The DBG_LABEL instruction could be used to generate a temporary (assembler) label before it.

Definition at line 63 of file DbgEntityHistoryCalculator.h.

Member Typedef Documentation

◆ InlinedEntity

Definition at line 65 of file DbgEntityHistoryCalculator.h.

◆ InstrMap

Definition at line 66 of file DbgEntityHistoryCalculator.h.

Member Function Documentation

◆ addInstr()

void DbgLabelInstrMap::addInstr ( InlinedEntity  Label,
const MachineInstr MI 
)

◆ begin()

InstrMap::const_iterator llvm::DbgLabelInstrMap::begin ( ) const
inline

◆ clear()

void llvm::DbgLabelInstrMap::clear ( )
inline

◆ empty()

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

◆ end()

InstrMap::const_iterator llvm::DbgLabelInstrMap::end ( ) const
inline

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