SizeOffsetWeakTrackingVH ‐ Used by ObjectSizeOffsetEvaluator in a DenseMap.

Synopsis

Declared in <llvm/Analysis/MemoryBuiltins.h>

Base Classes

Name

Description

SizeOffsetType<WeakTrackingVH, SizeOffsetWeakTrackingVH>

SizeOffsetType ‐ A base template class for the object size visitors. Used here as a self‐documenting way to handle the values rather than using a std::pair.

Member Functions

Name

Description

SizeOffsetWeakTrackingVH [constructor]

Constructors

anyKnown

Return true if either Size or Offset is known.

bothKnown

Return true if both Size and Offset are known.

knownOffset

Return true if Offset is known.

knownSize

Return true if Size is known.

operator==

Return true if this size/offset pair equals RHS.

operator!=

Return true if this size/offset pair differs from RHS.

Static Member Functions

Name

Description

known

Return true if V still points to an alive Value.

Data Members

Name

Description

Offset

Offset from the start of the underlying object, or an unknown sentinel.

Size

Size of the underlying object, or an unknown sentinel.

Created with MrDocs