[CFLAA] Add offset tracking in CFLGraph.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Wed, 20 Jul 2016 22:53:30 +0000 (22:53 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Wed, 20 Jul 2016 22:53:30 +0000 (22:53 +0000)
commit6febd834b668b04af037c7e0a349556ebd1b79b0
treef79d41a13dfd223ce60c6d37f0702b98780cbd1a
parent7f1b098ab44ba6494b077b001e9bfe3bfb20ebd8
[CFLAA] Add offset tracking in CFLGraph.

(Also, refactor our constexpr handling to be less insane).

This patch lets us track field offsets in the CFL Graph, which is the
first step to making CFLAA field/offset sensitive. Woohoo! Note that
this patch shouldn't visibly change our behavior (since we make no use
of the offsets we're now tracking), so we can't quite add tests for this
yet.

Patch by Jia Chen.

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

llvm-svn: 276201
llvm/lib/Analysis/CFLGraph.h