summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename fcmovae to fcmovnb and fcmova to fcmovnbe (following Intel manual).Evan Cheng2006-01-213-9/+9
| | | | | | Some assemblers can't recognize the aliases. llvm-svn: 25494
* Do some code refactoring on Jim's scheduler in preparation of the new listEvan Cheng2006-01-213-1131/+933
| | | | | | scheduler. llvm-svn: 25493
* trivial formatting improvement: don't insert extra blank lines between .commChris Lattner2006-01-211-1/+1
| | | | | | vars. llvm-svn: 25492
* Simplify search for abbreviations.Jim Laskey2006-01-211-10/+2
| | | | llvm-svn: 25491
* Correct some simple errors.Jim Laskey2006-01-211-2/+2
| | | | llvm-svn: 25490
* Right size integer values before emitting.Jim Laskey2006-01-201-8/+24
| | | | llvm-svn: 25489
* Make the C writer work with packed types. printContainedStructs isRobert Bocchino2006-01-201-4/+49
| | | | | | still not quite right and will be fixed later. llvm-svn: 25488
* Reworked how Dwarf debug info entries and abbreviations are handled. AddedJim Laskey2006-01-201-159/+423
| | | | | | pubnames and debuy str sections. llvm-svn: 25487
* remove RET hack, add proper support for rets (watching out for ret voids)Duraid Madina2006-01-204-56/+89
| | | | llvm-svn: 25486
* Simplify CWriter::printContainedStructs, also allowing it to work withChris Lattner2006-01-201-18/+11
| | | | | | PackedTypes as a side-effect. llvm-svn: 25485
* LowerReturn now doesn't have to handle f32 returns.Chris Lattner2006-01-201-2/+0
| | | | llvm-svn: 25484
* remove some unintentionally committed codeChris Lattner2006-01-201-3/+2
| | | | llvm-svn: 25483
* If the target doesn't support f32 natively, insert the FP_EXTEND in target-indepChris Lattner2006-01-202-2/+7
| | | | | | code, so that the LowerReturn code doesn't have to handle it. llvm-svn: 25482
* Fixed InitializeMemory to handle ConstantPacked.Robert Bocchino2006-01-201-0/+6
| | | | llvm-svn: 25481
* Remove dead expression.Chris Lattner2006-01-201-1/+1
| | | | llvm-svn: 25480
* Don't use invalidated use_iterator's. This fixes a crash compiling povrayChris Lattner2006-01-201-2/+2
| | | | llvm-svn: 25479
* fix sext breakage: now we correctly deal with functions that returnDuraid Madina2006-01-202-1/+5
| | | | | | int vs uint llvm-svn: 25478
* fix storing bools! eek!Duraid Madina2006-01-202-8/+5
| | | | llvm-svn: 25476
* Stop doing that accidental commit.Evan Cheng2006-01-201-1/+1
| | | | llvm-svn: 25474
* A few more SH{L|R}D peepholes.Evan Cheng2006-01-202-1/+17
| | | | llvm-svn: 25473
* ConstantFoldLoadThroughGEPConstantExpr wasn't handling pointers toRobert Bocchino2006-01-191-9/+22
| | | | | | packed types correctly. llvm-svn: 25470
* Didn't mean to commit the last one.Evan Cheng2006-01-191-1/+1
| | | | llvm-svn: 25469
* Added i16 SH{L|R}D patterns.Evan Cheng2006-01-192-3/+13
| | | | llvm-svn: 25468
* add support for ConstantPacked to the linkerChris Lattner2006-01-191-0/+5
| | | | llvm-svn: 25467
* typoAndrew Lenharth2006-01-192-4/+5
| | | | llvm-svn: 25464
* nasty nasty patternsAndrew Lenharth2006-01-191-3/+8
| | | | llvm-svn: 25463
* fix boolean XOR (which fixes up comparisons..)Duraid Madina2006-01-191-1/+4
| | | | llvm-svn: 25462
* BOOM!Duraid Madina2006-01-191-2417/+0
| | | | llvm-svn: 25460
* click clickDuraid Madina2006-01-191-5/+3
| | | | llvm-svn: 25459
* Avoid generating a redundant setcc.Evan Cheng2006-01-191-1/+0
| | | | llvm-svn: 25457
* For PR696:Reid Spencer2006-01-191-0/+9
| | | | | | | | Don't do floor->floorf conversion if floorf is not available. This checks the compiler's host, not its target, which is incorrect for cross-compilers Not sure that's important as we don't build many cross-compilers. llvm-svn: 25456
* fix calls that return f32Duraid Madina2006-01-191-2/+7
| | | | llvm-svn: 25455
* Implement casts.ll:test26: a cast from float -> double -> integer, doesn'tChris Lattner2006-01-191-2/+11
| | | | | | need the float->double part. llvm-svn: 25452
* implement support for f32 arguments past the first 6 wordsChris Lattner2006-01-191-0/+5
| | | | llvm-svn: 25450
* 1. Identify bytecode modules that have upgraded intrinsics by setting aReid Spencer2006-01-191-7/+19
| | | | | | | | | boolean flag if we read a function prototype that needs upgrading. 2. Don't upgrade the CallInst instruction until after its been inserted into the basic block, and only if we know that we have seen an upgraded intrinsic function. llvm-svn: 25448
* Don't forget about casting the result of an upgraded call to an intrinsicReid Spencer2006-01-191-1/+4
| | | | | | in the case where it needs to cast back to a signed type. llvm-svn: 25447
* Add a flag to identify bytecode files that have intrinsic functions thatReid Spencer2006-01-191-0/+7
| | | | | | need to be upgraded. llvm-svn: 25445
* adc and sbb need an incoming flag to ensure it reads the carry flagEvan Cheng2006-01-191-2/+3
| | | | | | from add / sub. llvm-svn: 25444
* Make get_suffix faster by using a switch on getTypeID rather than a seriesReid Spencer2006-01-191-12/+9
| | | | | | of comparisons on the various type objects. llvm-svn: 25441
* Another typoEvan Cheng2006-01-191-1/+1
| | | | llvm-svn: 25440
* add a noteChris Lattner2006-01-191-0/+4
| | | | llvm-svn: 25439
* Two peepholes:Evan Cheng2006-01-191-0/+10
| | | | | | | (or (x >> c) | (y << (32 - c))) ==> (shrd x, y, c) (or (x << c) | (y >> (32 - c))) ==> (shld x, y, c) llvm-svn: 25438
* Didn't mean to check that in.Evan Cheng2006-01-191-2/+0
| | | | llvm-svn: 25436
* A obvious typoEvan Cheng2006-01-192-1/+3
| | | | llvm-svn: 25435
* Make sure intrinsic auto-upgrade is invoked correctly.Reid Spencer2006-01-194-2178/+2966
| | | | llvm-svn: 25434
* Don't accept the ctpop, cttz, or ctlz intrinsics with signed arguments. TheReid Spencer2006-01-191-36/+16
| | | | | | interface requires unsigned arguments. llvm-svn: 25433
* Add a new interface function to AutoUpgrade for simultaneously upgradingReid Spencer2006-01-191-59/+150
| | | | | | | | the Function and the CallInst: UpgradeCallsToIntrinsic(Function*). Also, re-factor the AutoUpgrade implementation to eliminate some duplication of code. llvm-svn: 25432
* If not internalizing, don't mark llvm.global[cd]tors const, as a fix for aChris Lattner2006-01-191-2/+5
| | | | | | hypothetical future boog. llvm-svn: 25430
* Don't internalize llvm.global[cd]tor unless there are uses of it. ThisChris Lattner2006-01-191-3/+9
| | | | | | unbreaks front-ends that don't use __main (like the new CFE). llvm-svn: 25429
* was ignoring the legalized chain in this case, fixed SPASS on alphaAndrew Lenharth2006-01-181-1/+1
| | | | llvm-svn: 25428
OpenPOWER on IntegriCloud