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 [asan] fix one more bug related to long double 2012-03-21 15:28:50 +00:00
CMakeLists.txt [asan] rename class BlackList to FunctionBlackList and move it into a separate file -- we will need the same functionality in ThreadSanitizer 2012-03-14 23:22:10 +00:00
EdgeProfiling.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
FunctionBlackList.cpp [asan] rename class BlackList to FunctionBlackList and move it into a separate file -- we will need the same functionality in ThreadSanitizer 2012-03-14 23:22:10 +00:00
FunctionBlackList.h [asan] rename class BlackList to FunctionBlackList and move it into a separate file -- we will need the same functionality in ThreadSanitizer 2012-03-14 23:22:10 +00:00
GCOVProfiling.cpp Expose a switch for the new gcov format. 2011-12-06 00:29:13 +00:00
Instrumentation.cpp ThreadSanitizer, a race detector. First LLVM commit. 2012-02-13 22:50:51 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
MaximumSpanningTree.h Fix typos. Adjust some whitespace for style. No functionality change. 2011-04-05 20:39:27 +00:00
OptimalEdgeProfiling.cpp Remove all remaining uses of Value::getNameStr(). 2011-11-15 16:27:03 +00:00
PathProfiling.cpp Remove all remaining uses of Value::getNameStr(). 2011-11-15 16:27:03 +00:00
ProfilingUtils.cpp When inserting new instructions, use getFirstInsertionPt instead of 2011-08-25 01:08:34 +00:00
ProfilingUtils.h Add a function for profiling to run at shutdown. Unlike the existing API, this 2011-04-08 22:19:52 +00:00
ThreadSanitizer.cpp [tsan] two more compile-time optimizations: 2012-04-10 22:29:17 +00:00