class StackMapParser::RecordAccessor

Declaration

class StackMapParser::RecordAccessor { /* full declaration omitted */ };

Description

Accessor for stackmap records.

Declared at: llvm/include/llvm/Object/StackMapParser.h:201

Member Variables

private const uint8_t* P
private static const unsigned int PatchpointIDOffset = 0
private static const unsigned int InstructionOffsetOffset = PatchpointIDOffset + sizeof(unsigned long)
private static const unsigned int NumLocationsOffset = InstructionOffsetOffset + sizeof(unsigned int) + sizeof(unsigned short)
private static const unsigned int LocationListOffset = NumLocationsOffset + sizeof(unsigned short)
private static const unsigned int LocationSize = sizeof(unsigned long) + sizeof(unsigned int)
private static const unsigned int LiveOutSize = sizeof(unsigned int)

Method Overview

  • private RecordAccessor(const uint8_t * P)
  • public uint64_t getID() const
  • public uint32_t getInstructionOffset() const
  • public llvm::StackMapParser::LiveOutAccessor getLiveOut(unsigned int LiveOutIndex) const
  • public llvm::StackMapParser::LocationAccessor getLocation(unsigned int LocationIndex) const
  • public uint16_t getNumLiveOuts() const
  • private unsigned int getNumLiveOutsOffset() const
  • public uint16_t getNumLocations() const
  • private unsigned int getSizeInBytes() const
  • public iterator_range<llvm::StackMapParser::RecordAccessor::liveout_iterator> liveouts() const
  • public llvm::StackMapParser::RecordAccessor::liveout_iterator liveouts_begin() const
  • public llvm::StackMapParser::RecordAccessor::liveout_iterator liveouts_end() const
  • public llvm::StackMapParser::RecordAccessor::location_iterator location_begin() const
  • public llvm::StackMapParser::RecordAccessor::location_iterator location_end() const
  • public iterator_range<llvm::StackMapParser::RecordAccessor::location_iterator> locations() const
  • private llvm::StackMapParser::RecordAccessor next() const

Methods

RecordAccessor(const uint8_t* P)

Declared at: llvm/include/llvm/Object/StackMapParser.h:274

Parameters

const uint8_t* P

uint64_t getID() const

Description

Get the patchpoint/stackmap ID for this record.

Declared at: llvm/include/llvm/Object/StackMapParser.h:209

uint32_t getInstructionOffset() const

Description

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

Declared at: llvm/include/llvm/Object/StackMapParser.h:215

llvm::StackMapParser::LiveOutAccessor getLiveOut(
    unsigned int LiveOutIndex) const

Description

Get the live-out with the given index.

Declared at: llvm/include/llvm/Object/StackMapParser.h:252

Parameters

unsigned int LiveOutIndex

llvm::StackMapParser::LocationAccessor
getLocation(unsigned int LocationIndex) const

Description

Get the location with the given index.

Declared at: llvm/include/llvm/Object/StackMapParser.h:225

Parameters

unsigned int LocationIndex

uint16_t getNumLiveOuts() const

Description

Get the number of liveouts contained in this record.

Declared at: llvm/include/llvm/Object/StackMapParser.h:247

unsigned int getNumLiveOutsOffset() const

Declared at: llvm/include/llvm/Object/StackMapParser.h:276

uint16_t getNumLocations() const

Description

Get the number of locations contained in this record.

Declared at: llvm/include/llvm/Object/StackMapParser.h:220

unsigned int getSizeInBytes() const

Declared at: llvm/include/llvm/Object/StackMapParser.h:282

iterator_range<
    llvm::StackMapParser::RecordAccessor::
        liveout_iterator>
liveouts() const

Description

Iterator range for live-outs.

Declared at: llvm/include/llvm/Object/StackMapParser.h:269

llvm::StackMapParser::RecordAccessor::
    liveout_iterator
    liveouts_begin() const

Description

Begin iterator for live-outs.

Declared at: llvm/include/llvm/Object/StackMapParser.h:259

llvm::StackMapParser::RecordAccessor::
    liveout_iterator
    liveouts_end() const

Description

End iterator for live-outs.

Declared at: llvm/include/llvm/Object/StackMapParser.h:264

llvm::StackMapParser::RecordAccessor::
    location_iterator
    location_begin() const

Description

Begin iterator for locations.

Declared at: llvm/include/llvm/Object/StackMapParser.h:232

llvm::StackMapParser::RecordAccessor::
    location_iterator
    location_end() const

Description

End iterator for locations.

Declared at: llvm/include/llvm/Object/StackMapParser.h:237

iterator_range<
    llvm::StackMapParser::RecordAccessor::
        location_iterator>
locations() const

Description

Iterator range for locations.

Declared at: llvm/include/llvm/Object/StackMapParser.h:242

llvm::StackMapParser::RecordAccessor next() const

Declared at: llvm/include/llvm/Object/StackMapParser.h:288