diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2019-11-27 00:30:12 -0600 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-02-08 21:27:34 -0600 |
commit | b0c77c36d2fb1157bb32741278661ace75c4e8da (patch) | |
tree | 2eaf030f23db4351869f45a07f098d4839000ce3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ee3f13b81dc7a8dd51870743b89b4e0cd3ff293b (diff) | |
download | llvm-b0c77c36d2fb1157bb32741278661ace75c4e8da.zip llvm-b0c77c36d2fb1157bb32741278661ace75c4e8da.tar.gz llvm-b0c77c36d2fb1157bb32741278661ace75c4e8da.tar.bz2 |
[Attributor] Add an Attributor CGSCC pass and run it
In addition to the module pass, this patch introduces a CGSCC pass that
runs the Attributor on a strongly connected component of the call graph
(both old and new PM). The Attributor was always design to be used on a
subset of functions which makes this patch mostly mechanical.
The one change is that we give up `norecurse` deduction in the module
pass in favor of doing it during the CGSCC pass. This makes the
interfaces simpler but can be revisited if needed.
Reviewed By: hfinkel
Differential Revision: https://reviews.llvm.org/D70767
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions