llvm-project/llvm/lib/Transforms/Instrumentation
Marco Elver 9ae87b5973 [Instrumentation] Share InstrumentationIRBuilder between TSan and SanCov
Factor our InstrumentationIRBuilder and share it between ThreadSanitizer
and SanitizerCoverage. Simplify its usage at the same time (use function
of passed Instruction or BasicBlock).

This class may be used in other instrumentation passes in future.

NFCI.

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D125038
2022-05-06 09:15:17 +02:00
..
AddressSanitizer.cpp [iwyu] Handle regressions in libLLVM header include 2022-05-04 08:32:38 +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 llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
ControlHeightReduction.cpp [CHR] Skip region containing llvm.coro.id 2022-04-27 10:27:25 -07:00
DataFlowSanitizer.cpp [DFSan] Print an error before calling null extern_weak functions, incase dfsan instrumentation optimized out a null check. 2022-04-19 17:01:41 -07:00
GCOVProfiling.cpp [iwyu] Handle regressions in libLLVM header include 2022-05-04 08:32:38 +02:00
HWAddressSanitizer.cpp [iwyu] Handle regressions in libLLVM header include 2022-05-04 08:32:38 +02:00
IndirectCallPromotion.cpp [iwyu] Handle regressions in libLLVM header include 2022-05-04 08:32:38 +02:00
InstrOrderFile.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
InstrProfiling.cpp [AIX][PGO] Enable linux style PGO on AIX 2022-05-05 04:10:39 +00:00
Instrumentation.cpp [LegacyPM] Remove ThreadSanitizerLegacyPass 2022-04-27 16:25:41 -07:00
MemProfiler.cpp [memprof] Only insert dynamic shadow load when needed 2022-05-02 13:36:00 -07:00
MemorySanitizer.cpp [iwyu] Handle regressions in libLLVM header include 2022-05-04 08:32:38 +02:00
PGOInstrumentation.cpp [iwyu] Handle regressions in libLLVM header include 2022-05-04 08:32:38 +02:00
PGOMemOPSizeOpt.cpp [iwyu] Handle regressions in libLLVM header include 2022-05-04 08:32:38 +02:00
PoisonChecking.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
SanitizerCoverage.cpp [Instrumentation] Share InstrumentationIRBuilder between TSan and SanCov 2022-05-06 09:15:17 +02:00
ThreadSanitizer.cpp [Instrumentation] Share InstrumentationIRBuilder between TSan and SanCov 2022-05-06 09:15:17 +02: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