summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing includes.David Greene2009-08-191-0/+1
| | | | llvm-svn: 79476
* Add missing includes.David Greene2009-08-191-0/+1
| | | | llvm-svn: 79475
* Add missing includes.David Greene2009-08-191-0/+1
| | | | llvm-svn: 79474
* Add missing includes.David Greene2009-08-191-0/+1
| | | | llvm-svn: 79473
* Get rid of a helgrind warning. If this is _actually_ a performance problem,Owen Anderson2009-08-191-3/+3
| | | | | | we can find a way to cache the answer that isn't racy. llvm-svn: 79472
* Add missing includes.David Greene2009-08-191-0/+1
| | | | llvm-svn: 79469
* Add missing includes.David Greene2009-08-191-0/+2
| | | | llvm-svn: 79468
* Add missing includes.David Greene2009-08-191-0/+2
| | | | llvm-svn: 79467
* Removed unneeded code for break/continue statements inFariborz Jahanian2009-08-191-7/+0
| | | | | | | | manufactured for-loop per Anders feedback (thanks). - Fariborz llvm-svn: 79466
* Build runtime libraries by default.Daniel Dunbar2009-08-191-1/+1
| | | | llvm-svn: 79465
* ir-gen for constructing arrays as non-static data members. WIP.Fariborz Jahanian2009-08-192-1/+99
| | | | llvm-svn: 79464
* Add missing header.David Greene2009-08-191-0/+1
| | | | llvm-svn: 79463
* Add TCE target to clang; patch by Mikael Lepistö.Eli Friedman2009-08-191-0/+67
| | | | llvm-svn: 79462
* Add triple parsing support for TCE.Eli Friedman2009-08-192-0/+6
| | | | llvm-svn: 79461
* Remove now unnecessary helper methods.Daniel Dunbar2009-08-194-26/+7
| | | | llvm-svn: 79460
* Tweak svn:ignoreDaniel Dunbar2009-08-190-0/+0
| | | | llvm-svn: 79459
* Unbreak GetBufferSize() on uninitialized streams. This fixes a problemDan Gohman2009-08-191-1/+1
| | | | | | that led to errs() getting made buffered. llvm-svn: 79458
* Tweak svn:ignoreDaniel Dunbar2009-08-190-0/+0
| | | | llvm-svn: 79457
* Switch to SmallString::str from SmallString::c_str, and removeDaniel Dunbar2009-08-195-16/+9
| | | | | | SmallString::c_str. llvm-svn: 79456
* Switch to SmallString::str from SmallString::c_str.Daniel Dunbar2009-08-195-21/+27
| | | | | | - Several FIXMEs due to non-Twinification of IRBuilder. llvm-svn: 79455
* Add min and max tests.Daniel Dunbar2009-08-191-0/+8
| | | | llvm-svn: 79454
* Add SmallString::str (which returns a StringRef); this is more efficient thanDaniel Dunbar2009-08-191-0/+3
| | | | | | c_str(). llvm-svn: 79453
* Remove SmallString::append_*int* unit tests.Benjamin Kramer2009-08-191-16/+0
| | | | llvm-svn: 79451
* Remove SmallString::append_*int* methods; how many copies of int -> strDaniel Dunbar2009-08-191-41/+0
| | | | | | | | | conversion code do we really need? - S.append_uint(N) can be replaced with 'raw_svector_ostream(S) << N' which is somewhat slower due to the extra set up cost, but still plenty fast (especially if the svector set up cost can be amortized). llvm-svn: 79450
* Change ValueSymbolTable to use raw_svector_ostream for string concatenation.Daniel Dunbar2009-08-191-5/+6
| | | | llvm-svn: 79449
* Convert parts of Rewriter to StringRef based API.Daniel Dunbar2009-08-197-72/+65
| | | | | | | - Please accept my sincere apologies for the gratuitous elimination of code duplication, manual string length counting, unnecessary strlen calls, etc. llvm-svn: 79448
* Make this test platform neutral.Bill Wendling2009-08-191-1/+1
| | | | llvm-svn: 79447
* Change raw_svector_ostream to reserve the input buffer if necessary, Ted wasDaniel Dunbar2009-08-192-5/+13
| | | | | | | | | | | | | right. - This class turns out to be much more convenient to use if we do this; clients can make sure the buffer is always big enough if they care (since our current idiom tends to be to use a SmallString<256> for the input to this we should generally be avoiding an unnecessary malloc). Also, add a convenience raw_svector_ostream::str method which flushes the buffer and returns a StringRef for the vector contents. llvm-svn: 79446
* Fix typoDaniel Dunbar2009-08-191-1/+1
| | | | llvm-svn: 79445
* Use raw_svector_ostream for string concatenation.Daniel Dunbar2009-08-191-7/+9
| | | | llvm-svn: 79444
* Remove temporary testing code.Dan Gohman2009-08-191-1/+0
| | | | llvm-svn: 79443
* Make SROA and PredicateSimplifier cope if TargetData is notDan Gohman2009-08-192-6/+16
| | | | | | available. This is very conservative for now. llvm-svn: 79442
* Use hasDefinitiveInitializer() instead of testing the same thingDan Gohman2009-08-196-9/+8
| | | | | | | by hand, and fix a few places that were using hasInitializer() that appear to depend on the initializer value. llvm-svn: 79441
* Canonicalize indices in a constantexpr GEP. If Indices exceed theDan Gohman2009-08-192-4/+98
| | | | | | | | static extents of the static array type, it causes GlobalOpt and other passes to be more conservative. This canonicalization also allows the constant folder to add "inbounds" to GEPs. llvm-svn: 79440
* Add an x86 peep that narrows TEST instructions to forms that useDan Gohman2009-08-195-7/+278
| | | | | | | a smaller encoding. These kinds of patterns are very frequent in sqlite3, for example. llvm-svn: 79439
* One second thought, I think I want to limit this class to just vtableMike Stump2009-08-191-5/+5
| | | | | | building activities. llvm-svn: 79438
* Switch Twine::str() to use toVector(), which is now efficient.Daniel Dunbar2009-08-191-14/+4
| | | | llvm-svn: 79437
* Update Cortex-A8 instruction itineraries for integer instructions.David Goodwin2009-08-196-365/+650
| | | | llvm-svn: 79436
* Add a first stab at describing LLVMContext.Owen Anderson2009-08-191-0/+45
| | | | llvm-svn: 79435
* Switch raw_svector_ostream to use the vector as the ostream buffer.Daniel Dunbar2009-08-192-1/+33
| | | | | | | - This avoids unnecessary malloc/free overhead in the common case, and unnecessary copying from the ostream buffer into the output vector. llvm-svn: 79434
* Add SmallVector::{capacity,set_size}.Daniel Dunbar2009-08-192-2/+38
| | | | | | | - These allow clients to make use of the extra elements in the vector which have already been allocated, without requiring them to be value initialized. llvm-svn: 79433
* BasicBlock::getContext can no longer return a NULL so update the doc.Erick Tryzelaar2009-08-191-2/+1
| | | | llvm-svn: 79432
* Update the ocaml docs to work with LLVMContext.Erick Tryzelaar2009-08-195-13/+18
| | | | llvm-svn: 79431
* Convert the rest of the ocaml types and functions to use context.Erick Tryzelaar2009-08-1910-164/+217
| | | | llvm-svn: 79430
* Reapply my less-lock-contention-in-leak-detector patch, now with new filesOwen Anderson2009-08-194-93/+122
| | | | | | actually added. llvm-svn: 79429
* Add support for Neon VEXT (vector extract) shuffles.Bob Wilson2009-08-194-1/+106
| | | | | | | | This is derived from a patch by Anton Korzh. I modified it to recognize the VEXT shuffles during legalization and lower them to a target-specific DAG node. llvm-svn: 79428
* Fix a commento.Daniel Dunbar2009-08-191-1/+1
| | | | llvm-svn: 79427
* Speculatively revert r79375, which may be breaking bootstrap, although in aDaniel Dunbar2009-08-191-15/+10
| | | | | | rather obscure way (the other candidate is r79377). llvm-svn: 79426
* Use the schedule itinerary operand use/def cycle information to adjust ↵David Goodwin2009-08-196-19/+107
| | | | | | dependence edge latency for post-RA scheduling. llvm-svn: 79425
* Test commit access with a first act of vanity.Sandeep Patel2009-08-191-0/+4
| | | | llvm-svn: 79424
OpenPOWER on IntegriCloud