llvm-project/llvm/lib/Transforms/Instrumentation
Fangrui Song 04e094a336 [PGO] Remove legacy PM passes
Legacy PM for optimization pipeline was deprecated in 13.0.0 and Clang dropped
legacy PM support in D123609. This change removes legacy PM passes for PGO so
that downstream projects won't be able to use it. It seems appropriate to start
removing such "add-on" features like instrumentations, before we remove more
stuff after 15.x is branched.

I have checked many LLVM users and only ldc[1] uses the legacy PGO pass.

[1]: https://github.com/ldc-developers/ldc/issues/3961

Reviewed By: davidxl

Differential Revision: https://reviews.llvm.org/D123834
2022-04-15 10:26:43 -07:00
..
AddressSanitizer.cpp [AddressSanitizer] Allow prefixing memintrinsic calls in kernel mode 2022-03-31 11:14:42 +02:00
BoundsChecking.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
CFGMST.h [Transforms/Instrumentation] Use range-based for loops (NFC) 2021-02-05 21:02:08 -08:00
CGProfile.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
CMakeLists.txt
ControlHeightReduction.cpp [Transform] Apply clang-tidy fixes for readability-redundant-smartptr-get (NFC) 2022-03-20 10:41:22 -07:00
DataFlowSanitizer.cpp [DFSan] Avoid replacing uses of functions in comparisions. 2022-04-14 14:14:52 -07:00
GCOVProfiling.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
HWAddressSanitizer.cpp [AddressSanitizer] Allow prefixing memintrinsic calls in kernel mode 2022-03-31 11:14:42 +02:00
IndirectCallPromotion.cpp [PGO] Remove legacy PM passes 2022-04-15 10:26:43 -07:00
InstrOrderFile.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
InstrProfiling.cpp Revert "[InstrProfiling] No runtime hook for unused funcs" 2022-04-06 01:41:44 +00:00
Instrumentation.cpp [PGO] Remove legacy PM passes 2022-04-15 10:26:43 -07:00
MemProfiler.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
MemorySanitizer.cpp [NFC][msan] Switch pointer to a reference 2022-04-12 18:45:50 -07:00
PGOInstrumentation.cpp [PGO] Remove legacy PM passes 2022-04-15 10:26:43 -07:00
PGOMemOPSizeOpt.cpp [PGO] Remove legacy PM passes 2022-04-15 10:26:43 -07:00
PoisonChecking.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
SanitizerCoverage.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
ThreadSanitizer.cpp [Instruction] Introduce getAtomicSyncScopeID() 2022-03-17 14:59:37 +01:00
ValueProfileCollector.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
ValueProfileCollector.h Cleanup includes: Transforms/Instrumentation & Transforms/Vectorize 2022-03-23 11:06:13 +01:00
ValueProfilePlugins.inc Cleanup includes: Transforms/Instrumentation & Transforms/Vectorize 2022-03-23 11:06:13 +01:00