Introduce ImmutableCallSite, useful for contexts where no mutation
is necessary. Inherits from new templated baseclass CallSiteBase<>
which is highly customizable. Base CallSite on it too, in a configuration
that allows full mutation.
Adapt some call sites in analyses to employ ImmutableCallSite.

llvm-svn: 100100
6 files changed
tree: 41d92616e244e6fac08d8bc839495c10b5a0de87
  1. clang/
  2. compiler-rt/
  3. llvm/