summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Stop running get_target_triple more than we need to.Daniel Dunbar2009-11-074-7/+4
| | | | llvm-svn: 86418
* Fix MSVC warning ( | with bool and unsigned int).Daniel Dunbar2009-11-071-1/+1
| | | | llvm-svn: 86417
* Fix class -> struct tag.Daniel Dunbar2009-11-071-1/+1
| | | | llvm-svn: 86416
* x86 vector shuffle cleanup/fixes:Nate Begeman2009-11-074-51/+28
| | | | | | | | 1. rename the movhp patfrag to movlhps, since thats what it actually matches 2. eliminate the bogus movhps load and store patterns, they were incorrect. The load transforms are already handled (correctly) by shufps/unpack. 3. revert a recent test change to its correct form. llvm-svn: 86415
* 80-column cleanup of file header commentsJim Grosbach2009-11-0710-13/+16
| | | | llvm-svn: 86408
* Support alignment specifier for NEON vld/vst instructionsJim Grosbach2009-11-075-46/+61
| | | | llvm-svn: 86404
* Improve tail call elimination to handle the switch statement.Nick Lewycky2009-11-073-18/+45
| | | | llvm-svn: 86403
* t2ldrpci_pic can be used for blockaddress as well.Evan Cheng2009-11-072-6/+28
| | | | llvm-svn: 86400
* temporarily remove these tests, as they are breaking in the buildbot,Chris Lattner2009-11-073-50/+0
| | | | | | Eric, please investigate. llvm-svn: 86399
* make instcombine only rewrite a chain of computation Chris Lattner2009-11-076-19/+15
| | | | | | | | | | (eliminating some extends) if the new type of the computation is legal or if both the source and dest are illegal. This prevents instcombine from changing big chains of computation into i64 on 32-bit targets for example. llvm-svn: 86398
* indicate what the native integer types for the target are.Chris Lattner2009-11-0712-19/+19
| | | | | | Please verify. llvm-svn: 86397
* all targets should be required to declare legal integer types. My plan toChris Lattner2009-11-071-11/+10
| | | | | | | make it optional doesn't work out. If you don't want to specify this, don't specify a TD string at all. llvm-svn: 86394
* remove empty files.Chris Lattner2009-11-072-0/+0
| | | | llvm-svn: 86392
* Revert r86359, it is breaking the self host on theChris Lattner2009-11-073-183/+62
| | | | | | llvm-gcc-i386-darwin9 build bot. llvm-svn: 86391
* First try of the post-inc operands handling... Not fully worked, though :(Anton Korobeynikov2009-11-073-11/+87
| | | | llvm-svn: 86386
* Add some dummy support for post-incremented loadsAnton Korobeynikov2009-11-075-4/+122
| | | | llvm-svn: 86385
* Add 8 bit libcalls and make use of them for msp430Anton Korobeynikov2009-11-075-10/+68
| | | | llvm-svn: 86384
* Add few pseudo-source-valuesAnton Korobeynikov2009-11-071-4/+20
| | | | llvm-svn: 86383
* Initial support for addrmode handling. Tests by Brian Lucas!Anton Korobeynikov2009-11-079-70/+531
| | | | llvm-svn: 86382
* Some preliminary variable asmprintingAnton Korobeynikov2009-11-073-7/+92
| | | | llvm-svn: 86381
* Use '.L' for global private prefix (as mspgcc)Anton Korobeynikov2009-11-071-0/+1
| | | | llvm-svn: 86380
* Drop old asmprinter stuffAnton Korobeynikov2009-11-073-17/+20
| | | | llvm-svn: 86379
* It turns out that the testcase in question uncovered subreg-handling bug.Anton Korobeynikov2009-11-073-3/+3
| | | | | | | Add assert in asmprinter to catch such cases and xfail the tests. PR is to be filled. llvm-svn: 86375
* add the ability for TargetData to return information about legal integerChris Lattner2009-11-073-47/+46
| | | | | | | | | | | datatypes on a given CPU. This is intended to allow instcombine and other transformations to avoid converting big sequences of operations to an inconvenient width, and will help clean up after SRoA. See also "Adding legal integer sizes to TargetData" on Feb 1, 2009 on llvmdev, and PR3451. Comments welcome. llvm-svn: 86370
* more cleanup.Chris Lattner2009-11-072-26/+28
| | | | llvm-svn: 86369
* add some missing #includesChris Lattner2009-11-077-5/+9
| | | | llvm-svn: 86367
* rewrite TargetData to use StringRef/raw_ostream instead of thrashing ↵Chris Lattner2009-11-072-41/+61
| | | | | | std::strings. llvm-svn: 86366
* prune #include / layering violationChris Lattner2009-11-071-2/+0
| | | | llvm-svn: 86365
* Make the need-stub variables accurate and consistent. In the case ofJeffrey Yasskin2009-11-074-48/+49
| | | | | | | | | | | | | MachineRelocations, "stub" always refers to a far-call stub or a load-a-faraway-global stub, so this patch adds "Far" to the term. (Other stubs are used for lazy compilation and dlsym address replacement.) The variable was also inconsistent between the positive and negative sense, and the positive sense ("NeedStub") was more demanding than is accurate (since a nearby-enough function can be called directly even if the platform often requires a stub). Since the negative sense causes double-negatives, I switched to "MayNeedFarStub" globally. llvm-svn: 86363
* Fix a couple of shuffle patterns to use movhlps insteadEric Christopher2009-11-073-12/+13
| | | | | | | of movhps as the constraint. Changes optimizations so update testcases as appropriate as well. llvm-svn: 86360
* Teach dead store elimination that certain intrinsics write to memory just likeNick Lewycky2009-11-073-62/+183
| | | | | | a store. llvm-svn: 86359
* remove the win32 tree, it's stale and confusing.Chris Lattner2009-11-0737-14954/+0
| | | | llvm-svn: 86358
* reapply 86289, 86278, 86270, 86267, 86266 & 86264 plus a fixChris Lattner2009-11-073-243/+416
| | | | | | | | | (making pred factoring only happen if threading is guaranteed to be successful). This now survives an X86-64 bootstrap of llvm-gcc. llvm-svn: 86355
* Fix PR5421 by APInt'izing switch lowering.Chris Lattner2009-11-073-19/+35
| | | | llvm-svn: 86354
* Oops, FunctionContainsEscapingAllocas is really used to mean two differentNick Lewycky2009-11-072-2/+11
| | | | | | things. Back out part of r86349 for a moment. llvm-svn: 86353
* Dust off tail recursion elimination. Fix a fixme by applying CaptureTrackingNick Lewycky2009-11-072-21/+32
| | | | | | and add a .ll to demo the new capability. llvm-svn: 86349
* llvmc: Add a '-time' option.Mikhail Glushenkov2009-11-074-6/+50
| | | | llvm-svn: 86348
* Trailing whitespace.Mikhail Glushenkov2009-11-071-7/+7
| | | | llvm-svn: 86347
* 80-col violation.Mikhail Glushenkov2009-11-071-2/+2
| | | | llvm-svn: 86346
* merge cmp1 into cmp0 and filecheckize.Chris Lattner2009-11-072-9/+19
| | | | llvm-svn: 86345
* Update some globals to use ManagedStatic.Lang Hames2009-11-072-21/+62
| | | | llvm-svn: 86342
* Fix memoizing of CvtRndSatSDNodeMon P Wang2009-11-071-1/+2
| | | | llvm-svn: 86340
* Fixed Overload table bug noticed by JakobMon P Wang2009-11-071-1/+0
| | | | llvm-svn: 86332
* Missed this.Evan Cheng2009-11-071-1/+12
| | | | llvm-svn: 86331
* Refactor code. Fix a potential missing check. Teach isIdentical() about ↵Evan Cheng2009-11-077-30/+83
| | | | | | tLDRpci_pic. llvm-svn: 86330
* - Add TargetInstrInfo::isIdentical(). It's similar to MachineInstr::isIdenticalEvan Cheng2009-11-077-41/+115
| | | | | | | | | | except it doesn't care if the definitions' virtual registers differ. This is used by machine LICM and other MI passes to perform CSE. - Teach Thumb2InstrInfo::isIdentical() to check two t2LDRpci_pic are identical. Since pc relative constantpool entries are always different, this requires it it check if the values can actually the same. llvm-svn: 86328
* Update CMake file.Ted Kremenek2009-11-071-0/+1
| | | | llvm-svn: 86325
* Add code to check at SelectionDAGISel::LowerArguments time to see if return ↵Kenneth Uildriks2009-11-076-0/+111
| | | | | | values can be lowered to registers. Coming soon, code to perform sret-demotion if return values cannot be lowered to registers llvm-svn: 86324
* Fix inverted conflict test in -early-coalesce.Jakob Stoklund Olesen2009-11-072-17/+19
| | | | | | | | | | A non-identity copy cannot be coalesced when the phi join destination register is live at the copy site. Also verify the condition that the PHI join source register is only used in the PHI join. Otherwise the coalescing is invalid. llvm-svn: 86322
* Revert following patches to fix llvmgcc bootstrap.Devang Patel2009-11-073-403/+234
| | | | | | | 86289, 86278, 86270, 86267, 86266 & 86264 Chris, please take a look. llvm-svn: 86321
OpenPOWER on IntegriCloud