LLVM 20.0.0git
|
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. | |
uint32_t | getInstructionOffset () const |
Get the instruction offset (from the start of the containing function) for this record. | |
uint16_t | getNumLocations () const |
Get the number of locations contained in this record. | |
LocationAccessor | getLocation (unsigned LocationIndex) const |
Get the location with the given index. | |
location_iterator | location_begin () const |
Begin iterator for locations. | |
location_iterator | location_end () const |
End iterator for locations. | |
iterator_range< location_iterator > | locations () const |
Iterator range for locations. | |
uint16_t | getNumLiveOuts () const |
Get the number of liveouts contained in this record. | |
LiveOutAccessor | getLiveOut (unsigned LiveOutIndex) const |
Get the live-out with the given index. | |
liveout_iterator | liveouts_begin () const |
Begin iterator for live-outs. | |
liveout_iterator | liveouts_end () const |
End iterator for live-outs. | |
iterator_range< liveout_iterator > | liveouts () const |
Iterator range for live-outs. | |
Friends | |
class | StackMapParser |
Accessor for stackmap records.
Definition at line 200 of file StackMapParser.h.
using llvm::StackMapParser< Endianness >::RecordAccessor::liveout_iterator = AccessorIterator<LiveOutAccessor> |
Definition at line 205 of file StackMapParser.h.
using llvm::StackMapParser< Endianness >::RecordAccessor::location_iterator = AccessorIterator<LocationAccessor> |
Definition at line 204 of file StackMapParser.h.
|
inline |
Get the patchpoint/stackmap ID for this record.
Definition at line 208 of file StackMapParser.h.
References P.
|
inline |
Get the instruction offset (from the start of the containing function) for this record.
Definition at line 214 of file StackMapParser.h.
References P.
|
inline |
Get the live-out with the given index.
Definition at line 251 of file StackMapParser.h.
References P.
Referenced by llvm::StackMapParser< Endianness >::RecordAccessor::liveouts_begin(), and llvm::StackMapParser< Endianness >::RecordAccessor::liveouts_end().
|
inline |
Get the location with the given index.
Definition at line 224 of file StackMapParser.h.
References P.
Referenced by llvm::StackMapParser< Endianness >::RecordAccessor::location_begin(), and llvm::StackMapParser< Endianness >::RecordAccessor::location_end().
|
inline |
Get the number of liveouts contained in this record.
Definition at line 246 of file StackMapParser.h.
References P.
Referenced by llvm::StackMapParser< Endianness >::RecordAccessor::liveouts_end().
|
inline |
Get the number of locations contained in this record.
Definition at line 219 of file StackMapParser.h.
References P.
Referenced by llvm::StackMapParser< Endianness >::RecordAccessor::location_end().
|
inline |
Iterator range for live-outs.
Definition at line 268 of file StackMapParser.h.
References llvm::StackMapParser< Endianness >::RecordAccessor::liveouts_begin(), llvm::StackMapParser< Endianness >::RecordAccessor::liveouts_end(), and llvm::make_range().
|
inline |
Begin iterator for live-outs.
Definition at line 258 of file StackMapParser.h.
References llvm::StackMapParser< Endianness >::RecordAccessor::getLiveOut().
Referenced by llvm::StackMapParser< Endianness >::RecordAccessor::liveouts().
|
inline |
End iterator for live-outs.
Definition at line 263 of file StackMapParser.h.
References llvm::StackMapParser< Endianness >::RecordAccessor::getLiveOut(), and llvm::StackMapParser< Endianness >::RecordAccessor::getNumLiveOuts().
Referenced by llvm::StackMapParser< Endianness >::RecordAccessor::liveouts().
|
inline |
Begin iterator for locations.
Definition at line 231 of file StackMapParser.h.
References llvm::StackMapParser< Endianness >::RecordAccessor::getLocation().
Referenced by llvm::StackMapParser< Endianness >::RecordAccessor::locations().
|
inline |
End iterator for locations.
Definition at line 236 of file StackMapParser.h.
References llvm::StackMapParser< Endianness >::RecordAccessor::getLocation(), and llvm::StackMapParser< Endianness >::RecordAccessor::getNumLocations().
Referenced by llvm::StackMapParser< Endianness >::RecordAccessor::locations().
|
inline |
Iterator range for locations.
Definition at line 241 of file StackMapParser.h.
References llvm::StackMapParser< Endianness >::RecordAccessor::location_begin(), llvm::StackMapParser< Endianness >::RecordAccessor::location_end(), and llvm::make_range().
|
friend |
Definition at line 201 of file StackMapParser.h.