summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
Commit message (Collapse)AuthorAgeFilesLines
* As Chris suggested, fixed some problems. (This is the first part)Zhou Sheng2007-02-071-147/+157
| | | | llvm-svn: 33989
* do not let the table fill up with tombstones.Chris Lattner2007-02-071-1/+5
| | | | llvm-svn: 33973
* As Reid suggested, fixed some problems.Zhou Sheng2007-02-061-150/+143
| | | | llvm-svn: 33955
* Disable this for now.Chris Lattner2007-02-061-0/+5
| | | | llvm-svn: 33953
* Add a class APInt to represent arbitrary precision constant integral values.Zhou Sheng2007-02-061-0/+1113
| | | | | | | | | It is a functional replacement for common case integer type like "unsigned", "uint64_t", but also allows non-byte-width integer type and large integer value types such as 3-bits, 15-bits, or more than 64-bits of precision. For more details, see pr1043. llvm-svn: 33951
* Fix a bug in smallptrset::erase: in the small case, return true if theChris Lattner2007-02-051-1/+1
| | | | | | element was in the set. llvm-svn: 33931
* Encode small integers more densely in foldingset, avoiding overflowing the ↵Chris Lattner2007-02-041-1/+4
| | | | | | SmallVector as often. llvm-svn: 33864
* improve comments, add an assertionChris Lattner2007-02-011-3/+6
| | | | llvm-svn: 33750
* Add PrintVersionMessage() that tools can use to print version numberDevang Patel2007-02-011-3/+11
| | | | | | without exiting program. llvm-svn: 33737
* Add some debug output.Reid Spencer2007-01-311-0/+4
| | | | llvm-svn: 33718
* minor cleanups. Fix off-by-one in accounting the number of nodes when theChris Lattner2007-01-311-4/+5
| | | | | | table grows. llvm-svn: 33698
* reformat commentChris Lattner2007-01-301-2/+2
| | | | llvm-svn: 33675
* implement SmallPtrSet::eraseChris Lattner2007-01-271-0/+27
| | | | llvm-svn: 33581
* add a noteChris Lattner2007-01-271-1/+2
| | | | llvm-svn: 33578
* Add a new SmallSet ADT specialized for pointers.Chris Lattner2007-01-271-0/+113
| | | | llvm-svn: 33577
* Moved disassembler to libSystemAnton Korobeynikov2007-01-231-53/+0
| | | | llvm-svn: 33461
* Adding disassembler interface and external hook to udis86 library.Anton Korobeynikov2007-01-191-0/+53
| | | | llvm-svn: 33358
* wow, the link was already broken :)Chris Lattner2007-01-061-1/+1
| | | | llvm-svn: 32963
* add a noteChris Lattner2007-01-061-1/+4
| | | | llvm-svn: 32962
* The previous implementation of LLVM Streams wasn't removing symbols. ThisBill Wendling2007-01-032-2/+2
| | | | | | one should. llvm-svn: 32845
* eliminate constructor from Statistic class. It is now impossible to get aChris Lattner2006-12-191-4/+4
| | | | | | static constructor for them :). Transition complete. llvm-svn: 32710
* Refactor statistic a big and introduce a horrible-but-necessary macroChris Lattner2006-12-191-4/+4
| | | | | | | | (STATISTIC), which allows us to define statistics that don't introduce static ctors into the .o files. I'm migrating code over to use this incrementally. llvm-svn: 32687
* Added an automatic cast to "std::ostream*" etc. from OStream. We then canBill Wendling2006-12-172-3/+3
| | | | | | | rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to the correct print() method. llvm-svn: 32636
* Change the implementation of statistic to not need destructors at all.Chris Lattner2006-12-081-61/+76
| | | | | | | | | Instead, the stat info is printed when llvm_shutdown() is called. These also don't need static ctors, but getting rid of them is uglier: still investigating. This reduces the number of static dtors in llvm from ~1400 to ~750. llvm-svn: 32372
* Don't use <sstream> in Streams.h but <iosfwd> instead.Bill Wendling2006-12-075-0/+5
| | | | llvm-svn: 32340
* Removed more <iostream> includesBill Wendling2006-12-073-12/+11
| | | | llvm-svn: 32321
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-078-73/+74
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* merge the Statistic and StatisticBase classes, eliminating virtual methodsChris Lattner2006-12-061-10/+5
| | | | | | and eliminating #includes from the Statistic.h file. llvm-svn: 32282
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-062-4/+2
| | | | | | is 'unsigned'. llvm-svn: 32279
* Add a helper functionChris Lattner2006-11-281-0/+15
| | | | llvm-svn: 31981
* Removed #include <iostream> and replace with llvm_* streams.Bill Wendling2006-11-266-56/+57
| | | | llvm-svn: 31927
* Make the absolute/relative tolerance information easier to read/understand.Reid Spencer2006-11-251-2/+3
| | | | llvm-svn: 31908
* Moved definition of llvm_ostream wrappers to the Streams.cpp file.Bill Wendling2006-11-171-4/+3
| | | | llvm-svn: 31819
* Added wrappers for the std::cerr/std::cout objects. The wrappers willBill Wendling2006-11-171-0/+21
| | | | | | soon replace all uses of those objects. llvm-svn: 31817
* Added "DOUT" macro. This is used as a replacement for the std::cerrBill Wendling2006-11-171-0/+12
| | | | | | | | | | | | stream. It centralizes the use of std::cerr so that static c'tor/d'tors aren't scattered around all over the place. The way to use it is like this: DOUT << "This is a status line: " << Var << "\n"; If "-debug" is specified, it will print. Otherwise, it'll not print. If NDEBUG is defined, the DOUT does nothing. llvm-svn: 31798
* Remove redundant <cmath>.Jim Laskey2006-11-081-1/+0
| | | | llvm-svn: 31561
* Include llvm/Support/DataTypes.h to define intptr_t.John Criswell2006-11-081-0/+1
| | | | | | This fixes the build on OpenBSD and potentially other systems. llvm-svn: 31550
* assert.h -> cassertRafael Espindola2006-11-031-1/+1
| | | | llvm-svn: 31399
* #include <assert.h>Rafael Espindola2006-11-021-0/+1
| | | | llvm-svn: 31386
* Allow FoldingSet clients to pump up the initial hash size.Jim Laskey2006-11-021-2/+4
| | | | llvm-svn: 31377
* add a highly efficient hash table that is specialized for mapping C stringsChris Lattner2006-10-291-0/+134
| | | | | | to some other type. llvm-svn: 31286
* Add a new llvm::Allocator abstraction, which will be used by a containerChris Lattner2006-10-291-0/+106
| | | | | | | I'm about to add. This is similar to, but necessarily different than, the STL allocator class. llvm-svn: 31285
* Try again.Jim Laskey2006-10-291-1/+4
| | | | llvm-svn: 31278
* Not handling zero length strings.Jim Laskey2006-10-291-2/+2
| | | | llvm-svn: 31277
* SmallVector append not insert.Jim Laskey2006-10-271-5/+1
| | | | llvm-svn: 31224
* Grrr.Jim Laskey2006-10-271-1/+1
| | | | llvm-svn: 31223
* Temp patch for missing functionality.Jim Laskey2006-10-271-0/+4
| | | | llvm-svn: 31222
* MathExtras isn't in the llvm/ADT directory but in the llvm/Support directory.Bill Wendling2006-10-271-1/+1
| | | | llvm-svn: 31219
* Apply editorials.Jim Laskey2006-10-271-43/+55
| | | | llvm-svn: 31218
* Breakout folding hash set from SelectionDAGCSEMap.Jim Laskey2006-10-271-0/+282
| | | | llvm-svn: 31215
OpenPOWER on IntegriCloud