LLVM 20.0.0git
Namespaces | Functions
ObjCARCUtil.h File Reference

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

#include "llvm/Analysis/ObjCARCInstKind.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/InstrTypes.h"
#include "llvm/IR/LLVMContext.h"

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::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.