llvm-6502/lib/Transforms/Instrumentation
Anna Zaks f891336a25 [asan] Skip promotable allocas to improve performance at -O0
Currently, the ASan executables built with -O0 are unnecessarily slow.
The main reason is that ASan instrumentation pass inserts redundant
checks around promotable allocas. These allocas do not get instrumented
under -O1 because they get converted to virtual registered by mem2reg.
With this patch, ASan instrumentation pass will only instrument non
promotable allocas, giving us a speedup of 39% on a collection of
benchmarks with -O0. (There is no measurable speedup at -O1.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230724 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-27 03:12:36 +00:00
..
AddressSanitizer.cpp [asan] Skip promotable allocas to improve performance at -O0 2015-02-27 03:12:36 +00:00
BoundsChecking.cpp [PM] Separate the TargetLibraryInfo object from the immutable pass. 2015-01-15 10:41:28 +00:00
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
DataFlowSanitizer.cpp Prefer SmallVector::append/insert over push_back loops. 2015-02-17 15:29:18 +00:00
GCOVProfiling.cpp Remove dynamic allocation/indirection from GCOVBlocks owned by GCOVFunction 2014-12-22 23:12:42 +00:00
InstrProfiling.cpp InstrProf: Make the __llvm_profile_runtime_user symbol hidden 2015-02-25 22:52:20 +00:00
Instrumentation.cpp InstrProf: An intrinsic and lowering for instrumentation based profiling 2014-12-08 18:02:35 +00:00
LLVMBuild.txt Update libdeps since TLI was moved from Target to Analysis in r226078. 2015-01-15 05:21:00 +00:00
Makefile
MaximumSpanningTree.h
MemorySanitizer.cpp [MSan][MIPS] VarArgHelper for MIPS64 2015-02-18 11:41:24 +00:00
SanitizerCoverage.cpp [sanitizer] when dumping the basic block trace, also dump the module names. Patch by Laszlo Szekeres 2015-02-20 00:30:44 +00:00
ThreadSanitizer.cpp tsan: do not instrument not captured values 2015-02-12 09:55:28 +00:00