LLVM API Documentation

Namespaces | Defines | Functions
ObjCARCAliasAnalysis.cpp File Reference
#include "ObjCARC.h"
#include "ObjCARCAliasAnalysis.h"
#include "llvm/IR/Instruction.h"
#include "llvm/InitializePasses.h"
#include "llvm/PassAnalysisSupport.h"
#include "llvm/PassSupport.h"
Include dependency graph for ObjCARCAliasAnalysis.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Defines

#define DEBUG_TYPE   "objc-arc-aa"

Functions

 INITIALIZE_AG_PASS (ObjCARCAliasAnalysis, AliasAnalysis,"objc-arc-aa","ObjC-ARC-Based Alias Analysis", false, true, false) ImmutablePass *llvm

Detailed Description

This file defines a simple ARC-aware AliasAnalysis using special knowledge of Objective C to enhance other optimization passes which rely on the Alias Analysis infrastructure.

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 ObjCARCAliasAnalysis.cpp.


Define Documentation

#define DEBUG_TYPE   "objc-arc-aa"

Definition at line 23 of file ObjCARCAliasAnalysis.cpp.


Function Documentation

INITIALIZE_AG_PASS ( ObjCARCAliasAnalysis  ,
AliasAnalysis  ,
"objc-arc-aa ,
"ObjC-ARC-Based Alias Analysis ,
false  ,
true  ,
false   
)

Definition at line 41 of file ObjCARCAliasAnalysis.cpp.