- Aug 29, 2009
-
-
Devang Patel authored
Use MDNodes to encode debug info in llvm IR. llvm-svn: 80406
-
- Aug 28, 2009
-
-
Chris Lattner authored
llvm-svn: 80334
-
- Aug 27, 2009
-
-
Chris Lattner authored
calls into a function and if the calls bring in arrays, try to merge them together to reduce stack size. For example, in the testcase we'd previously end up with 4 allocas, now we end up with 2 allocas. As described in the comments, this is not really the ideal solution to this problem, but it is surprisingly effective. For example, on 176.gcc, we end up eliminating 67 arrays at "gccas" time and another 24 at "llvm-ld" time. One piece of concern that I didn't look into: at -O0 -g with forced inlining this will almost certainly result in worse debug info. I think this is acceptable though given that this is a case of "debugging optimized code", and we don't want debug info to prevent the optimizer from doing things anyway. llvm-svn: 80215
-
Chris Lattner authored
llvm-svn: 80204
-
Chris Lattner authored
and other code cleanups. No functionality change. llvm-svn: 80199
-
- Aug 26, 2009
-
-
Devang Patel authored
llvm-svn: 80073
-
Dan Gohman authored
and introduce a new Instruction::isIdenticalTo which tests for full identity, including the SubclassOptionalData flags. Also, fix the Instruction::clone implementations to preserve the SubclassOptionalData flags. Finally, teach several optimizations how to handle SubclassOptionalData correctly, given these changes. This fixes the counterintuitive behavior of isIdenticalTo not comparing the full value, and clone not returning an identical clone, as well as some subtle bugs that could be caused by these. Thanks to Nick Lewycky for reporting this, and for an initial patch! llvm-svn: 80038
-
- Aug 25, 2009
-
-
Devang Patel authored
Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!) llvm-svn: 79977
-
Dale Johannesen authored
the command line. This gives llvm-gcc developers a way to control inlining (documented as "not intended for end users"). llvm-svn: 79966
-
- Aug 24, 2009
-
-
Chris Lattner authored
member out of line. ftostr is not particularly speedy, so that method is presumably not perf sensitive. llvm-svn: 79885
-
- Aug 23, 2009
-
-
Chris Lattner authored
llvm-svn: 79836
-
Chris Lattner authored
llvm-svn: 79834
-
Chris Lattner authored
llvm-svn: 79832
-
Chris Lattner authored
This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819
-
- Aug 19, 2009
-
-
Dan Gohman authored
by hand, and fix a few places that were using hasInitializer() that appear to depend on the initializer value. llvm-svn: 79441
-
- Aug 18, 2009
-
-
Dan Gohman authored
unruly indices for arrays that are members of structs. llvm-svn: 79337
-
- Aug 17, 2009
-
-
Duncan Sands authored
vector (&Formals[0]). With this change llvm-gcc builds with expensive checking enabled for C, C++ and Fortran. While there, change a std::vector into a SmallVector. This is partly gratuitous, but mostly because not all STL vector implementations define the data method (and it should be faster). llvm-svn: 79237
-
- Aug 14, 2009
-
-
Dan Gohman authored
llvm-svn: 78967
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78948
-
- Aug 12, 2009
-
-
Dan Gohman authored
llvm-svn: 78809
-
- Aug 11, 2009
-
-
Dan Gohman authored
llvm-svn: 78664
-
Devang Patel authored
llvm-svn: 78651
-
- Aug 07, 2009
-
-
Dan Gohman authored
llvm-svn: 78363
-
- Aug 06, 2009
-
-
Devang Patel authored
llvm-svn: 78333
-
Owen Anderson authored
Privatize the StructType table, which unfortunately involves routing contexts through a number of APIs. llvm-svn: 78258
-
- Jul 31, 2009
-
-
Owen Anderson authored
metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
-
Bill Wendling authored
- One formatting change. No intended functionality change. llvm-svn: 77717
-
Owen Anderson authored
llvm-svn: 77685
-
Owen Anderson authored
llvm-svn: 77635
-
- Jul 30, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77605
-
Daniel Dunbar authored
a Twine, e.g., for names). - I am a little ambivalent about this; we don't want the string conversion of utostr, but using overload '+' mixed with string and integer arguments is sketchy. On the other hand, this particular usage is something of an idiom. llvm-svn: 77579
-
Douglas Gregor authored
llvm-svn: 77519
-
Owen Anderson authored
llvm-svn: 77516
-
- Jul 29, 2009
-
-
Owen Anderson authored
llvm-svn: 77494
-
- Jul 28, 2009
-
-
Owen Anderson authored
llvm-svn: 77347
-
Owen Anderson authored
llvm-svn: 77266
-
- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77152
-
- Jul 25, 2009
-
-
Daniel Dunbar authored
- Some clients which used DOUT have moved to DEBUG. We are deprecating the "magic" DOUT behavior which avoided calling printing functions when the statement was disabled. In addition to being unnecessary magic, it had the downside of leaving code in -Asserts builds, and of hiding potentially unnecessary computations. llvm-svn: 77019
-
Owen Anderson authored
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. llvm-svn: 77011
-
- Jul 24, 2009
-
-
Dan Gohman authored
instead of getAnalysis<TargetData>(). llvm-svn: 76982
-