Remove the very substantial, largely unmaintained legacy PGO
authorChandler Carruth <chandlerc@gmail.com>
Wed, 2 Oct 2013 15:42:23 +0000 (15:42 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 2 Oct 2013 15:42:23 +0000 (15:42 +0000)
commitdd5d86d992eb129ecd0bb013d2db2d6a0e8d2605
treee408dd567e473235623fc853b5b993ea47cf0ce4
parent6ffce6fa9295699078f81fabb9ca32f6f22bdf09
Remove the very substantial, largely unmaintained legacy PGO
infrastructure.

This was essentially work toward PGO based on a design that had several
flaws, partially dating from a time when LLVM had a different
architecture, and with an effort to modernize it abandoned without being
completed. Since then, it has bitrotted for several years further. The
result is nearly unusable, and isn't helping any of the modern PGO
efforts. Instead, it is getting in the way, adding confusion about PGO
in LLVM and distracting everyone with maintenance on essentially dead
code. Removing it paves the way for modern efforts around PGO.

Among other effects, this removes the last of the runtime libraries from
LLVM. Those are being developed in the separate 'compiler-rt' project
now, with somewhat different licensing specifically more approriate for
runtimes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191835 91177308-0d34-0410-b5e6-96231b3b80d8
61 files changed:
CMakeLists.txt
LLVMBuild.txt
Makefile
include/llvm/Analysis/Passes.h
include/llvm/Analysis/PathNumbering.h [deleted file]
include/llvm/Analysis/PathProfileInfo.h [deleted file]
include/llvm/Analysis/ProfileDataLoader.h [deleted file]
include/llvm/Analysis/ProfileDataTypes.h [deleted file]
include/llvm/Analysis/ProfileInfo.h [deleted file]
include/llvm/Analysis/ProfileInfoLoader.h [deleted file]
include/llvm/Analysis/ProfileInfoTypes.h [deleted file]
include/llvm/InitializePasses.h
include/llvm/LinkAllPasses.h
include/llvm/Transforms/Instrumentation.h
lib/Analysis/Analysis.cpp
lib/Analysis/CMakeLists.txt
lib/Analysis/PathNumbering.cpp [deleted file]
lib/Analysis/PathProfileInfo.cpp [deleted file]
lib/Analysis/PathProfileVerifier.cpp [deleted file]
lib/Analysis/ProfileDataLoader.cpp [deleted file]
lib/Analysis/ProfileDataLoaderPass.cpp [deleted file]
lib/Analysis/ProfileEstimatorPass.cpp [deleted file]
lib/Analysis/ProfileInfo.cpp [deleted file]
lib/Analysis/ProfileInfoLoader.cpp [deleted file]
lib/Analysis/ProfileInfoLoaderPass.cpp [deleted file]
lib/Analysis/ProfileVerifierPass.cpp [deleted file]
lib/CodeGen/UnreachableBlockElim.cpp
lib/Transforms/Instrumentation/CMakeLists.txt
lib/Transforms/Instrumentation/EdgeProfiling.cpp [deleted file]
lib/Transforms/Instrumentation/Instrumentation.cpp
lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp [deleted file]
lib/Transforms/Instrumentation/PathProfiling.cpp [deleted file]
lib/Transforms/Scalar/CodeGenPrepare.cpp
lib/Transforms/Utils/BreakCriticalEdges.cpp
lib/Transforms/Utils/Local.cpp
runtime/CMakeLists.txt [deleted file]
runtime/LLVMBuild.txt [deleted file]
runtime/Makefile [deleted file]
runtime/README.txt [deleted file]
runtime/libprofile/BasicBlockTracing.c [deleted file]
runtime/libprofile/CMakeLists.txt [deleted file]
runtime/libprofile/CommonProfiling.c [deleted file]
runtime/libprofile/EdgeProfiling.c [deleted file]
runtime/libprofile/Makefile [deleted file]
runtime/libprofile/OptimalEdgeProfiling.c [deleted file]
runtime/libprofile/PathProfiling.c [deleted file]
runtime/libprofile/Profiling.h [deleted file]
test/Analysis/Profiling/edge-profiling.ll [deleted file]
test/Analysis/Profiling/lit.local.cfg [deleted file]
test/Analysis/Profiling/load-branch-weights-ifs.ll [deleted file]
test/Analysis/Profiling/load-branch-weights-loops.ll [deleted file]
test/Analysis/Profiling/load-branch-weights-switches.ll [deleted file]
test/Analysis/Profiling/profiling-tool-chain.ll [deleted file]
test/lit.cfg
tools/CMakeLists.txt
tools/LLVMBuild.txt
tools/Makefile
tools/llvm-prof/CMakeLists.txt [deleted file]
tools/llvm-prof/LLVMBuild.txt [deleted file]
tools/llvm-prof/Makefile [deleted file]
tools/llvm-prof/llvm-prof.cpp [deleted file]