LLVM  6.0.0svn
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/ADT/StringSwitch.h"
#include "llvm/Analysis/ObjCARCAnalysisUtils.h"
#include "llvm/IR/Intrinsics.h"
Include dependency graph for ObjCARCInstKind.cpp:

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 183 of file ObjCARCInstKind.cpp.

References prefetch.

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

◆ isUseOnlyIntrinsic()

static bool isUseOnlyIntrinsic ( unsigned  ID)
static

Definition at line 221 of file ObjCARCInstKind.cpp.

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