LLVM  8.0.1
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 (ImmutableCallSite CS)
 
- Public Member Functions inherited from llvm::StatepointBase< const Function, const Instruction, const Value, ImmutableCallSite >
void * operator new (size_t, unsigned)=delete
 
void * operator new (size_t s)=delete
 
 operator bool () const
 
ImmutableCallSite getCallSite () const
 Return the underlying CallSite. 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
 
ImmutableCallSite ::arg_iterator arg_begin () const
 
ImmutableCallSite ::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...
 
ImmutableCallSite ::arg_iterator gc_transition_args_begin () const
 
ImmutableCallSite ::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...
 
ImmutableCallSite ::arg_iterator deopt_begin () const
 
ImmutableCallSite ::arg_iterator deopt_end () const
 
iterator_range< arg_iteratordeopt_operands () const
 range adapter for vm state arguments More...
 
ImmutableCallSite ::arg_iterator gc_args_begin () const
 
ImmutableCallSite ::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, ImmutableCallSite >
enum  
 
using arg_iterator = typename ImmutableCallSite ::arg_iterator
 
- Protected Member Functions inherited from llvm::StatepointBase< const Function, const Instruction, const Value, ImmutableCallSite >
 StatepointBase (const Instruction *I)
 
 StatepointBase (ImmutableCallSite CS)
 

Detailed Description

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

Definition at line 305 of file Statepoint.h.

Constructor & Destructor Documentation

◆ ImmutableStatepoint() [1/2]

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

Definition at line 313 of file Statepoint.h.

◆ ImmutableStatepoint() [2/2]

llvm::ImmutableStatepoint::ImmutableStatepoint ( ImmutableCallSite  CS)
inlineexplicit

Definition at line 314 of file Statepoint.h.


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