summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/separate_map_tree.cpp
diff options
context:
space:
mode:
authorWan Xiaofei <xiaofei.wan@intel.com>2013-10-22 08:02:02 +0000
committerWan Xiaofei <xiaofei.wan@intel.com>2013-10-22 08:02:02 +0000
commit2f8dc08b8cf4a18c09ec7ca8eb2b619f22cbfbd0 (patch)
tree0135bc6787a58f067aeab203d85c6cc6a2772c6d /clang/test/Modules/separate_map_tree.cpp
parent47b3bd3fbb131b47268af300a65af52c159052dc (diff)
downloadbcm5719-llvm-2f8dc08b8cf4a18c09ec7ca8eb2b619f22cbfbd0.tar.gz
bcm5719-llvm-2f8dc08b8cf4a18c09ec7ca8eb2b619f22cbfbd0.zip
Using FoldingSet in SelectionDAG::getVTList.
VTList has a long life cycle through the module and getVTList is frequently called. In current getVTList, sequential search over a std::vector is used, this is inefficient in big module. This patch use FoldingSet to implement hashing mechanism when searching. Reviewer: Nadav Rotem Test : Pass unit tests & LNT test suite llvm-svn: 193150
Diffstat (limited to 'clang/test/Modules/separate_map_tree.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud