LLVM 22.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.
|
inline |
Get the instruction offset (from the start of the containing function) for this record.
Definition at line 214 of file StackMapParser.h.
|
inline |
Get the live-out with the given index.
Definition at line 251 of file StackMapParser.h.
Referenced by liveouts_begin(), and liveouts_end().
|
inline |
Get the location with the given index.
Definition at line 224 of file StackMapParser.h.
Referenced by location_begin(), and location_end().
|
inline |
Get the number of liveouts contained in this record.
Definition at line 246 of file StackMapParser.h.
Referenced by liveouts_end().
|
inline |
Get the number of locations contained in this record.
Definition at line 219 of file StackMapParser.h.
Referenced by location_end().
|
inline |
Iterator range for live-outs.
Definition at line 268 of file StackMapParser.h.
References liveouts_begin(), liveouts_end(), and llvm::make_range().
|
inline |
Begin iterator for live-outs.
Definition at line 258 of file StackMapParser.h.
References getLiveOut().
Referenced by liveouts().
|
inline |
End iterator for live-outs.
Definition at line 263 of file StackMapParser.h.
References getLiveOut(), and getNumLiveOuts().
Referenced by liveouts().
|
inline |
Begin iterator for locations.
Definition at line 231 of file StackMapParser.h.
References getLocation().
Referenced by locations().
|
inline |
End iterator for locations.
Definition at line 236 of file StackMapParser.h.
References getLocation(), and getNumLocations().
Referenced by locations().
|
inline |
Iterator range for locations.
Definition at line 241 of file StackMapParser.h.
References location_begin(), location_end(), and llvm::make_range().
|
friend |
Definition at line 201 of file StackMapParser.h.
References StackMapParser.
Referenced by StackMapParser.