llvm/unittests
Rafael Espindola b18e50cc39 Add a CachedHash structure.
A DenseMap doesn't store the hashes, so it needs to recompute them when
the table is resized.

In some applications the hashing cost is noticeable. That is the case
for example in lld for symbol names (StringRef).

This patch adds a templated structure that can wraps any value that can
go in a DenseMap and caches the hash.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266981 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-21 12:16:21 +00:00
..
ADT Add a CachedHash structure. 2016-04-21 12:16:21 +00:00
Analysis [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
AsmParser Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
Bitcode Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
CodeGen
DebugInfo [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
ExecutionEngine [Orc] Add pthread dependence to the RPCUtilsTest unit test. 2016-04-19 17:13:52 +00:00
IR IR: Enable debug info type ODR uniquing for forward decls 2016-04-19 18:00:19 +00:00
LineEditor
Linker Delete the deprecated LLVMLinkModules. 2016-02-12 15:28:45 +00:00
MC Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
MI Make a stub version of MITests, instead of reverting. 2016-02-18 07:37:17 +00:00
ObjectYAML Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
ProfileData Reapply "[Coverage] Prevent detection of false instantiations in case of macro expansion." 2016-04-18 15:36:30 +00:00
Support Unbreak building unit tests on Windows after r266595. 2016-04-18 13:54:50 +00:00
Transforms [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00