LLVM: llvm::CaptureInfo Class Reference (original) (raw)

Represents which components of the pointer may be captured in which location. More...

#include "[llvm/Support/ModRef.h](ModRef%5F8h%5Fsource.html)"

Public Member Functions
CaptureInfo (CaptureComponents OtherComponents, CaptureComponents RetComponents)
CaptureInfo (CaptureComponents Components)
bool isRetOnly () const
Whether the pointer is only captured via the return value.
CaptureComponents getRetComponents () const
Get components potentially captured by the return value.
CaptureComponents getOtherComponents () const
Get components potentially captured through locations other than the return value.
operator CaptureComponents () const
Get the potentially captured components of the pointer (regardless of location).
bool operator== (CaptureInfo Other) const
bool operator!= (CaptureInfo Other) const
CaptureInfo operator| (CaptureInfo Other) const
Compute union of CaptureInfos.
CaptureInfo operator& (CaptureInfo Other) const
Compute intersection of CaptureInfos.
CaptureInfo & operator|= (CaptureInfo Other)
Compute union of CaptureInfos in-place.
CaptureInfo & operator&= (CaptureInfo Other)
Compute intersection of CaptureInfos in-place.
uint32_t toIntValue () const
Convert CaptureInfo into an encoded integer value (used by captures attribute).
Static Public Member Functions
static CaptureInfo none ()
Create CaptureInfo that does not capture any components of the pointer.
static CaptureInfo all ()
Create CaptureInfo that may capture all components of the pointer.
static CaptureInfo retOnly (CaptureComponents RetComponents=CaptureComponents::All)
Create CaptureInfo that may only capture via the return value.
static CaptureInfo createFromIntValue (uint32_t Data)

Represents which components of the pointer may be captured in which location.

This represents the captures(...) attribute in IR.

For more information on the precise semantics see LangRef.

Definition at line 359 of file ModRef.h.

CaptureInfo() [2/2]

all()

createFromIntValue()

getOtherComponents()

getRetComponents()

isRetOnly()

bool llvm::CaptureInfo::isRetOnly ( ) const inline

none()

operator CaptureComponents()

Get the potentially captured components of the pointer (regardless of location).

Definition at line 395 of file ModRef.h.

operator!=()

operator&()

operator&=()

operator==()

operator|()

operator|=()

retOnly()

toIntValue()

uint32_t llvm::CaptureInfo::toIntValue ( ) const inline

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