Determine what kind of capture behaviour U may exhibit.

Synopsis

Declared in <llvm/Analysis/CaptureTracking.h>

UseCaptureInfo
DetermineUseCaptureKind(
    Use const& U,
    Value const* Base);

Description

The returned UseCaptureInfo contains the components captured directly by the use (UseCC) and the components captured through the return value of the user (ResultCC).

Base is the starting value of the capture analysis, which is relevant for address_is_null captures.

Return Value

Capture components for the use and for the user's return value.

Parameters

Name

Description

U

Use whose capture kind is classified.

Base

Starting value of the capture analysis.

Created with MrDocs