summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add explicit #includes of <iostream>Chris Lattner2006-01-2227-6/+28
| | | | llvm-svn: 25515
* Make iostream #inclusion explicitChris Lattner2006-01-2219-2/+20
| | | | llvm-svn: 25514
* Add explicit iostream #includesChris Lattner2006-01-229-1/+9
| | | | llvm-svn: 25513
* Make this more efficient in the following ways:Chris Lattner2006-01-221-22/+37
| | | | | | | | | 1. Do not statically construct a map when the program starts up, this is expensive and cannot be optimized. Instead, create a list. 2. Do not insert entries for all function in the module into a hashmap that lives the full life of the compiler. llvm-svn: 25512
* Add explicit #includes of <iostream>Chris Lattner2006-01-2215-6/+17
| | | | llvm-svn: 25509
* Several non-functionality changing changes:Chris Lattner2006-01-221-311/+151
| | | | | | | | | 1. Use the varargs version of getOrInsertFunction to simplify code. 2. remove #include 3. Reduce the number of #ifdef's. 4. remove extraneous vertical whitespace. llvm-svn: 25508
* Fix a bug in a recent refactor that caused a bunch of programs to miscompileChris Lattner2006-01-211-1/+1
| | | | | | or the compiler to crash. llvm-svn: 25503
* insignificant, but next up is proper stack frame layout!Duraid Madina2006-01-211-1/+2
| | | | llvm-svn: 25497
* Fix CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.llChris Lattner2006-01-211-15/+15
| | | | llvm-svn: 25496
* 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
OpenPOWER on IntegriCloud