Components of the pointer that may be captured.

Synopsis

Declared in <llvm/Support/ModRef.h>

enum class CaptureComponents : uint8_t;

Members

Name

Description

None

No pointer components are captured.

AddressIsNull

Only whether the address compares equal to null may be captured.

Address

The pointer address (including nullness) may be captured.

ReadProvenance

Capture of read‐only provenance without full provenance.

Provenance

Provenance metadata, including read‐only and full provenance capture.

All

All address and provenance components may be captured.

LLVM_BITMASK_LARGEST_ENUMERATOR

All address and provenance components may be captured.

Non-Member Functions

Name

Description

PointerMayBeCapturedBefore

Return which components of the pointer may be captured on the path to I.

capturesAddress

Return whether CC captures any address component.

capturesAddressIsNullOnly

Return whether CC captures only address‐is‐null, not the full address.

capturesAll

Return whether CC includes every capture component.

capturesAnyProvenance

Return true if CC captures any provenance component.

capturesAnything

Return whether any pointer component may be captured in CC.

capturesFullProvenance

Return whether CC captures full provenance (not merely read‐only).

capturesNothing

Return whether CC captures no pointer components.

capturesReadProvenanceOnly

Return whether CC captures read‐only provenance but not full provenance.

Created with MrDocs