diff options
author | Pavel Samolysov <samolisov@gmail.com> | 2022-06-28 16:25:54 +0300 |
---|---|---|
committer | Pavel Samolysov <samolisov@gmail.com> | 2022-06-29 10:45:11 +0300 |
commit | 3d9ce9e43d07bbd3ab5c25ee36f417e3d372b94b (patch) | |
tree | b8f1a250c175a5e76ee8dac8b40a6b5a582c2ab7 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 8958057fb1009ee3ef6be1d509ddc4fe801add42 (diff) | |
download | llvm-3d9ce9e43d07bbd3ab5c25ee36f417e3d372b94b.zip llvm-3d9ce9e43d07bbd3ab5c25ee36f417e3d372b94b.tar.gz llvm-3d9ce9e43d07bbd3ab5c25ee36f417e3d372b94b.tar.bz2 |
[ArgPromotion] Remove all the getters and ReplaceCallSite (NFC)
AARGetter is an abstraction over a source of the `AAResults` introduced
to support the legacy pass manager as well as the modern one. Since the
Argument Promotion pass doesn't support the legacy pass manager anymore,
the abstraction is not required and `AAResults` may be used directly.
The instance of the `FunctionAnalysisManager` is passed through the
functions to get all the required analyses just wherever they are
required and do not use the awkward getter callbacks.
The `ReplaceCallSite` parameter was required for the legacy pass manager
only and isn't used anymore, so the parameter has been eliminated.
Differential Revision: https://reviews.llvm.org/D128727
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions