diff options
author | Vaivaswatha Nagaraj <vn@compilertree.com> | 2015-12-18 11:02:52 +0000 |
---|---|---|
committer | Vaivaswatha Nagaraj <vn@compilertree.com> | 2015-12-18 11:02:52 +0000 |
commit | ed237938da703c55cf83de0ca5090aa35a774a27 (patch) | |
tree | eb8bfa0bcc5ae3b643e56c9c4284cbf7fef02eae /llvm/lib/Bitcode/Reader/BitReader.cpp | |
parent | 652246108005857512e1b9b38b752ea564e97811 (diff) | |
download | bcm5719-llvm-ed237938da703c55cf83de0ca5090aa35a774a27.tar.gz bcm5719-llvm-ed237938da703c55cf83de0ca5090aa35a774a27.zip |
GlobalsAA: Take advantage of ArgMemOnly, InaccessibleMemOnly and InaccessibleMemOrArgMemOnly attributes
Summary:
1. Modify AnalyzeCallGraph() to retain function info for external functions
if the function has [InaccessibleMemOr]ArgMemOnly flags.
2. When analyzing the use of a global is function parameter at a call site,
mark the callee also as modifying the global appropriately.
3. Add additional test cases.
Depends on D15499
Reviewers: hfinkel, jmolloy
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D15605
llvm-svn: 255994
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions