LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::ImmutableStatepoint Class Reference

A specialization of it's base class for read only access to a gc.statepoint. More...

#include "llvm/IR/Statepoint.h"

Inheritance diagram for llvm::ImmutableStatepoint:
Inheritance graph
[legend]
Collaboration diagram for llvm::ImmutableStatepoint:
Collaboration graph
[legend]

Public Member Functions

 ImmutableStatepoint (const Instruction *I)
 
 ImmutableStatepoint (const CallBase *Call)
 
- Public Member Functions inherited from llvm::StatepointBase< const Function, const Instruction, const Value, const CallBase >
void * operator new (size_t, unsigned)=delete
 
void * operator new (size_t s)=delete
 
 operator bool () const
 
const CallBasegetCall () const
 Return the underlying call instruction. More...
 
uint64_t getFlags () const
 
uint64_t getID () const
 Return the ID associated with this statepoint. More...
 
uint32_t getNumPatchBytes () const
 Return the number of patchable bytes associated with this statepoint. More...
 
const ValuegetCalledValue () const
 Return the value actually being called or invoked. More...
 
const InstructiongetInstruction () const
 
const FunctiongetCalledFunction () const
 Return the function being called if this is a direct call, otherwise return null (if it's an indirect call). More...
 
const FunctiongetCaller () const
 Return the caller function for this statepoint. More...
 
bool doesNotThrow () const
 Determine if the statepoint cannot unwind. More...
 
TypegetActualReturnType () const
 Return the type of the value returned by the call underlying the statepoint. More...
 
int getNumCallArgs () const
 Number of arguments to be passed to the actual callee. More...
 
size_t arg_size () const
 
arg_iterator arg_begin () const
 
arg_iterator arg_end () const
 
const ValuegetArgument (unsigned Index)
 
iterator_range< arg_iteratorcall_args () const
 range adapter for call arguments More...
 
bool paramHasAttr (unsigned i, Attribute::AttrKind A) const
 Return true if the call or the callee has the given attribute. More...
 
int getNumTotalGCTransitionArgs () const
 Number of GC transition args. More...
 
arg_iterator gc_transition_args_begin () const
 
arg_iterator gc_transition_args_end () const
 
iterator_range< arg_iteratorgc_transition_args () const
 range adapter for GC transition arguments More...
 
int getNumTotalVMSArgs () const
 Number of additional arguments excluding those intended for garbage collection. More...
 
arg_iterator deopt_begin () const
 
arg_iterator deopt_end () const
 
iterator_range< arg_iteratordeopt_operands () const
 range adapter for vm state arguments More...
 
arg_iterator gc_args_begin () const
 
arg_iterator gc_args_end () const
 
unsigned gcArgsStartIdx () const
 
iterator_range< arg_iteratorgc_args () const
 range adapter for gc arguments More...
 
std::vector< const GCRelocateInst *> getRelocates () const
 Get list of all gc reloactes linked to this statepoint May contain several relocations for the same base/derived pair. More...
 
const GCResultInstgetGCResult () const
 Get the experimental_gc_result call tied to this statepoint. More...
 
void verify ()
 Asserts if this statepoint is malformed. More...
 

Additional Inherited Members

- Public Types inherited from llvm::StatepointBase< const Function, const Instruction, const Value, const CallBase >
enum  
 
using arg_iterator = typename const CallBase ::const_op_iterator
 
- Protected Member Functions inherited from llvm::StatepointBase< const Function, const Instruction, const Value, const CallBase >
 StatepointBase (const Instruction *I)
 
 StatepointBase (const CallBase *Call)
 

Detailed Description

A specialization of it's base class for read only access to a gc.statepoint.

Definition at line 292 of file Statepoint.h.

Constructor & Destructor Documentation

◆ ImmutableStatepoint() [1/2]

llvm::ImmutableStatepoint::ImmutableStatepoint ( const Instruction I)
inlineexplicit

Definition at line 299 of file Statepoint.h.

◆ ImmutableStatepoint() [2/2]

llvm::ImmutableStatepoint::ImmutableStatepoint ( const CallBase Call)
inlineexplicit

Definition at line 300 of file Statepoint.h.


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