summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Remove a unnecessary check.Evan Cheng2006-09-141-1/+0
| | | | llvm-svn: 30382
* Relax this check.Chris Lattner2006-09-141-7/+10
| | | | llvm-svn: 30381
* Undo previous check-in.Devang Patel2006-09-142-34/+10
| | | | | | Reintroduce recursive assignDFSNumber(). llvm-svn: 30380
* Fold (X & C1) | (Y & C2) -> (X|Y) & C3 when possible.Chris Lattner2006-09-141-0/+20
| | | | | | This implements CodeGen/X86/and-or-fold.ll llvm-svn: 30379
* New testcaseChris Lattner2006-09-141-0/+13
| | | | llvm-svn: 30378
* add a noteChris Lattner2006-09-141-0/+25
| | | | llvm-svn: 30377
* Split rotate matching code out to its own function. Make it stronger, byChris Lattner2006-09-141-53/+142
| | | | | | matching things like ((x >> c1) & c2) | ((x << c3) & c4) to (rot x, c5) & c6 llvm-svn: 30376
* Adding generated files for the last commitAnton Korobeynikov2006-09-143-4054/+5507
| | | | llvm-svn: 30375
* Adding dllimport, dllexport and external weak linkage types.Anton Korobeynikov2006-09-1429-102/+465
| | | | | | | | | DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. llvm-svn: 30374
* Use getOffset() instead.Evan Cheng2006-09-141-2/+2
| | | | llvm-svn: 30327
* Use MachineConstantPoolEntry getOffset() and getType() accessors.Evan Cheng2006-09-141-13/+7
| | | | llvm-svn: 30326
* Add MachineConstantPoolEntry getOffset() accessor.Evan Cheng2006-09-141-2/+6
| | | | llvm-svn: 30325
* The top bit is used to determine whether it's a MachineConstantPoolValue.Evan Cheng2006-09-141-2/+4
| | | | llvm-svn: 30324
* revert accidentally committed fileChris Lattner2006-09-141-23/+3
| | | | llvm-svn: 30323
* Remove dead methods, add getNumBlockIDs() methodChris Lattner2006-09-142-10/+25
| | | | llvm-svn: 30322
* Use new config.h macroChris Lattner2006-09-141-2/+2
| | | | llvm-svn: 30321
* Add a HAVE_MACH_MACH_H #define to detect the presence of the mach/mach.hReid Spencer2006-09-143-2/+6
| | | | | | header file on Darwin. llvm-svn: 30319
* add a new (hidden) -disable-core-files optionChris Lattner2006-09-141-0/+9
| | | | llvm-svn: 30318
* On Mac OS/X, make Process::PreventCoreFiles disable crash reporter forChris Lattner2006-09-141-7/+29
| | | | | | | the process in addition to disabling core file emission. This speeds up bugpoint on default-configured macs by several orders of magnitude. llvm-svn: 30317
* A MachineConstantPool may have mixed Constant* and MachineConstantPoolValue* ↵Evan Cheng2006-09-141-2/+8
| | | | | | values. llvm-svn: 30316
* Add comment.Devang Patel2006-09-141-0/+3
| | | | llvm-svn: 30315
* Mirrors ConstantPoolSDNode.Evan Cheng2006-09-141-0/+2
| | | | llvm-svn: 30314
* Document new --enable-valgrind option.Nick Lewycky2006-09-141-0/+6
| | | | llvm-svn: 30313
* Fix --enable-valgrind. Add room for the new arguments, and don't keepNick Lewycky2006-09-141-3/+4
| | | | | | a pointer to a temporary. llvm-svn: 30312
* Add --enable-valgrind option to run optimizations through valgrind toNick Lewycky2006-09-141-3/+16
| | | | | | pick up on memory errors. llvm-svn: 30311
* GlobalValue with InternalLinkage may have operands with ExternalLinkageDevang Patel2006-09-141-1/+1
| | | | | | type. Do not ignore these operands while finding external references. llvm-svn: 30310
* Avoid recursion in assignDFSNumber(). Move def from ET-Forest.hDevang Patel2006-09-142-10/+34
| | | | | | to Dominators.h llvm-svn: 30309
* add note about switch loweringChris Lattner2006-09-131-0/+29
| | | | llvm-svn: 30308
* Second half of the fix for Transforms/Inline/inline_cleanup.llChris Lattner2006-09-131-2/+28
| | | | | | | This folds unconditional branches that are often produced by code specialization. llvm-svn: 30307
* Add some more consistency checks.Nick Lewycky2006-09-131-1/+20
| | | | llvm-svn: 30305
* Fix unionSets so that it can merge correctly.Nick Lewycky2006-09-131-22/+34
| | | | llvm-svn: 30304
* Implement the first half of Transforms/Inline/inline_cleanup.llChris Lattner2006-09-131-1/+9
| | | | llvm-svn: 30303
* new testcaseChris Lattner2006-09-131-0/+65
| | | | llvm-svn: 30302
* Skip over first operand when determining REX prefix for two-address code.Evan Cheng2006-09-131-7/+14
| | | | llvm-svn: 30300
* Erase dead instructions.Nick Lewycky2006-09-131-2/+3
| | | | llvm-svn: 30298
* The sense of this branch was backwardsChris Lattner2006-09-131-1/+1
| | | | llvm-svn: 30296
* Turn X < 0 -> TEST X,X jsChris Lattner2006-09-131-8/+11
| | | | llvm-svn: 30294
* The sense of this branch was inverted :(Chris Lattner2006-09-131-1/+1
| | | | llvm-svn: 30293
* Fix a ton of jit failuresChris Lattner2006-09-131-1/+1
| | | | llvm-svn: 30292
* add shifts to addressing mode 1Rafael Espindola2006-09-136-32/+81
| | | | llvm-svn: 30291
* If LSR went through a lot of trouble to put constants (e.g. the addr of a globalChris Lattner2006-09-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in a specific BB, don't undo this!). This allows us to compile CodeGen/X86/loop-hoist.ll into: _foo: xorl %eax, %eax *** movl L_Arr$non_lazy_ptr, %ecx movl 4(%esp), %edx LBB1_1: #cond_true movl %eax, (%ecx,%eax,4) incl %eax cmpl %edx, %eax jne LBB1_1 #cond_true LBB1_2: #return ret instead of: _foo: xorl %eax, %eax movl 4(%esp), %ecx LBB1_1: #cond_true *** movl L_Arr$non_lazy_ptr, %edx movl %eax, (%edx,%eax,4) incl %eax cmpl %ecx, %eax jne LBB1_1 #cond_true LBB1_2: #return ret This was noticed in 464.h264ref. This doesn't usually affect PPC, but strikes X86 all the time. llvm-svn: 30290
* new testcaseChris Lattner2006-09-131-0/+25
| | | | llvm-svn: 30289
* Fix a regression in the 32-bit port from the 64-bit port landing.Chris Lattner2006-09-131-2/+2
| | | | | | | | | | | | | | | | | | | | | We now compile CodeGen/X86/lea-2.ll into: _test: movl 4(%esp), %eax movl 8(%esp), %ecx leal -5(%ecx,%eax,4), %eax ret instead of: _test: movl 4(%esp), %eax leal (,%eax,4), %eax addl 8(%esp), %eax addl $4294967291, %eax ret llvm-svn: 30288
* New testcaseChris Lattner2006-09-131-0/+10
| | | | llvm-svn: 30287
* new noteChris Lattner2006-09-131-0/+32
| | | | llvm-svn: 30286
* new noteChris Lattner2006-09-131-0/+13
| | | | llvm-svn: 30285
* Compile X << 1 (where X is a long-long) to:Chris Lattner2006-09-131-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | addl %ecx, %ecx adcl %eax, %eax instead of: movl %ecx, %edx addl %edx, %edx shrl $31, %ecx addl %eax, %eax orl %ecx, %eax and to: addc r5, r5, r5 adde r4, r4, r4 instead of: slwi r2,r9,1 srwi r0,r11,31 slwi r3,r11,1 or r2,r0,r2 on PPC. llvm-svn: 30284
* Compile X > -1 -> text X,X; js destChris Lattner2006-09-132-28/+23
| | | | | | This implements CodeGen/X86/jump_sign.ll. llvm-svn: 30283
* new testcaseChris Lattner2006-09-131-0/+20
| | | | llvm-svn: 30282
* Initialize DontInternalize.Devang Patel2006-09-131-1/+2
| | | | llvm-svn: 30281
OpenPOWER on IntegriCloud