summaryrefslogtreecommitdiffstats
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
* This header should not pull in <iostream>Chris Lattner2006-01-221-3/+0
| | | | llvm-svn: 25511
* add explicit #includes of iostreamChris Lattner2006-01-222-0/+2
| | | | llvm-svn: 25510
* 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
* Visual Studio still has issues at being left out.Jeff Cohen2006-01-221-0/+6
| | | | llvm-svn: 25507
* Visual Studio neurotic about inconsistent class/struct usage.Jeff Cohen2006-01-221-1/+1
| | | | llvm-svn: 25506
* 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
* new testcase that crashes llc for ppcChris Lattner2006-01-211-0/+17
| | | | llvm-svn: 25495
* 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-215-1132/+1222
| | | | | | 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-212-10/+21
| | | | llvm-svn: 25491
* Correct some simple errors.Jim Laskey2006-01-212-3/+3
| | | | llvm-svn: 25490
* Right size integer values before emitting.Jim Laskey2006-01-202-9/+26
| | | | 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-202-249/+658
| | | | | | 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
* Update Windows version of config.h to note availability of ↵Jeff Cohen2006-01-202-22/+34
| | | | | | | | | | floor/floorf/ceil/ceilf. Also pulled Windows-specific modifications to config.h.in to a separate file, so that changes to it trigger regeneration of config.h (which doesn't happen when the custom build step for it changes). llvm-svn: 25477
* fix storing bools! eek!Duraid Madina2006-01-202-8/+5
| | | | llvm-svn: 25476
* Add a test case for PR697, ensuring the linker works with ConstantPacked.Reid Spencer2006-01-201-0/+14
| | | | llvm-svn: 25475
* 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
* Added a load folding bug test case.Evan Cheng2006-01-201-0/+15
| | | | llvm-svn: 25472
* Prevent folding of a node with multiple uses if the node already folds a load!Evan Cheng2006-01-201-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here is an example where the load ended up being done twice: %A = global uint 0 uint %test(uint %B, ubyte %C) { %tmp = load uint *%A; %X = shl uint %tmp, ubyte %C %Cv = sub ubyte 32, %C %Y = shr uint %B, ubyte %Cv %Z = or uint %Y, %X store uint %Z, uint* %A ret uint %Z } ==> subl $4, %esp movl %ebx, (%esp) movl 8(%esp), %edx movl A, %eax movb 12(%esp), %bl movb %bl, %cl shldl %cl, %edx, %eax movb %bl, %cl shldl %cl, %edx, A movl (%esp), %ebx addl $4, %esp ret llvm-svn: 25471
* 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
* Don't include generated lexer .cpp files.Chris Lattner2006-01-191-0/+3
| | | | llvm-svn: 25466
* Bug fix. Flag operand number may be calculated incorrectly.Evan Cheng2006-01-191-8/+13
| | | | llvm-svn: 25465
* 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
* Use pattern information to determine whether the use expects thisEvan Cheng2006-01-191-2/+5
| | | | | | | | | instruction to produce a result. e.g MUL8m, the instruction does not produce a explicit result. However it produces an implicit result in AL which would be copied to a temp. The root operator of the matching pattern is a mul so the use would expect it to produce a result. llvm-svn: 25458
OpenPOWER on IntegriCloud