LLVM 20.0.0git
|
Accessor for location records. More...
#include "llvm/Object/StackMapParser.h"
Public Member Functions | |
LocationKind | getKind () const |
Get the Kind for this location. | |
unsigned | getSizeInBytes () const |
Get the Size for this location. | |
uint16_t | getDwarfRegNum () const |
Get the Dwarf register number for this location. | |
uint32_t | getSmallConstant () const |
Get the small-constant for this location. (Kind must be Constant). | |
uint32_t | getConstantIndex () const |
Get the constant-index for this location. (Kind must be ConstantIndex). | |
int32_t | getOffset () const |
Get the offset for this location. (Kind must be Direct or Indirect). | |
Friends | |
class | StackMapParser |
class | RecordAccessor |
Accessor for location records.
Definition at line 110 of file StackMapParser.h.
|
inline |
Get the constant-index for this location. (Kind must be ConstantIndex).
Definition at line 138 of file StackMapParser.h.
References assert(), llvm::StackMapParser< Endianness >::ConstantIndex, llvm::StackMapParser< Endianness >::LocationAccessor::getKind(), and P.
|
inline |
Get the Dwarf register number for this location.
Definition at line 127 of file StackMapParser.h.
References P.
|
inline |
Get the Kind for this location.
Definition at line 116 of file StackMapParser.h.
References P.
Referenced by llvm::StackMapParser< Endianness >::LocationAccessor::getConstantIndex(), llvm::StackMapParser< Endianness >::LocationAccessor::getOffset(), and llvm::StackMapParser< Endianness >::LocationAccessor::getSmallConstant().
|
inline |
Get the offset for this location. (Kind must be Direct or Indirect).
Definition at line 145 of file StackMapParser.h.
References assert(), llvm::StackMapParser< Endianness >::Direct, llvm::StackMapParser< Endianness >::LocationAccessor::getKind(), llvm::StackMapParser< Endianness >::Indirect, and P.
|
inline |
|
inline |
Get the small-constant for this location. (Kind must be Constant).
Definition at line 132 of file StackMapParser.h.
References assert(), llvm::StackMapParser< Endianness >::Constant, llvm::StackMapParser< Endianness >::LocationAccessor::getKind(), and P.
|
friend |
Definition at line 112 of file StackMapParser.h.
|
friend |
Definition at line 111 of file StackMapParser.h.