diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2021-06-07 14:31:40 -0400 |
---|---|---|
committer | Huber, Joseph <huberjn@ornl.gov> | 2021-06-22 14:12:46 -0400 |
commit | 30e36c9b3c6a6889ea54c0a4cca60768dfc64421 (patch) | |
tree | 5d422e1da7e0b3cf1b8dee7e95dedf7afed602c5 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 015c27caa2c9de22a0a2181675101412ec777cf8 (diff) | |
download | llvm-30e36c9b3c6a6889ea54c0a4cca60768dfc64421.zip llvm-30e36c9b3c6a6889ea54c0a4cca60768dfc64421.tar.gz llvm-30e36c9b3c6a6889ea54c0a4cca60768dfc64421.tar.bz2 |
[Attributor] Add interface to emit remarks in Attributor
Summary:
This patch adds support for the Attributor to emit remarks on behalf of some
other pass. The attributor can now optionally take a callback function that
returns an OptimizationRemarkEmitter object when given a Function pointer. If
this is availible then a remark will be emitted for the corresponding pass
name.
Depends on D102197
Reviewed By: sstefan1 thegameg
Differential Revision: https://reviews.llvm.org/D102444
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions