Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make NamedMDNode not be a subclass of Value, and simplify the interface | Dan Gohman | 2010-07-21 | 1 | -2/+0 |
| | | | | | | for creating and populating NamedMDNodes. llvm-svn: 109061 | ||||
* | Bump SmallString size a bit to avoid malloc trashing. | Benjamin Kramer | 2010-03-31 | 1 | -7/+3 |
| | | | | llvm-svn: 100010 | ||||
* | Delete NamedMDSymTable while destrucing Module. | Devang Patel | 2010-01-09 | 1 | -0/+2 |
| | | | | | | Disable copy ctor and operator= for NamedMDSymTable. Hide typedef that should be public. llvm-svn: 93041 | ||||
* | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -9/+9 |
| | | | | llvm-svn: 92662 | ||||
* | Pass StringRef by value. | Daniel Dunbar | 2009-11-06 | 1 | -1/+1 |
| | | | | llvm-svn: 86251 | ||||
* | remove some DOUTs | Chris Lattner | 2009-08-23 | 1 | -8/+8 |
| | | | | llvm-svn: 79821 | ||||
* | Change ValueSymbolTable to use raw_svector_ostream for string concatenation. | Daniel Dunbar | 2009-08-19 | 1 | -5/+6 |
| | | | | llvm-svn: 79449 | ||||
* | Remove Value::{isName, getNameRef}. | Daniel Dunbar | 2009-07-25 | 1 | -1/+1 |
| | | | | | | Also, change MDString to use a StringRef. llvm-svn: 77098 | ||||
* | Move more to raw_ostream. | Daniel Dunbar | 2009-07-24 | 1 | -3/+4 |
| | | | | llvm-svn: 76964 | ||||
* | Switch ValueSymbolTable to StringRef based API. | Daniel Dunbar | 2009-07-23 | 1 | -23/+4 |
| | | | | llvm-svn: 76894 | ||||
* | Convert StringMap to using StringRef for its APIs. | Daniel Dunbar | 2009-07-23 | 1 | -7/+8 |
| | | | | | | | | | | | | - Yay for '-'s and simplifications! - I kept StringMap::GetOrCreateValue for compatibility purposes, this can eventually go away. Likewise the StringMapEntry Create functions still follow the old style. - NIFC. llvm-svn: 76888 | ||||
* | Use v.data() instead of &v[0] when SmallVector v might be empty. | Jay Foad | 2009-05-21 | 1 | -5/+7 |
| | | | | llvm-svn: 72210 | ||||
* | implement some fixme's by making "autorenaming" in the value symbol table not | Chris Lattner | 2008-06-27 | 1 | -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* instead | Chris Lattner | 2008-06-27 | 1 | -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 Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | disable some noisy debug output | Chris Lattner | 2007-02-25 | 1 | -12/+12 |
| | | | | llvm-svn: 34606 | ||||
* | Switch ValueSymbolTable to use StringMap<Value*> instead of ↵ | Chris Lattner | 2007-02-12 | 1 | -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 anymore | Chris Lattner | 2007-02-07 | 1 | -8/+4 |
| | | | | llvm-svn: 33993 | ||||
* | update comment. | Chris Lattner | 2007-02-07 | 1 | -3/+3 |
| | | | | llvm-svn: 33992 | ||||
* | shrink vmcore by moving symbol table stripping support out of VMCore into | Chris Lattner | 2007-02-07 | 1 | -16/+0 |
| | | | | | | the one IPO pass that uses it. llvm-svn: 33990 | ||||
* | eliminate ValueSymbolTable::rename, it has no advantage over using ↵ | Chris Lattner | 2007-02-07 | 1 | -41/+2 |
| | | | | | | | | remove+insert. Make insert/remove assert if used incorrectly instead of returning a bool. llvm-svn: 33988 | ||||
* | speed up conflict handling. | Chris Lattner | 2007-02-07 | 1 | -2/+7 |
| | | | | llvm-svn: 33985 | ||||
* | Eliminate a bunch of work from ValueSymbolTable::insert for the common case | Chris Lattner | 2007-02-07 | 1 | -1/+7 |
| | | | | | | where a symbol name doesn't conflict. This speeds up bc reading 16% on 176.gcc! llvm-svn: 33981 | ||||
* | For PR411: | Reid Spencer | 2007-02-05 | 1 | -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 Wendling | 2006-11-17 | 1 | -10/+9 |
| | | | | llvm-svn: 31814 | ||||
* | Simple is good. CVS is for revision control, not file headers | Chris Lattner | 2006-01-11 | 1 | -3/+2 |
| | | | | llvm-svn: 25206 | ||||
* | For PR411: | Reid Spencer | 2006-01-10 | 1 | -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 |