diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-22 23:10:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-22 23:10:26 +0000 |
commit | e05cf716169a7072a301a570e864a37075bd76b7 (patch) | |
tree | 5fe26ceb58be00fc5914768e0e57efcb6ea7ffd0 /lib/Analysis/DataStructure/EquivClassGraphs.cpp | |
parent | e01a9852a012db69ac641cc65f48d61a1eb10453 (diff) |
Make this more efficient in the following ways:
1. Do not statically construct a map when the program starts up, this
is expensive and cannot be optimized. Instead, create a list.
2. Do not insert entries for all function in the module into a hashmap
that lives the full life of the compiler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/EquivClassGraphs.cpp')
0 files changed, 0 insertions, 0 deletions