LLVM 19.0.0git
Functions
ObjCARCInstKind.cpp File Reference

This file defines several utility functions used by various ARC optimizations which are IMHO too big to be in a header file. More...

#include "llvm/Analysis/ObjCARCInstKind.h"
#include "llvm/Analysis/ObjCARCAnalysisUtils.h"
#include "llvm/IR/Intrinsics.h"

Go to the source code of this file.

Functions

static bool isInertIntrinsic (unsigned ID)
 
static bool isUseOnlyIntrinsic (unsigned ID)
 

Detailed Description

This file defines several utility functions used by various ARC optimizations which are IMHO too big to be in a header file.

WARNING: This file knows about certain library functions. It recognizes them by name, and hardwires knowledge of their semantics.

WARNING: This file knows about how certain Objective-C library functions are used. Naive LLVM IR transformations which would otherwise be behavior-preserving may break these assumptions.

Definition in file ObjCARCInstKind.cpp.

Function Documentation

◆ isInertIntrinsic()

static bool isInertIntrinsic ( unsigned  ID)
static

Definition at line 158 of file ObjCARCInstKind.cpp.

Referenced by llvm::objcarc::GetARCInstKind().

◆ isUseOnlyIntrinsic()

static bool isUseOnlyIntrinsic ( unsigned  ID)
static

Definition at line 197 of file ObjCARCInstKind.cpp.

Referenced by llvm::objcarc::GetARCInstKind().