1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 14:33:02 +02:00
llvm-mirror/lib/Transforms/Instrumentation
Anna Zaks 492074fb03 [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.)

llvm-svn: 230724
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
CMakeLists.txt
DataFlowSanitizer.cpp Prefer SmallVector::append/insert over push_back loops. 2015-02-17 15:29:18 +00:00
GCOVProfiling.cpp
InstrProfiling.cpp InstrProf: Make the __llvm_profile_runtime_user symbol hidden 2015-02-25 22:52:20 +00:00
Instrumentation.cpp
LLVMBuild.txt
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