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 [CGProfile] don't emit cgprofile entry if called function is dllimport 2020-09-23 16:56:54 -07:00
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 [NFC][GCOV] Fix build: there's llvm::stable_partition() wrapper 2020-10-05 22:52:32 +03:00
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 [MemProf] Rename HeapProfiler to MemProfiler for consistency 2020-09-14 13:14:57 -07:00
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 [ValueTracking] Add UndefOrPoison/Poison-only version of relevant functions 2020-09-09 20:00:26 +09:00
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 - remove unnecessary includes. NFC. 2020-07-23 12:33:13 +01:00
ValueProfileCollector.h ValueProfileCollector.h - remove unnecessary includes. NFC. 2020-07-23 12:33:13 +01:00
ValueProfilePlugins.inc