A wrapper for GetUnderlyingObjCPtr used for results memoization.

Synopsis

Declared in <llvm/Analysis/ObjCARCAnalysisUtils.h>

Value const*
GetUnderlyingObjCPtrCached(
    Value const* V,
    DenseMap<Value const*, std::pair<WeakVH, WeakTrackingVH>>& Cache);

Return Value

The cached or freshly computed underlying ObjC pointer.

Parameters

Name

Description

V

Value whose underlying ObjC pointer is requested.

Cache

Memoization map from input values to computed roots.

Created with MrDocs