|
LLVM
3.7.0
|
#include <StackMapParser.h>
Classes | |
| class | AccessorIterator |
| class | ConstantAccessor |
| Accessor for constants. More... | |
| class | FunctionAccessor |
| Accessor for function records. More... | |
| class | LiveOutAccessor |
| Accessor for stackmap live-out fields. More... | |
| class | LocationAccessor |
| Accessor for location records. More... | |
| class | RecordAccessor |
| Accessor for stackmap records. More... | |
Public Types | |
| enum | LocationKind : uint8_t { LocationKind::Register = 1, LocationKind::Direct = 2, LocationKind::Indirect = 3, LocationKind::Constant = 4, LocationKind::ConstantIndex = 5 } |
| typedef AccessorIterator < FunctionAccessor > | function_iterator |
| typedef AccessorIterator < ConstantAccessor > | constant_iterator |
| typedef AccessorIterator < RecordAccessor > | record_iterator |
Public Member Functions | |
| StackMapV1Parser (ArrayRef< uint8_t > StackMapSection) | |
| Construct a parser for a version-1 stackmap. More... | |
| unsigned | getVersion () const |
| Get the version number of this stackmap. (Always returns 1). More... | |
| uint32_t | getNumFunctions () const |
| Get the number of functions in the stack map. More... | |
| uint32_t | getNumConstants () const |
| Get the number of large constants in the stack map. More... | |
| uint32_t | getNumRecords () const |
| Get the number of stackmap records in the stackmap. More... | |
| FunctionAccessor | getFunction (unsigned FunctionIndex) const |
| Return an FunctionAccessor for the given function index. More... | |
| function_iterator | functions_begin () const |
| Begin iterator for functions. More... | |
| function_iterator | functions_end () const |
| End iterator for functions. More... | |
| iterator_range< function_iterator > | functions () const |
| Iterator range for functions. More... | |
| ConstantAccessor | getConstant (unsigned ConstantIndex) const |
| Return the large constant at the given index. More... | |
| constant_iterator | constants_begin () const |
| Begin iterator for constants. More... | |
| constant_iterator | constants_end () const |
| End iterator for constants. More... | |
| iterator_range< constant_iterator > | constants () const |
| Iterator range for constants. More... | |
| RecordAccessor | getRecord (unsigned RecordIndex) const |
| Return a RecordAccessor for the given record index. More... | |
| record_iterator | records_begin () const |
| Begin iterator for records. More... | |
| record_iterator | records_end () const |
| End iterator for records. More... | |
| iterator_range< record_iterator > | records () const |
| Iterator range for records. More... | |
Definition at line 21 of file StackMapParser.h.
| typedef AccessorIterator<ConstantAccessor> llvm::StackMapV1Parser< Endianness >::constant_iterator |
Definition at line 316 of file StackMapParser.h.
| typedef AccessorIterator<FunctionAccessor> llvm::StackMapV1Parser< Endianness >::function_iterator |
Definition at line 315 of file StackMapParser.h.
| typedef AccessorIterator<RecordAccessor> llvm::StackMapV1Parser< Endianness >::record_iterator |
Definition at line 317 of file StackMapParser.h.
|
strong |
| Enumerator | |
|---|---|
| Register | |
| Direct | |
| Indirect | |
| Constant | |
| ConstantIndex | |
Definition at line 100 of file StackMapParser.h.
|
inline |
Construct a parser for a version-1 stackmap.
StackMap data will be read from the given array.
Definition at line 298 of file StackMapParser.h.
References llvm::StackMapV1Parser< Endianness >::getNumConstants(), llvm::StackMapV1Parser< Endianness >::getNumFunctions(), llvm::StackMapV1Parser< Endianness >::getNumRecords(), and I.
|
inline |
Iterator range for constants.
Definition at line 379 of file StackMapParser.h.
References llvm::StackMapV1Parser< Endianness >::constants_begin(), llvm::StackMapV1Parser< Endianness >::constants_end(), and llvm::make_range().
|
inline |
Begin iterator for constants.
Definition at line 367 of file StackMapParser.h.
References llvm::StackMapV1Parser< Endianness >::getConstant().
Referenced by llvm::StackMapV1Parser< Endianness >::constants().
|
inline |
End iterator for constants.
Definition at line 372 of file StackMapParser.h.
References llvm::ArrayRef< T >::data(), and llvm::StackMapV1Parser< Endianness >::getNumConstants().
Referenced by llvm::StackMapV1Parser< Endianness >::constants().
|
inline |
Iterator range for functions.
Definition at line 356 of file StackMapParser.h.
References llvm::StackMapV1Parser< Endianness >::functions_begin(), llvm::StackMapV1Parser< Endianness >::functions_end(), and llvm::make_range().
|
inline |
Begin iterator for functions.
Definition at line 344 of file StackMapParser.h.
References llvm::StackMapV1Parser< Endianness >::getFunction().
Referenced by llvm::StackMapV1Parser< Endianness >::functions().
|
inline |
End iterator for functions.
Definition at line 349 of file StackMapParser.h.
References llvm::ArrayRef< T >::data(), and llvm::StackMapV1Parser< Endianness >::getNumFunctions().
Referenced by llvm::StackMapV1Parser< Endianness >::functions().
|
inline |
Return the large constant at the given index.
Definition at line 361 of file StackMapParser.h.
References llvm::ArrayRef< T >::data().
Referenced by llvm::StackMapV1Parser< Endianness >::constants_begin().
|
inline |
Return an FunctionAccessor for the given function index.
Definition at line 338 of file StackMapParser.h.
References llvm::ArrayRef< T >::data().
Referenced by llvm::StackMapV1Parser< Endianness >::functions_begin().
|
inline |
Get the number of large constants in the stack map.
Definition at line 328 of file StackMapParser.h.
Referenced by llvm::StackMapV1Parser< Endianness >::constants_end(), and llvm::StackMapV1Parser< Endianness >::StackMapV1Parser().
|
inline |
Get the number of functions in the stack map.
Definition at line 323 of file StackMapParser.h.
Referenced by llvm::StackMapV1Parser< Endianness >::functions_end(), and llvm::StackMapV1Parser< Endianness >::StackMapV1Parser().
|
inline |
Get the number of stackmap records in the stackmap.
Definition at line 333 of file StackMapParser.h.
Referenced by llvm::StackMapV1Parser< Endianness >::records_begin(), llvm::StackMapV1Parser< Endianness >::records_end(), and llvm::StackMapV1Parser< Endianness >::StackMapV1Parser().
|
inline |
Return a RecordAccessor for the given record index.
Definition at line 384 of file StackMapParser.h.
References llvm::ArrayRef< T >::data().
Referenced by llvm::StackMapV1Parser< Endianness >::records_begin(), and llvm::StackMapV1Parser< Endianness >::records_end().
|
inline |
Get the version number of this stackmap. (Always returns 1).
Definition at line 320 of file StackMapParser.h.
|
inline |
Iterator range for records.
Definition at line 407 of file StackMapParser.h.
References llvm::make_range(), llvm::StackMapV1Parser< Endianness >::records_begin(), and llvm::StackMapV1Parser< Endianness >::records_end().
|
inline |
Begin iterator for records.
Definition at line 390 of file StackMapParser.h.
References llvm::StackMapV1Parser< Endianness >::getNumRecords(), and llvm::StackMapV1Parser< Endianness >::getRecord().
Referenced by llvm::StackMapV1Parser< Endianness >::records().
|
inline |
End iterator for records.
Definition at line 397 of file StackMapParser.h.
References llvm::StackMapV1Parser< Endianness >::getNumRecords(), and llvm::StackMapV1Parser< Endianness >::getRecord().
Referenced by llvm::StackMapV1Parser< Endianness >::records().
1.8.6