summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement support for ISRs. Sanjiv Gupta2009-08-2010-280/+528
| | | | | | | | | Clone functions that are shared between the Main thread and Interrupt thread. CallSites are changed in AsmPrinter currently. A better solution would have been to modify the legalizer (SoftenFloat) to allow targets to change the name of libcalls for float operations. But that currently breaks other targets. Also, cloing of automatic variables is done AsmPrinter, a better approach would be to use the ValueMap in CloneFunction itself. llvm-svn: 79562
* Reduce contention on the Attributes lock by using atomic operations for ↵Owen Anderson2009-08-201-7/+7
| | | | | | reference counting rather than locking. llvm-svn: 79560
* Make the StructType->StructLayout table private to TargetData, allowing us ↵Owen Anderson2009-08-201-52/+35
| | | | | | to avoid locking on it. llvm-svn: 79555
* Fixed PCMPESTRM128 to have opcode 0x60 instead of 0x62, as specified by theSean Callanan2009-08-201-2/+2
| | | | | | Intel documentation. llvm-svn: 79554
* Fix an x86 code size regression: prefer RIP-relative addressingDan Gohman2009-08-201-0/+13
| | | | | | | | over absolute addressing even in non-PIC mode (unless the address has an index or something else incompatible), because it has a smaller encoding. llvm-svn: 79553
* Add a comment explaining why llvm_unreachable_internal doesn't callDan Gohman2009-08-201-0/+3
| | | | | | the ErrorHandler callback. llvm-svn: 79541
* Fix two APFloat bugs in converting hexadecimal constants.Daniel Dunbar2009-08-201-2/+2
| | | | llvm-svn: 79540
* Rename hasNoUnsignedOverflow and hasNoSignedOverflow to hasNoUnsignedWrapDan Gohman2009-08-207-24/+24
| | | | | | and hasNoSignedWrap, for consistency with the nuw and nsw properties. llvm-svn: 79539
* Fix an obvious copy-n-paste bug.Evan Cheng2009-08-201-1/+1
| | | | llvm-svn: 79535
* Various comment and whitespace cleanups.Dan Gohman2009-08-203-14/+17
| | | | llvm-svn: 79533
* Update and fix some comments.Dan Gohman2009-08-201-7/+7
| | | | llvm-svn: 79532
* Check for shared landing pads when assigning call site values. Invokes whichJim Grosbach2009-08-201-20/+34
| | | | | | share a landing pad should also use the same call site value. llvm-svn: 79501
* Add an extra line to conform with preferred style.Dale Johannesen2009-08-191-1/+2
| | | | llvm-svn: 79495
* Modify an assert to avoid what looks like a GCC 4.2.4 signed-ness bug.Reid Kleckner2009-08-191-3/+5
| | | | llvm-svn: 79494
* Fix a few places to check if TargetData is available before using it.Dan Gohman2009-08-191-2/+2
| | | | llvm-svn: 79493
* Add a fast path for setName("") on an unnamed value.Daniel Dunbar2009-08-191-0/+4
| | | | llvm-svn: 79492
* AttrListPtr operations need to be atomic.Owen Anderson2009-08-191-0/+4
| | | | llvm-svn: 79486
* Fix a bug in the over-index constant folding. When over-indexing anDan Gohman2009-08-191-8/+24
| | | | | | | | array member of a struct, it's possible to land in an arbitrary position inside that struct, such that attempting to find further getelementptr indices will fail. In such cases, folding cannot be done. llvm-svn: 79485
* Handle 'a' modifier in X86 asms. PR 4742.Dale Johannesen2009-08-191-0/+12
| | | | llvm-svn: 79484
* Fixed error in CPPBackend from a contextification API change.Reid Kleckner2009-08-191-3/+4
| | | | llvm-svn: 79483
* Add missing forward declaration.David Greene2009-08-191-0/+1
| | | | llvm-svn: 79481
* Add missing includes.David Greene2009-08-191-0/+1
| | | | llvm-svn: 79480
* Add missing includes.David Greene2009-08-191-0/+1
| | | | llvm-svn: 79479
* Add missing includes.David Greene2009-08-191-0/+1
| | | | llvm-svn: 79478
* 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 triple parsing support for TCE.Eli Friedman2009-08-191-0/+5
| | | | llvm-svn: 79461
* Switch to SmallString::str from SmallString::c_str, and removeDaniel Dunbar2009-08-194-8/+9
| | | | | | SmallString::c_str. llvm-svn: 79456
* Change ValueSymbolTable to use raw_svector_ostream for string concatenation.Daniel Dunbar2009-08-191-5/+6
| | | | llvm-svn: 79449
* Change raw_svector_ostream to reserve the input buffer if necessary, Ted wasDaniel Dunbar2009-08-191-3/+7
| | | | | | | | | | | | | 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
* 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-191-4/+48
| | | | | | | | 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-192-6/+114
| | | | | | | a smaller encoding. These kinds of patterns are very frequent in sqlite3, for example. llvm-svn: 79439
* 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
* Switch raw_svector_ostream to use the vector as the ostream buffer.Daniel Dunbar2009-08-191-1/+29
| | | | | | | - This avoids unnecessary malloc/free overhead in the common case, and unnecessary copying from the ostream buffer into the output vector. llvm-svn: 79434
* Reapply my less-lock-contention-in-leak-detector patch, now with new filesOwen Anderson2009-08-193-90/+119
| | | | | | actually added. llvm-svn: 79429
* Add support for Neon VEXT (vector extract) shuffles.Bob Wilson2009-08-193-1/+69
| | | | | | | | 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
* 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-193-7/+75
| | | | | | dependence edge latency for post-RA scheduling. llvm-svn: 79425
* PR4737: Fix a nasty bug in load narrowing with non-power-of-two types.Eli Friedman2009-08-191-1/+2
| | | | llvm-svn: 79415
* Fix up PHI nodes correctly in the presence of unreachable BBs, part two. AlsoNick Lewycky2009-08-191-7/+30
| | | | | | delete a newed pointer, and improve readability a little bit. llvm-svn: 79411
* fix asmstreaming of 2/4 byte elements with pow-2 alignments.Chris Lattner2009-08-191-1/+8
| | | | llvm-svn: 79408
* Be more careful when modifying PHI nodes. Patch by Andre Tavares.Nick Lewycky2009-08-191-1/+2
| | | | llvm-svn: 79407
* switch asmprinter to emit alignments through OutStreamer.Chris Lattner2009-08-192-22/+34
| | | | llvm-svn: 79406
OpenPOWER on IntegriCloud