summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* new testcaseChris Lattner2007-04-261-0/+6
| | | | llvm-svn: 36468
* enumerate BB's separately from other function values.Chris Lattner2007-04-262-4/+16
| | | | llvm-svn: 36467
* For PR1355:Reid Spencer2007-04-261-25/+25
| | | | | | Make the script process multiple files and describe its usage properly. llvm-svn: 36466
* add support for incorporating and purging functions to the value enumeratorChris Lattner2007-04-263-98/+38
| | | | llvm-svn: 36465
* improve a commentChris Lattner2007-04-261-3/+5
| | | | llvm-svn: 36464
* move some code around, fix a bug in the reader reading globalinits (whichChris Lattner2007-04-265-69/+123
| | | | | | | I just introduced), stub out function reading, purge aggregate values from the value table before reading functions. llvm-svn: 36463
* add a new codeChris Lattner2007-04-261-1/+4
| | | | llvm-svn: 36462
* add bitcode alias supportChris Lattner2007-04-264-17/+81
| | | | llvm-svn: 36461
* add alias support to bitcodeChris Lattner2007-04-261-1/+4
| | | | llvm-svn: 36460
* print aliases before functionsChris Lattner2007-04-261-5/+6
| | | | llvm-svn: 36459
* Be careful when to add implicit kill / dead operands. Don't add them during ↵Evan Cheng2007-04-262-23/+39
| | | | | | / post reg-allocation. llvm-svn: 36458
* PR1348 test case.Evan Cheng2007-04-261-0/+19
| | | | llvm-svn: 36457
* Fix for PR1348. If stack inc / dec amount is > 32-bits, issue a series of ↵Evan Cheng2007-04-261-18/+27
| | | | | | add / sub instructions. llvm-svn: 36456
* New test case.Evan Cheng2007-04-261-0/+7
| | | | llvm-svn: 36455
* Quiet a compiler warning about assignment in an if-then conditional.Bill Wendling2007-04-251-2/+1
| | | | llvm-svn: 36454
* && no longer neededChris Lattner2007-04-251-1/+1
| | | | llvm-svn: 36453
* Match MachineFunction::UsedPhysRegs changes.Evan Cheng2007-04-258-66/+38
| | | | llvm-svn: 36452
* Change UsedPhysRegs from array bool to BitVector to save some space. Setting ↵Evan Cheng2007-04-252-21/+13
| | | | | | / getting its states now go through MachineFunction. llvm-svn: 36451
* Testcase for codegen bug.Bill Wendling2007-04-251-0/+25
| | | | llvm-svn: 36450
* Clean up.Evan Cheng2007-04-251-3/+1
| | | | llvm-svn: 36449
* Add SSSE3 as a feature of Core2. Add MMX registers to the list of registersBill Wendling2007-04-252-1/+2
| | | | | | clobbered by a call. llvm-svn: 36448
* Data structure change to improve compile time (especially in debug mode).Evan Cheng2007-04-252-26/+33
| | | | llvm-svn: 36447
* Mem2Reg does not need TargetData.Devang Patel2007-04-251-2/+1
| | | | llvm-svn: 36446
* This was lefted out. Fixed sumarray-dbl.Evan Cheng2007-04-251-0/+1
| | | | llvm-svn: 36445
* Mem2Reg does not need TargetData.Devang Patel2007-04-254-15/+9
| | | | llvm-svn: 36444
* Add missed semicolon. Resotre compatibility with older bisonsAnton Korobeynikov2007-04-251-1/+1
| | | | llvm-svn: 36443
* do the multiplication as signed, so that 2*-2 == -4 instead of 4294967292Chris Lattner2007-04-251-1/+2
| | | | | | when promoted to 64-bits llvm-svn: 36442
* Remove unused function argument.Devang Patel2007-04-254-5/+5
| | | | llvm-svn: 36441
* Note new header file.Jeff Cohen2007-04-251-0/+3
| | | | llvm-svn: 36440
* Add missed fileAnton Korobeynikov2007-04-251-0/+83
| | | | llvm-svn: 36439
* remember to emit weak reference in one more case.Lauro Ramos Venancio2007-04-252-1/+24
| | | | llvm-svn: 36438
* RegenerateAnton Korobeynikov2007-04-255-3904/+5282
| | | | llvm-svn: 36437
* Implement aliases. This fixes PR1017 and it's dependent bugs. CFE partAnton Korobeynikov2007-04-2522-52/+552
| | | | | | will follow. llvm-svn: 36435
* Fix for PR1306.Evan Cheng2007-04-254-50/+200
| | | | | | | | | - A register def / use now implicitly affects sub-register liveness but does not affect liveness information of super-registers. - Def of a larger register (if followed by a use later) is treated as read/mod/write of a smaller register. llvm-svn: 36434
* Test if a register is sub- or super-register of another.Evan Cheng2007-04-251-0/+16
| | | | llvm-svn: 36433
* Minor speed tweak.Evan Cheng2007-04-251-4/+3
| | | | llvm-svn: 36432
* Clean up.Evan Cheng2007-04-251-4/+2
| | | | llvm-svn: 36431
* Relex assertions to account for additional implicit def / use operands.Evan Cheng2007-04-255-9/+9
| | | | llvm-svn: 36430
* If an alloca only has two types of uses: 1) reads 2) a memcpy/memmove thatChris Lattner2007-04-251-4/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | copies from a constant global, then we can change the reads to read from the global instead of from the alloca. This eliminates the alloca and the memcpy, and promotes secondary optimizations (because the loads are now loads from a constant global). This is important for a common C idiom: void foo() { int A[] = {1,2,3,4,5,6,7,8,9...}; ... only reads of A ... } For some reason, people forget to mark the array static or const. This triggers on these multisource benchmarks: JM/ldecode: block_pos, [3 x [4 x [4 x i32]]] FreeBench/mason: m, [18 x i32], inlined 4 times MiBench/office-stringsearch: search_strings, [1332 x i8*] MiBench/office-stringsearch: find_strings, [1333 x i8*] Prolangs-C++/city: dirs, [9 x i8*], inlined 4 places and these spec benchmarks: 177.mesa: message, [8 x [32 x i8]] 186.crafty: bias_rl45, [64 x i32] 186.crafty: diag_sq, [64 x i32] 186.crafty: empty, [9 x i8] 186.crafty: xlate, [15 x i8] 186.crafty: status, [13 x i8] 186.crafty: bdinfo, [25 x i8] 445.gobmk: routines, [16 x i8*] 458.sjeng: piece_rep, [14 x i8*] 458.sjeng: t, [13 x i32], inlined 4 places. 464.h264ref: block8x8_idx, [3 x [4 x [4 x i32]]] 464.h264ref: block_pos, [3 x [4 x [4 x i32]]] 464.h264ref: j_off_tab, [12 x i32] This implements Transforms/ScalarRepl/memcpy-from-global.ll llvm-svn: 36429
* new testcase, should be able to eliminate the alloca and memcpyChris Lattner2007-04-251-0/+33
| | | | llvm-svn: 36428
* simplify some codeChris Lattner2007-04-251-5/+2
| | | | llvm-svn: 36427
* refactor the SROA code out into its own method, no functionality change.Chris Lattner2007-04-251-98/+107
| | | | llvm-svn: 36426
* support for >4G stack framesChris Lattner2007-04-252-4/+5
| | | | llvm-svn: 36425
* support for >4G framesChris Lattner2007-04-251-2/+2
| | | | llvm-svn: 36424
* support >4G stack framesChris Lattner2007-04-251-9/+9
| | | | llvm-svn: 36423
* support > 4G stack objectsChris Lattner2007-04-253-9/+9
| | | | llvm-svn: 36422
* Undo my previous changes. Since my approach to this problem is being revised,Owen Anderson2007-04-251-32/+31
| | | | | | this approach is no longer appropriate. llvm-svn: 36421
* allow support for 64-bit stack objectsChris Lattner2007-04-251-1/+1
| | | | llvm-svn: 36420
* allow 64-bit stack objectsChris Lattner2007-04-251-5/+5
| | | | llvm-svn: 36419
* new testcaseChris Lattner2007-04-251-0/+20
| | | | llvm-svn: 36418
OpenPOWER on IntegriCloud