Switch ValueSymbolTable to use StringMap<Value*> instead of std::map<std::string...
authorChris Lattner <sabre@nondot.org>
Mon, 12 Feb 2007 05:18:08 +0000 (05:18 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Feb 2007 05:18:08 +0000 (05:18 +0000)
commitdec628eead87b20773c98a00830580df211acc98
treecb28286b21387a97519f3e30c757c4fa07b904c5
parentfa48e9612e52adada82b3d74f9a8e2c35c960b36
Switch ValueSymbolTable to use StringMap<Value*> instead of std::map<std::string, Value*>
as its main datastructure.  There are many improvements yet to be made, but
this speeds up opt --std-compile-opts on 447.dealII by 7.3%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34193 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/llvm/Constant.h
include/llvm/GlobalValue.h
include/llvm/User.h
include/llvm/Value.h
include/llvm/ValueSymbolTable.h
lib/Bytecode/Writer/SlotCalculator.cpp
lib/Bytecode/Writer/Writer.cpp
lib/Bytecode/Writer/WriterInternals.h
lib/Transforms/IPO/StripSymbols.cpp
lib/VMCore/BasicBlock.cpp
lib/VMCore/Function.cpp
lib/VMCore/Instruction.cpp
lib/VMCore/SymbolTableListTraitsImpl.h
lib/VMCore/Value.cpp
lib/VMCore/ValueSymbolTable.cpp
lib/VMCore/Verifier.cpp