llvm-project/llvm/lib/Transforms/Instrumentation
Ellis Hoag 9e647806f3 [InstrProf][NFC] Refactor ProfileDataMap usage
Instead of using `DenseMap::find()` and `DenseMap::insert()`, use
`DenseMap::operator[]` to get a reference to the profile data and update
the reference. This simplifies the changes in D114565.

Reviewed By: kyulee

Differential Revision: https://reviews.llvm.org/D114828
2021-12-01 11:47:14 -08:00
..
AddressSanitizer.cpp [LLVM][NFC]Inclusive language: remove occurances of sanity check/test from llvm 2021-11-24 17:29:55 -05:00
BoundsChecking.cpp BoundsChecking.cpp - tidy implicit header dependencies. NFCI. 2021-06-13 17:08:15 +01:00
CFGMST.h [Transforms/Instrumentation] Use range-based for loops (NFC) 2021-02-05 21:02:08 -08:00
CGProfile.cpp [CGProfile] Don't emit call graph profile edges with zero weight 2021-10-28 11:32:49 -04:00
CMakeLists.txt
ControlHeightReduction.cpp [Transforms] Use {DenseSet,SetVector,SmallPtrSet}::contains (NFC) 2021-10-31 07:57:32 -07:00
DataFlowSanitizer.cpp [Transforms] Use make_early_inc_range (NFC) 2021-11-07 17:03:15 -08:00
GCOVProfiling.cpp [llvm] Replace report_fatal_error(std::string) uses with report_fatal_error(Twine) 2021-10-06 12:04:30 +01:00
HWAddressSanitizer.cpp [LLVM][NFC]Inclusive language: remove occurances of sanity check/test from llvm 2021-11-24 17:29:55 -05:00
IndirectCallPromotion.cpp Fix some -Wunused-but-set-variable in -DLLVM_ENABLE_ASSERTIONS=off build 2021-06-04 23:34:43 -07:00
InstrOrderFile.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
InstrProfiling.cpp [InstrProf][NFC] Refactor ProfileDataMap usage 2021-12-01 11:47:14 -08:00
Instrumentation.cpp [IR] Rename `comdat noduplicates` to `comdat nodeduplicate` 2021-07-20 12:47:10 -07:00
MaximumSpanningTree.h
MemProfiler.cpp [MemProf] Don't instrument stack accesses unless requested 2021-09-16 12:21:51 -07:00
MemorySanitizer.cpp [msan] Don't use TLS slots of noundef args 2021-10-21 18:35:12 -07:00
PGOInstrumentation.cpp [NFC] Use Optional<ProfileCount> to model invalid counts 2021-11-14 19:03:30 -08:00
PGOMemOPSizeOpt.cpp [NewPM] Don't mark AA analyses as preserved 2021-05-18 13:49:03 -07:00
PoisonChecking.cpp
SanitizerCoverage.cpp [sancov] add tracing for loads and store 2021-11-09 14:35:13 -08:00
ThreadSanitizer.cpp [llvm][NFC] Inclusive language: Reword replace uses of sanity in llvm/lib/Transform comments and asserts 2021-11-23 13:22:55 -05:00
ValueProfileCollector.cpp
ValueProfileCollector.h
ValueProfilePlugins.inc [llvm] Use isa instead of dyn_cast (NFC) 2021-01-29 23:23:37 -08:00