summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseTemplate.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <jdoerfert@anl.gov>2019-07-08 23:27:20 +0000
committerJohannes Doerfert <jdoerfert@anl.gov>2019-07-08 23:27:20 +0000
commitaccd3e87478eb75d455e016500ef3d2ddbeca82d (patch)
treeb4f37ef263128fdbfaecc9e7a03a04b6df0125da /clang/lib/Parse/ParseTemplate.cpp
parent793231c319f05c476071f0aad5104219be9185f8 (diff)
downloadbcm5719-llvm-accd3e87478eb75d455e016500ef3d2ddbeca82d.tar.gz
bcm5719-llvm-accd3e87478eb75d455e016500ef3d2ddbeca82d.zip
[Attributor] Deduce the "returned" argument attribute
Deduce the "returned" argument attribute by collecting all potentially returned values. Not only the unique return value, if any, can be used by subsequent attributes but also the set of all potentially returned values as well as the mapping from returned values to return instructions that they originate from (see AAReturnedValues::checkForallReturnedValues). Change in statistics (-stats) for LLVM-TS + Spec2006, totaling ~19% more "returned" arguments. ADDED: attributor NumAttributesManifested n/a -> 637 ADDED: attributor NumAttributesValidFixpoint n/a -> 25545 ADDED: attributor NumFnArgumentReturned n/a -> 637 ADDED: attributor NumFnKnownReturns n/a -> 25545 ADDED: attributor NumFnUniqueReturned n/a -> 14118 CHANGED: deadargelim NumRetValsEliminated 470 -> 449 ( -4.468%) REMOVED: functionattrs NumReturned 535 -> n/a CHANGED: indvars NumElimIdentity 138 -> 164 ( +18.841%) Reviewers: homerdin, hfinkel, fedor.sergeev, sanjoy, spatel, nlopes, nicholas, reames, efriedma, chandlerc Subscribers: hiraditya, bollu, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D59919 llvm-svn: 365407
Diffstat (limited to 'clang/lib/Parse/ParseTemplate.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud