LLVM 22.0.0git
ObjCARCUtil.h File Reference

This file defines ARC utility functions which are used by various parts of the compiler. More...

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::objcarc

Functions

const charllvm::objcarc::getRVMarkerModuleFlagStr ()
bool llvm::objcarc::hasAttachedCallOpBundle (const CallBase *CB)
std::optional< Function * > llvm::objcarc::getAttachedARCFunction (const CallBase *CB)
 This function returns operand bundle clang_arc_attachedcall's argument, which is the address of the ARC runtime function.
bool llvm::objcarc::attachedCallOpBundleNeedsMarker (const CallBase *CB)
 This function determines whether the clang_arc_attachedcall should be emitted with or without the marker.
bool llvm::objcarc::isRetainOrClaimRV (ARCInstKind Kind)
 Check whether the function is retainRV/unsafeClaimRV.
ARCInstKind llvm::objcarc::getAttachedARCFunctionKind (const CallBase *CB)
 This function returns the ARCInstKind of the function attached to operand bundle clang_arc_attachedcall.

Detailed Description

This file defines ARC utility functions which are used by various parts of the compiler.

Definition in file ObjCARCUtil.h.