LLVM 19.0.0git
Functions
Utility declarations/definitions specific to ARC.

Functions

static const ValueFindSingleUseIdentifiedObject (const Value *Arg)
 This is similar to GetRCIdentityRoot but it stops as soon as it finds a value with multiple uses.
 

Detailed Description

Function Documentation

◆ FindSingleUseIdentifiedObject()

static const Value * FindSingleUseIdentifiedObject ( const Value Arg)
static

This is similar to GetRCIdentityRoot but it stops as soon as it finds a value with multiple uses.

Definition at line 86 of file ObjCARCOpts.cpp.

References FindSingleUseIdentifiedObject(), GEP, llvm::objcarc::GetBasicARCInstKind(), llvm::objcarc::GetRCIdentityRoot(), llvm::Value::hasOneUse(), llvm::objcarc::IsForwarding(), llvm::objcarc::IsObjCIdentifiedObject(), and llvm::Value::users().

Referenced by FindSingleUseIdentifiedObject().