Rename AddReadAttrs to FunctionAttrs, and teach it how
to work out (in a very simplistic way) which function
arguments (pointer arguments only) are only dereferenced
and so do not escape.  Mark such arguments 'nocapture'.

llvm-svn: 61525
16 files changed
tree: eb3659c3409e778290353e261c6566fb04538c8c
  1. clang/
  2. llvm/