summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/ValueSymbolTable.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use v.data() instead of &v[0] when SmallVector v might be empty.Jay Foad2009-05-211-5/+7
| | | | llvm-svn: 72210
* implement some fixme's by making "autorenaming" in the value symbol table notChris Lattner2008-06-271-26/+11
| | | | | | thrash the heap with string stuff (e.g. utostr). llvm-svn: 52838
* Add a new version of Module::getFunction that takes a const char* insteadChris Lattner2008-06-271-0/+8
| | | | | | | of a std::string. This avoids copying the string to the heap in common cases. Patch by Pratik Solanki! llvm-svn: 52834
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* disable some noisy debug outputChris Lattner2007-02-251-12/+12
| | | | llvm-svn: 34606
* Switch ValueSymbolTable to use StringMap<Value*> instead of ↵Chris Lattner2007-02-121-34/+66
| | | | | | | | | 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%. llvm-svn: 34193
* constants can't be in the symtab anymoreChris Lattner2007-02-071-8/+4
| | | | llvm-svn: 33993
* update comment.Chris Lattner2007-02-071-3/+3
| | | | llvm-svn: 33992
* shrink vmcore by moving symbol table stripping support out of VMCore intoChris Lattner2007-02-071-16/+0
| | | | | | the one IPO pass that uses it. llvm-svn: 33990
* eliminate ValueSymbolTable::rename, it has no advantage over using ↵Chris Lattner2007-02-071-41/+2
| | | | | | | | remove+insert. Make insert/remove assert if used incorrectly instead of returning a bool. llvm-svn: 33988
* speed up conflict handling.Chris Lattner2007-02-071-2/+7
| | | | llvm-svn: 33985
* Eliminate a bunch of work from ValueSymbolTable::insert for the common caseChris Lattner2007-02-071-1/+7
| | | | | | where a symbol name doesn't conflict. This speeds up bc reading 16% on 176.gcc! llvm-svn: 33981
* For PR411:Reid Spencer2007-02-051-17/+10
| | | | | | | | | | This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. llvm-svn: 33918
* Removed iostream #includes. Replaced std::cerr with DOUT.Bill Wendling2006-11-171-10/+9
| | | | llvm-svn: 31814
* Simple is good. CVS is for revision control, not file headersChris Lattner2006-01-111-3/+2
| | | | llvm-svn: 25206
* For PR411:Reid Spencer2006-01-101-0/+167
First step in refactoring the SymbolTable is to split it into two classes, one for a symbol table of types and one for a symbol table of Values. llvm-svn: 25175
OpenPOWER on IntegriCloud