|
LLVM 22.0.0git
|
MI-level stackmap operands. More...
#include "llvm/CodeGen/StackMaps.h"
Public Types | |
| enum | { IDPos , NBytesPos } |
| Enumerate the meta operands. More... | |
Public Member Functions | |
| LLVM_ABI | StackMapOpers (const MachineInstr *MI) |
| uint64_t | getID () const |
| Return the ID for the given stackmap. | |
| uint32_t | getNumPatchBytes () const |
| Return the number of patchable bytes the given stackmap should emit. | |
| unsigned | getVarIdx () const |
| Get the operand index of the variable list of non-argument operands. | |
MI-level stackmap operands.
MI stackmap operations take the form: <id>, <numBytes>, live args...
Definition at line 36 of file StackMaps.h.
| anonymous enum |
|
explicit |
Definition at line 55 of file StackMaps.cpp.
References assert(), and getVarIdx().
|
inline |
|
inline |
Return the number of patchable bytes the given stackmap should emit.
Definition at line 51 of file StackMaps.h.
References NBytesPos.
Referenced by llvm::AArch64InstrInfo::getInstSizeInBytes(), llvm::PPCInstrInfo::getInstSizeInBytes(), and llvm::RISCVInstrInfo::getInstSizeInBytes().
|
inline |
Get the operand index of the variable list of non-argument operands.
These hold the "live state".
Definition at line 57 of file StackMaps.h.
Referenced by llvm::StackMaps::recordStackMap(), and StackMapOpers().