LLVM  8.0.1
Public Types | Public Member Functions | Friends | List of all members
llvm::StackMapV2Parser< Endianness >::RecordAccessor Class Reference

Accessor for stackmap records. More...

#include "llvm/Object/StackMapParser.h"

Public Types

using location_iterator = AccessorIterator< LocationAccessor >
 
using liveout_iterator = AccessorIterator< LiveOutAccessor >
 

Public Member Functions

uint64_t getID () const
 Get the patchpoint/stackmap ID for this record. More...
 
uint32_t getInstructionOffset () const
 Get the instruction offset (from the start of the containing function) for this record. More...
 
uint16_t getNumLocations () const
 Get the number of locations contained in this record. More...
 
LocationAccessor getLocation (unsigned LocationIndex) const
 Get the location with the given index. More...
 
location_iterator location_begin () const
 Begin iterator for locations. More...
 
location_iterator location_end () const
 End iterator for locations. More...
 
iterator_range< location_iteratorlocations () const
 Iterator range for locations. More...
 
uint16_t getNumLiveOuts () const
 Get the number of liveouts contained in this record. More...
 
LiveOutAccessor getLiveOut (unsigned LiveOutIndex) const
 Get the live-out with the given index. More...
 
liveout_iterator liveouts_begin () const
 Begin iterator for live-outs. More...
 
liveout_iterator liveouts_end () const
 End iterator for live-outs. More...
 
iterator_range< liveout_iteratorliveouts () const
 Iterator range for live-outs. More...
 

Friends

class StackMapV2Parser
 

Detailed Description

template<support::endianness Endianness>
class llvm::StackMapV2Parser< Endianness >::RecordAccessor

Accessor for stackmap records.

Definition at line 191 of file StackMapParser.h.

Member Typedef Documentation

◆ liveout_iterator

template<support::endianness Endianness>
using llvm::StackMapV2Parser< Endianness >::RecordAccessor::liveout_iterator = AccessorIterator<LiveOutAccessor>

Definition at line 196 of file StackMapParser.h.

◆ location_iterator

template<support::endianness Endianness>
using llvm::StackMapV2Parser< Endianness >::RecordAccessor::location_iterator = AccessorIterator<LocationAccessor>

Definition at line 195 of file StackMapParser.h.

Member Function Documentation

◆ getID()

template<support::endianness Endianness>
uint64_t llvm::StackMapV2Parser< Endianness >::RecordAccessor::getID ( ) const
inline

Get the patchpoint/stackmap ID for this record.

Definition at line 199 of file StackMapParser.h.

References P.

◆ getInstructionOffset()

template<support::endianness Endianness>
uint32_t llvm::StackMapV2Parser< Endianness >::RecordAccessor::getInstructionOffset ( ) const
inline

Get the instruction offset (from the start of the containing function) for this record.

Definition at line 205 of file StackMapParser.h.

References P.

◆ getLiveOut()

template<support::endianness Endianness>
LiveOutAccessor llvm::StackMapV2Parser< Endianness >::RecordAccessor::getLiveOut ( unsigned  LiveOutIndex) const
inline

Get the live-out with the given index.

Definition at line 242 of file StackMapParser.h.

References P.

◆ getLocation()

template<support::endianness Endianness>
LocationAccessor llvm::StackMapV2Parser< Endianness >::RecordAccessor::getLocation ( unsigned  LocationIndex) const
inline

Get the location with the given index.

Definition at line 215 of file StackMapParser.h.

References P.

◆ getNumLiveOuts()

template<support::endianness Endianness>
uint16_t llvm::StackMapV2Parser< Endianness >::RecordAccessor::getNumLiveOuts ( ) const
inline

Get the number of liveouts contained in this record.

Definition at line 237 of file StackMapParser.h.

References P.

◆ getNumLocations()

template<support::endianness Endianness>
uint16_t llvm::StackMapV2Parser< Endianness >::RecordAccessor::getNumLocations ( ) const
inline

Get the number of locations contained in this record.

Definition at line 210 of file StackMapParser.h.

References P.

◆ liveouts()

template<support::endianness Endianness>
iterator_range<liveout_iterator> llvm::StackMapV2Parser< Endianness >::RecordAccessor::liveouts ( ) const
inline

Iterator range for live-outs.

Definition at line 259 of file StackMapParser.h.

References llvm::make_range(), and P.

◆ liveouts_begin()

template<support::endianness Endianness>
liveout_iterator llvm::StackMapV2Parser< Endianness >::RecordAccessor::liveouts_begin ( ) const
inline

Begin iterator for live-outs.

Definition at line 249 of file StackMapParser.h.

◆ liveouts_end()

template<support::endianness Endianness>
liveout_iterator llvm::StackMapV2Parser< Endianness >::RecordAccessor::liveouts_end ( ) const
inline

End iterator for live-outs.

Definition at line 254 of file StackMapParser.h.

◆ location_begin()

template<support::endianness Endianness>
location_iterator llvm::StackMapV2Parser< Endianness >::RecordAccessor::location_begin ( ) const
inline

Begin iterator for locations.

Definition at line 222 of file StackMapParser.h.

References getLocation().

◆ location_end()

template<support::endianness Endianness>
location_iterator llvm::StackMapV2Parser< Endianness >::RecordAccessor::location_end ( ) const
inline

End iterator for locations.

Definition at line 227 of file StackMapParser.h.

References getLocation().

◆ locations()

template<support::endianness Endianness>
iterator_range<location_iterator> llvm::StackMapV2Parser< Endianness >::RecordAccessor::locations ( ) const
inline

Iterator range for locations.

Definition at line 232 of file StackMapParser.h.

References llvm::make_range().

Friends And Related Function Documentation

◆ StackMapV2Parser

template<support::endianness Endianness>
friend class StackMapV2Parser
friend

Definition at line 192 of file StackMapParser.h.


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