- Oct 14, 2008
-
-
Dan Gohman authored
instead of requiring all "short description" strings to begin with two spaces. This makes these strings less mysterious, and it fixes some cases where short description strings mistakenly did not begin with two spaces. llvm-svn: 57521
-
- Oct 12, 2008
-
-
Dale Johannesen authored
llvm-svn: 57425
-
Dale Johannesen authored
match gcc. Helps with the testsuite. llvm-svn: 57410
-
Chris Lattner authored
llvm-svn: 57384
-
- Oct 10, 2008
-
-
Dale Johannesen authored
and APFloat::convertToInteger. Restore return value to IEEE754. Adjust all users accordingly. llvm-svn: 57329
-
- Oct 09, 2008
-
-
Dale Johannesen authored
make it clearer what the function does. No functional change. llvm-svn: 57325
-
- Oct 07, 2008
-
-
Dale Johannesen authored
since -0.0 can't be represented as an int. This prevents llvm from reducing -0.0 to a load-and-convert of int 0. Fixes ieee.exp/mzero[2356].c in gcc testsuite. llvm-svn: 57224
-
Dale Johannesen authored
are Inexact. (These are not Inexact as defined by IEEE754, but that seems like a reasonable way to abstract what happens: information is lost.) llvm-svn: 57218
-
- Oct 06, 2008
-
-
Dale Johannesen authored
it is too aggressive. llvm-svn: 57203
-
Dale Johannesen authored
Improve description of unsupported formats. llvm-svn: 57185
-
- Sep 22, 2008
-
-
Oscar Fuentes authored
llvm-svn: 56419
-
- Aug 24, 2008
-
-
Cedric Venet authored
Adding one include file and correct one declaration from class to struct in order to make llvm compile on VC2005. llvm-svn: 55279
-
Chris Lattner authored
llvm-svn: 55265
-
Chris Lattner authored
use raw_ostream instead of std::ostream. Among other goodness, this speeds up llvm-dis of kc++ with a release build from 0.85s to 0.49s (88% faster). Other interesting changes: 1) This makes Value::print be non-virtual. 2) AP[S]Int and ConstantRange can no longer print to ostream directly, use raw_ostream instead. 3) This fixes a bug in raw_os_ostream where it didn't flush itself when destroyed. 4) This adds a new SDNode::print method, instead of only allowing "dump". A lot of APIs have both std::ostream and raw_ostream versions, it would be useful to go through and systematically anihilate the std::ostream versions. This passes dejagnu, but there may be minor fallout, plz let me know if so and I'll fix it. llvm-svn: 55263
-
- Aug 23, 2008
-
-
Chris Lattner authored
llvm-svn: 55252
-
Chris Lattner authored
all the power and risk of fprintf format strings. Use them like this: OS << format("%10.4f", 42.0) << "\n" << format("%x", 42) << '\n'; llvm-svn: 55246
-
Dan Gohman authored
llvm-svn: 55210
-
- Aug 22, 2008
-
-
Chris Lattner authored
Patch contributed by Bjorn Reese! llvm-svn: 55179
-
Owen Anderson authored
Fix write() when the string being written is larger than the buffer. This broke various ObjC testcases with very long symbol names. llvm-svn: 55148
-
- Aug 21, 2008
-
-
Owen Anderson authored
llvm-svn: 55138
-
Owen Anderson authored
llvm-svn: 55092
-
- Aug 20, 2008
-
-
Chris Lattner authored
and the slow-path cases out of line. This speeds up instcombine a bit in real world cases. Patch contributed by m-s. llvm-svn: 55063
-
Dan Gohman authored
llvm-svn: 55053
-
- Aug 17, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 54879
-
Chris Lattner authored
returning an std::string by value, it fills in a SmallString/SmallVector passed in. This significantly reduces string thrashing in some cases. More specifically, this: - Adds an operator<< and a print method for APInt that allows you to directly send them to an ostream. - Reimplements APInt::toString to be much simpler and more efficient algorithmically in addition to not thrashing strings quite as much. This speeds up llvm-dis on kc++ by 7%, and may also slightly speed up the asmprinter. This also fixes a bug I introduced into the asmwriter in a previous patch w.r.t. alias printing. llvm-svn: 54873
-
Chris Lattner authored
llvm-svn: 54869
-
Chris Lattner authored
a simple adaptor class to give raw output capabilities to something that wants to write to an ostream. llvm-svn: 54865
-
Chris Lattner authored
llvm-svn: 54863
-
Chris Lattner authored
llvm-svn: 54857
-
Chris Lattner authored
can *only* output data (no seeking, reading, etc). This is adapted from the clang "-E outputter", and is roughly 10% faster than stdio on darwin and 30% (or more) faster than std::ostream. llvm-svn: 54855
-
- Aug 12, 2008
-
-
Dan Gohman authored
through multiple nodes in a bucket. llvm-svn: 54687
-
- Aug 05, 2008
-
-
Dan Gohman authored
llvm-svn: 54349
-
- Jul 28, 2008
-
-
Dan Gohman authored
a new ilist_node class, and remove them. Unlike alist_node, ilist_node doesn't attempt to manage storage itself, so it avoids the associated problems, including being opaque in gdb. Adjust the Recycler class so that it doesn't depend on alist_node. Also, change it to use explicit Size and Align parameters, allowing it to work when the largest-sized node doesn't have the greatest alignment requirement. Change MachineInstr's MachineMemOperand list from a pool-backed alist to a std::list for now. llvm-svn: 54146
-
- Jul 20, 2008
-
-
Wojciech Matyjewicz authored
count. llvm-svn: 53810
-
- Jul 14, 2008
-
-
Dan Gohman authored
the BB member to the current basic block after emitting instructions. llvm-svn: 53567
-
- Jul 12, 2008
-
-
Evan Cheng authored
llvm-svn: 53502
-
- Jul 11, 2008
-
-
Dan Gohman authored
use a timer group for the timers in SelectionDAGISel. Also, Split scheduling out from emitting, to give each their own timer. llvm-svn: 53476
-
Dan Gohman authored
llvm-svn: 53474
-
- Jul 08, 2008
-
-
Dan Gohman authored
for handling bookkeeping for deleted objects, as well as the alist class template, for keeping lists of objects allocated from Recyclers, and some related utilities. llvm-svn: 53210
-
- Jul 02, 2008
-
-
Owen Anderson authored
conversions to std::string. llvm-svn: 52995
-