[OptRemarks] Make OptRemarks more generic: rename OptRemarks to Remarks
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 5 Mar 2019 20:45:17 +0000 (20:45 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 5 Mar 2019 20:45:17 +0000 (20:45 +0000)
commit1c4bab3ba4e0e16479c3be32996269ebf45bafa1
tree43184ba6b0d33dafbbe84d89579a79f671491a65
parent47db2262ebcc598a51b2855b112b809cf41774c3
[OptRemarks] Make OptRemarks more generic: rename OptRemarks to Remarks

Getting rid of the name "optimization remarks" for anything that
involves handling remarks on the client side.

It's safer to do this now, before we get stuck with that name in all the
APIs and public interfaces we decide to export to users in the future.

This renames llvm/tools/opt-remarks to llvm/tools/remarks-shlib, and now
generates `libRemarks.dylib` instead of `libOptRemarks.dylib`.

Differential Revision: https://reviews.llvm.org/D58535

llvm-svn: 355439
20 files changed:
llvm/cmake/modules/AddLLVM.cmake
llvm/include/llvm-c/Remarks.h [moved from llvm/include/llvm-c/OptRemarks.h with 59% similarity]
llvm/lib/CMakeLists.txt
llvm/lib/LLVMBuild.txt
llvm/lib/OptRemarks/CMakeLists.txt [deleted file]
llvm/lib/Remarks/CMakeLists.txt [new file with mode: 0644]
llvm/lib/Remarks/LLVMBuild.txt [moved from llvm/lib/OptRemarks/LLVMBuild.txt with 88% similarity]
llvm/lib/Remarks/RemarkParser.cpp [moved from llvm/lib/OptRemarks/OptRemarksParser.cpp with 85% similarity]
llvm/tools/llvm-opt-report/CMakeLists.txt
llvm/tools/llvm-opt-report/OptReport.cpp
llvm/tools/opt-remarks/CMakeLists.txt [deleted file]
llvm/tools/opt-remarks/OptRemarks.exports [deleted file]
llvm/tools/remarks-shlib/CMakeLists.txt [new file with mode: 0644]
llvm/tools/remarks-shlib/Remarks.exports [new file with mode: 0644]
llvm/tools/remarks-shlib/libremarks.cpp [moved from llvm/tools/opt-remarks/liboptremarks.cpp with 63% similarity]
llvm/unittests/CMakeLists.txt
llvm/unittests/OptRemarks/CMakeLists.txt [deleted file]
llvm/unittests/OptRemarks/OptRemarksParsingTest.cpp [deleted file]
llvm/unittests/Remarks/CMakeLists.txt [new file with mode: 0644]
llvm/unittests/Remarks/RemarksParsingTest.cpp [new file with mode: 0644]