1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/Transforms/Instrumentation
Teresa Johnson 01add29a48 [ICP] Don't promote when target not defined in module
This guards against cases where the symbol was dead code eliminated in
the binary by ThinLTO, and we have a sample profile collected for one
binary but used to optimize another.

Most of the benefit from ICP comes from inlining the target, which we
can't do with only a declaration anyway. If this is in the pre-ThinLTO
link step (e.g. for instrumentation based PGO), we will attempt the
promotion again in the ThinLTO backend after importing anyway, and we
don't need the early promotion to facilitate that.

Differential Revision: https://reviews.llvm.org/D92804
2020-12-08 07:45:36 -08:00
..
AddressSanitizer.cpp static const char *const foo => const char foo[] 2020-12-01 10:33:18 -08:00
BoundsChecking.cpp
CFGMST.h
CGProfile.cpp
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
ControlHeightReduction.cpp [CHR] Use pred_size (NFC) 2020-11-24 22:52:30 -08:00
DataFlowSanitizer.cpp [dfsan] Add empty APIs for field-level shadow 2020-12-04 21:42:07 +00:00
GCOVProfiling.cpp
HWAddressSanitizer.cpp static const char *const foo => const char foo[] 2020-12-01 10:33:18 -08:00
IndirectCallPromotion.cpp [ICP] Don't promote when target not defined in module 2020-12-08 07:45:36 -08:00
InstrOrderFile.cpp
InstrProfiling.cpp [PGO] Remove the old memop value profiling buckets. 2020-10-15 10:09:49 -07:00
Instrumentation.cpp
MaximumSpanningTree.h
MemorySanitizer.cpp [msan] Replace 8 by kShadowTLSAlignment 2020-12-02 01:09:49 +00:00
MemProfiler.cpp [MemProf] Make __memprof_shadow_memory_dynamic_address dso_local in static relocation model 2020-12-05 21:36:31 -08:00
PGOInstrumentation.cpp Revert "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2020-11-14 13:12:38 +03:00
PGOMemOPSizeOpt.cpp [NFC] Reduce include files dependency. 2020-12-03 18:25:05 +03:00
PoisonChecking.cpp
SanitizerCoverage.cpp static const char *const foo => const char foo[] 2020-12-01 10:33:18 -08:00
ThreadSanitizer.cpp static const char *const foo => const char foo[] 2020-12-01 10:33:18 -08:00
ValueProfileCollector.cpp
ValueProfileCollector.h
ValueProfilePlugins.inc