[CFLAA] Add more offset-sensitivity tracking.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Fri, 22 Jul 2016 22:30:48 +0000 (22:30 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Fri, 22 Jul 2016 22:30:48 +0000 (22:30 +0000)
commit4ec1753ff44c283885202115f090d8cab425fe1b
treefee1e1082ef6a7642082aacd123e060c9325a420
parent716814aa8acfe7a19e60e56d41bd6920a51fdd05
[CFLAA] Add more offset-sensitivity tracking.

This patch teaches FunctionInfo about offsets.

Like the last patch, this one doesn't introduce any visible
functionality change (the core algorithm knows nothing about offsets;
they're just plumbed through). Tests will come when we start acting
differently because of the offsets.

Patch by Jia Chen.

(N.B. I made a tiny change to Jia's patch to avoid warnings by GCC: I
put DenseMapInfo specializations in the `llvm` namespace. Only realized
that those appeared when compiling locally. :) )

Differential Revision: https://reviews.llvm.org/D22634

llvm-svn: 276486
llvm/lib/Analysis/AliasAnalysisSummary.cpp
llvm/lib/Analysis/AliasAnalysisSummary.h
llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp
llvm/lib/Analysis/CFLGraph.h
llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp