|
LLVM
10.0.0
|
MI-level Statepoint operands. More...
#include "llvm/CodeGen/StackMaps.h"
Public Types | |
| enum | { IDPos, NBytesPos, NCallArgsPos, CallTargetPos, MetaEnd } |
| enum | { CCOffset = 1, FlagsOffset = 3, NumDeoptOperandsOffset = 5 } |
Public Member Functions | |
| StatepointOpers (const MachineInstr *MI) | |
| unsigned | getVarIdx () const |
| Get starting index of non call related arguments (calling convention, statepoint flags, vm state and gc state). More... | |
| uint64_t | getID () const |
| Return the ID for the given statepoint. More... | |
| uint32_t | getNumPatchBytes () const |
| Return the number of patchable bytes the given statepoint should emit. More... | |
| const MachineOperand & | getCallTarget () const |
| Returns the target of the underlying call. More... | |
MI-level Statepoint operands.
Statepoint operands take the form: <id>, <num patch="" bytes="">, <num call="" arguments>="">, <call target>="">, [call arguments...], <StackMaps::ConstantOp>, <calling convention>="">, <StackMaps::ConstantOp>, <statepoint flags>="">, <StackMaps::ConstantOp>, <num deopt="" args>="">, [deopt args...], <gc base/derived pairs...> <gc allocas...> Note that the last two sets of arguments are not currently length prefixed.
Definition at line 154 of file StackMaps.h.
| anonymous enum |
| Enumerator | |
|---|---|
| IDPos | |
| NBytesPos | |
| NCallArgsPos | |
| CallTargetPos | |
| MetaEnd | |
Definition at line 162 of file StackMaps.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CCOffset | |
| FlagsOffset | |
| NumDeoptOperandsOffset | |
Definition at line 166 of file StackMaps.h.
|
inlineexplicit |
Definition at line 168 of file StackMaps.h.
|
inline |
Returns the target of the underlying call.
Definition at line 185 of file StackMaps.h.
References MI.
Referenced by NoAutoPaddingScope::changeAndComment().
|
inline |
Return the ID for the given statepoint.
Definition at line 177 of file StackMaps.h.
References llvm::StackMapOpers::IDPos, and MI.
|
inline |
Return the number of patchable bytes the given statepoint should emit.
Definition at line 180 of file StackMaps.h.
References MI, and llvm::StackMapOpers::NBytesPos.
Referenced by NoAutoPaddingScope::changeAndComment().
|
inline |
Get starting index of non call related arguments (calling convention, statepoint flags, vm state and gc state).
Definition at line 172 of file StackMaps.h.
References MI.
Referenced by foldPatchpoint().
1.8.13