[BasicAA] Extract WriteOnly predicate on parameters [NFC]
authorPhilip Reames <listmail@philipreames.com>
Wed, 6 Jan 2016 18:10:35 +0000 (18:10 +0000)
committerPhilip Reames <listmail@philipreames.com>
Wed, 6 Jan 2016 18:10:35 +0000 (18:10 +0000)
commit9a7a90005c54ca139b17fd768a2e5c505c91feef
treed0eecb7bf5319a71b826816f0344ffb753972d5e
parentcbe3d30b139aecd28fa1275a8a99461f4d83db1c
[BasicAA] Extract WriteOnly predicate on parameters [NFC]

Since writeonly is the only missing attribute and special case left for the memset/memcpy family of intrinsics, rearrange the code to make that much more clear.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256949 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp