llvm-6502/lib/Transforms/Instrumentation
Kostya Serebryany cff60c1409 [tsan] two more compile-time optimizations:
- don't isntrument reads from constant globals.
Saves ~1.5% of instrumented instructions on CPU2006
(counting static instructions, not their execution).
- don't insrument reads from vtable (which is a global constant too).
Saves ~5%.

I did not measure the run-time impact of this,
but it is certainly non-negative.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154444 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-10 22:29:17 +00:00
..
AddressSanitizer.cpp
CMakeLists.txt
EdgeProfiling.cpp
FunctionBlackList.cpp
FunctionBlackList.h
GCOVProfiling.cpp
Instrumentation.cpp
LLVMBuild.txt
Makefile
MaximumSpanningTree.h
OptimalEdgeProfiling.cpp
PathProfiling.cpp
ProfilingUtils.cpp
ProfilingUtils.h
ThreadSanitizer.cpp