LLVM 23.0.0git
llvm::UseCaptureInfo Struct Reference

Capture information for a specific Use. More...

#include "llvm/Analysis/CaptureTracking.h"

Public Member Functions

 UseCaptureInfo (CaptureComponents UseCC, CaptureComponents ResultCC=CaptureComponents::None)
bool isPassthrough () const
 operator CaptureComponents () const

Static Public Member Functions

static UseCaptureInfo passthrough ()

Public Attributes

CaptureComponents UseCC
 Components captured by this use.
CaptureComponents ResultCC
 Components captured by the return value of the user of this Use.

Detailed Description

Capture information for a specific Use.

Definition at line 122 of file CaptureTracking.h.

Constructor & Destructor Documentation

◆ UseCaptureInfo()

llvm::UseCaptureInfo::UseCaptureInfo ( CaptureComponents UseCC,
CaptureComponents ResultCC = CaptureComponents::None )
inline

Definition at line 128 of file CaptureTracking.h.

References llvm::None, ResultCC, and UseCC.

Referenced by passthrough().

Member Function Documentation

◆ isPassthrough()

bool llvm::UseCaptureInfo::isPassthrough ( ) const
inline

Definition at line 136 of file CaptureTracking.h.

References llvm::capturesAnything(), llvm::capturesNothing(), ResultCC, and UseCC.

◆ operator CaptureComponents()

llvm::UseCaptureInfo::operator CaptureComponents ( ) const
inline

Definition at line 140 of file CaptureTracking.h.

References ResultCC, and UseCC.

◆ passthrough()

UseCaptureInfo llvm::UseCaptureInfo::passthrough ( )
inlinestatic

Definition at line 132 of file CaptureTracking.h.

References llvm::All, llvm::None, and UseCaptureInfo().

Referenced by llvm::DetermineUseCaptureKind().

Member Data Documentation

◆ ResultCC

CaptureComponents llvm::UseCaptureInfo::ResultCC

Components captured by the return value of the user of this Use.

Definition at line 126 of file CaptureTracking.h.

Referenced by isPassthrough(), operator CaptureComponents(), llvm::PointerMayBeCaptured(), and UseCaptureInfo().

◆ UseCC

CaptureComponents llvm::UseCaptureInfo::UseCC

Components captured by this use.

Definition at line 124 of file CaptureTracking.h.

Referenced by isPassthrough(), operator CaptureComponents(), llvm::PointerMayBeCaptured(), and UseCaptureInfo().


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