|
LLVM
5.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 155 of file StackMaps.h.
| anonymous enum |
| Enumerator | |
|---|---|
| IDPos | |
| NBytesPos | |
| NCallArgsPos | |
| CallTargetPos | |
| MetaEnd | |
Definition at line 163 of file StackMaps.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CCOffset | |
| FlagsOffset | |
| NumDeoptOperandsOffset | |
Definition at line 167 of file StackMaps.h.
|
inlineexplicit |
Definition at line 169 of file StackMaps.h.
|
inline |
Returns the target of the underlying call.
Definition at line 186 of file StackMaps.h.
References CallTargetPos, and llvm::MachineInstr::getOperand().
|
inline |
Return the ID for the given statepoint.
Definition at line 178 of file StackMaps.h.
References llvm::MachineOperand::getImm(), llvm::MachineInstr::getOperand(), and IDPos.
|
inline |
Return the number of patchable bytes the given statepoint should emit.
Definition at line 181 of file StackMaps.h.
References llvm::MachineOperand::getImm(), llvm::MachineInstr::getOperand(), and NBytesPos.
|
inline |
Get starting index of non call related arguments (calling convention, statepoint flags, vm state and gc state).
Definition at line 173 of file StackMaps.h.
References llvm::MachineOperand::getImm(), llvm::MachineInstr::getOperand(), MetaEnd, and NCallArgsPos.
Referenced by foldPatchpoint().
1.8.6