LLVM  4.0.0
Public Member Functions | List of all members
llvm::StatepointOpers Class Reference

MI-level Statepoint operands. More...

#include <StackMaps.h>

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 MachineOperandgetCallTarget () const
 Returns the target of the underlying call. More...
 

Detailed Description

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 other="" args>="">, [other args], [gc values]

Definition at line 145 of file StackMaps.h.

Constructor & Destructor Documentation

llvm::StatepointOpers::StatepointOpers ( const MachineInstr MI)
inlineexplicit

Definition at line 156 of file StackMaps.h.

Member Function Documentation

const MachineOperand& llvm::StatepointOpers::getCallTarget ( ) const
inline

Returns the target of the underlying call.

Definition at line 173 of file StackMaps.h.

References llvm::MachineInstr::getOperand().

uint64_t llvm::StatepointOpers::getID ( ) const
inline

Return the ID for the given statepoint.

Definition at line 165 of file StackMaps.h.

References llvm::MachineOperand::getImm(), and llvm::MachineInstr::getOperand().

uint32_t llvm::StatepointOpers::getNumPatchBytes ( ) const
inline

Return the number of patchable bytes the given statepoint should emit.

Definition at line 168 of file StackMaps.h.

References llvm::MachineOperand::getImm(), and llvm::MachineInstr::getOperand().

unsigned llvm::StatepointOpers::getVarIdx ( ) const
inline

Get starting index of non call related arguments (calling convention, statepoint flags, vm state and gc state).

Definition at line 160 of file StackMaps.h.

References llvm::MachineOperand::getImm(), and llvm::MachineInstr::getOperand().

Referenced by foldPatchpoint().


The documentation for this class was generated from the following file: