LLVM  8.0.1
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. More...
 

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 82 of file ObjCARCOpts.cpp.

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

Referenced by llvm::createObjCARCOptPass().