llvm-6502/lib/Transforms/ObjCARC
Michael Gottesman 26dbfb6a78 [ObjCARC Annotations] Added support for displaying the state of pointers at the bottom/top of BBs of the ARC dataflow analysis for both bottomup and topdown analyses.
This will allow for verification and analysis of the merge function of
the data flow analyses in the ARC optimizer.

The actual implementation of this feature is by introducing calls to
the functions llvm.arc.annotation.{bottomup,topdown}.{bbstart,bbend}
which are only declared. Each such call takes in a pointer to a global
with the same name as the pointer whose provenance is being tracked and
a pointer whose name is one of our Sequence states and points to a
string that contains the same name.

To ensure that the optimizer does not consider these annotations in any
way, I made it so that the annotations are considered to be of IC_None
type.

A test case is included for this commit and the previous
ObjCARCAnnotation commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177952 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-26 00:42:09 +00:00
..
CMakeLists.txt
DependencyAnalysis.cpp
DependencyAnalysis.h
LLVMBuild.txt
Makefile
ObjCARC.cpp
ObjCARC.h
ObjCARCAliasAnalysis.cpp
ObjCARCAliasAnalysis.h
ObjCARCAPElim.cpp
ObjCARCContract.cpp
ObjCARCExpand.cpp
ObjCARCOpts.cpp
ObjCARCUtil.cpp
ProvenanceAnalysis.cpp
ProvenanceAnalysis.h