[IPSCCP] Move the IPSCCP run function under the IPO directory.
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Fri, 9 Dec 2022 11:05:03 +0000 (11:05 +0000)
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Fri, 9 Dec 2022 15:05:11 +0000 (15:05 +0000)
commit9ebaf4fef4aac89d4eff08e48185d61bc893f14e
treeef308d0904567aaa325f57c17e3fe3766ef73475
parentd5765371092d0f3a6fa72f8f130bb75d1d90de08
[IPSCCP] Move the IPSCCP run function under the IPO directory.

Reland 42c2dc401742266da3e0251b6c1ca491f4779963 which was reverted
in cb03b1bd99313a728d47060b909a73e7f5991231. The fix for the link
errors was to reintroduce one of the two occurences of 'Scalar'
under the LINK_COMPONENTS.

Differential Revision: https://reviews.llvm.org/D138654
llvm/include/llvm/Transforms/Scalar/SCCP.h
llvm/include/llvm/Transforms/Utils/SCCPSolver.h
llvm/lib/Transforms/IPO/CMakeLists.txt
llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
llvm/lib/Transforms/IPO/SCCP.cpp
llvm/lib/Transforms/Scalar/SCCP.cpp
llvm/lib/Transforms/Utils/SCCPSolver.cpp
llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn