LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
Utility declarations/definitions specific to ARC.

Functions

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

Detailed Description

Function Documentation

static bool AreAnyUnderlyingObjectsAnAlloca ( const Value V)
inlinestatic

This is a wrapper around getUnderlyingObjCPtr along the lines of GetUnderlyingObjects except that it returns early when it sees the first alloca.

Definition at line 182 of file ObjCARCOpts.cpp.

References llvm::SmallVectorBase::empty(), llvm::objcarc::GetUnderlyingObjCPtr(), llvm::SmallPtrSet< PtrType, SmallSize >::insert(), P, llvm::SmallVectorImpl< T >::pop_back_val(), and llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back().

static const Value* FindSingleUseIdentifiedObject ( const Value Arg)
static