summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* RegenerateAnton Korobeynikov2008-02-202-305/+306
| | | | llvm-svn: 47376
* Fix newly-introduced 4.3 warningsAnton Korobeynikov2008-02-2011-18/+24
| | | | llvm-svn: 47375
* Get rid of hash_map. Use StringMap insteadAnton Korobeynikov2008-02-201-3/+3
| | | | llvm-svn: 47373
* And final pack of warnings silencingAnton Korobeynikov2008-02-201-2/+5
| | | | llvm-svn: 47372
* Make Transforms to be 4.3 warnings-cleanAnton Korobeynikov2008-02-209-39/+58
| | | | llvm-svn: 47371
* Fix code styleAnton Korobeynikov2008-02-201-17/+15
| | | | llvm-svn: 47370
* Remove bunch of gcc 4.3-related warnings from TargetAnton Korobeynikov2008-02-2013-24/+31
| | | | llvm-svn: 47369
* Update gcc 4.3 warnings fix patch with recent head changesAnton Korobeynikov2008-02-2011-38/+58
| | | | llvm-svn: 47368
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-2030-22/+62
| | | | | | annoying warnings. llvm-svn: 47367
* Added some comments and reformatted others. No functionality change.Bill Wendling2008-02-201-28/+43
| | | | | | | Added two "FIXMEs" for code that looks dubious to me (but I could be wrong). llvm-svn: 47366
* When performing return slot optimization, remember to inform memdep when ↵Owen Anderson2008-02-201-0/+1
| | | | | | we're removing the memcpy. llvm-svn: 47364
* Added memmove to interpreter external functions list. Patch by Daniel Dunbar.Evan Cheng2008-02-201-0/+9
| | | | llvm-svn: 47363
* More constification of things. More comments added. No functionalityBill Wendling2008-02-201-44/+76
| | | | | | changes. (Sorry for any formatting changes that creeped in.) llvm-svn: 47362
* Use getConstant for ConstantInts.Nick Lewycky2008-02-201-2/+2
| | | | llvm-svn: 47361
* Add 'umax' similar to 'smax' SCEV. Closes PR2003.Nick Lewycky2008-02-202-45/+156
| | | | | | | | | | | | | | | Parse reversed smax and umax as smin and umin and express them with negative or binary-not SCEVs (which are really just subtract under the hood). Parse 'xor %x, -1' as (-1 - %x). Remove dead code (ConstantInt::get always returns a ConstantInt). Don't use getIntegerSCEV(-1, Ty). The first value is an int, then it gets passed into a uint64_t. Instead, create the -1 directly from ConstantInt::getAllOnesValue(). llvm-svn: 47360
* Fix an incredibly subtle bug exposed by Ted's change to APInt profiling.Chris Lattner2008-02-201-1/+1
| | | | | | | | AddNodeIDNode does profiling for a ConstantSDNode, but so does SelectionDAG::getConstant. This profiling should be moved to a common static function in ConstantSDNode. llvm-svn: 47359
* No functionality change:Bill Wendling2008-02-201-31/+42
| | | | | | | - Constified some MachineOperand values. - Added/Modified some comments. llvm-svn: 47358
* Disable for now. This is pessimizing code.Evan Cheng2008-02-201-1/+1
| | | | llvm-svn: 47354
* Add Alignment field to ParameterAttributes andDale Johannesen2008-02-191-1/+23
| | | | | | | treat more or less rationally in interface functions, subject to change. No functional change. llvm-svn: 47352
* Add hidden option -x86-fold-and-in-test to test the effect the test / and ↵Evan Cheng2008-02-192-1/+7
| | | | | | folding change. llvm-svn: 47351
* regenerateDevang Patel2008-02-193-1040/+1062
| | | | llvm-svn: 47350
* ParseDevang Patel2008-02-192-1/+11
| | | | | | %b = getresult {i32, i32} %a, i32 1 llvm-svn: 47349
* Add GetResultInst. First step for multiple return value support.Devang Patel2008-02-193-0/+34
| | | | llvm-svn: 47348
* Generated files for checkin 47342.Dale Johannesen2008-02-193-267/+267
| | | | llvm-svn: 47344
* Forgot a file, goes with 47342.Dale Johannesen2008-02-191-3/+3
| | | | llvm-svn: 47343
* Expand ParameterAttributes to 32 bits (in preparationDale Johannesen2008-02-1911-63/+82
| | | | | | | for adding alignment info, not there yet). Clean up interfaces to reference ParameterAttributes consistently. llvm-svn: 47342
* Fixed bug in APInt::Profile() where the BitWidth field was not included in theTed Kremenek2008-02-191-0/+2
| | | | | | | profile of the APSInt object. This caused unexpected Profile collisions where none should have occurred. llvm-svn: 47338
* fix some byval problems in the cbe. Closes PR2065Andrew Lenharth2008-02-191-7/+5
| | | | llvm-svn: 47337
* random cleanups.Chris Lattner2008-02-191-7/+4
| | | | llvm-svn: 47334
* Don't fold and's into test instructions if they have multiple uses.Chris Lattner2008-02-191-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | This compiles test-nofold.ll into: _test: movl $15, %ecx andl 4(%esp), %ecx testl %ecx, %ecx movl $42, %eax cmove %ecx, %eax ret instead of: _test: movl 4(%esp), %eax movl %eax, %ecx andl $15, %ecx testl $15, %eax movl $42, %eax cmove %ecx, %eax ret llvm-svn: 47330
* Fix a compiler warning.Duncan Sands2008-02-191-1/+1
| | | | llvm-svn: 47328
* remove the LowerSelect pass. The last client was the old Sparc backend, ↵Chris Lattner2008-02-196-110/+0
| | | | | | which is long dead by now. llvm-svn: 47323
* remove the lower packed pass. It can never work and even the parts that Chris Lattner2008-02-191-448/+0
| | | | | | | could work don't work fully. This fixes PR1705. Oh yeah, we don't have packed types anymore either ;-) llvm-svn: 47322
* Refactor this method a bit, and correct a test that was completely wrong but ↵Owen Anderson2008-02-191-7/+11
| | | | | | happened to work out anyways. :-) llvm-svn: 47321
* isa+cast -> dyncast.Chris Lattner2008-02-191-2/+2
| | | | llvm-svn: 47320
* simplify this code again, try 2 :)Chris Lattner2008-02-191-7/+5
| | | | llvm-svn: 47319
* Fix a comment.Owen Anderson2008-02-191-1/+1
| | | | llvm-svn: 47318
* In addition to arguments passed to it, memcpy (and all other calls) can ↵Owen Anderson2008-02-191-1/+2
| | | | | | ModRef pointers that alias their arguments as well. This fixes PR2057. llvm-svn: 47317
* Major improvements to yesterday's return slot optimization. Remove some ↵Owen Anderson2008-02-191-14/+39
| | | | | | | | unneccessary constraints, and add some others that should have been in from the first place. Document the whole thing better. llvm-svn: 47315
* Fix some minor issues folding undef, PR2052Chris Lattner2008-02-191-1/+3
| | | | llvm-svn: 47314
* fdiv/frem of undef can produce undef, because the undef operand Chris Lattner2008-02-191-4/+11
| | | | | | | can be a SNaN. We could be more aggressive and turn this into unreachable, but that is less nice, and not really worth it. llvm-svn: 47313
* regenerateChris Lattner2008-02-193-3431/+4591
| | | | llvm-svn: 47312
* Fix PR2060 by rejecting invalid types for integer constants.Chris Lattner2008-02-191-11/+15
| | | | llvm-svn: 47311
* Factor the profitability check for return slot optimization out into a ↵Owen Anderson2008-02-191-14/+26
| | | | | | | | static function. At some point in the future, this check will become smarter. llvm-svn: 47310
* An sret parameter is required to be the first parameter, so there's no need ↵Owen Anderson2008-02-191-8/+3
| | | | | | | | to loop over all the parameters of the callee looking for it. llvm-svn: 47309
* Cleanup some of my patches from yesterday. Refactor the check for which xformOwen Anderson2008-02-191-22/+23
| | | | | | | to apply to a memcpy into processInstruction. Also, fix a bug in the check due to missing braces. llvm-svn: 47307
* Fix Transforms/GVN/memcpy.ll, which Chris broke in r47275 by reordering the ↵Owen Anderson2008-02-191-1/+2
| | | | | | branches. memcpy's are a kind of CallInst. llvm-svn: 47305
* PR1909: Tail merging pass ran wild. It makes no sense to merge blocks in ↵Evan Cheng2008-02-191-3/+12
| | | | | | order to save a single instruction since a branch will be inserted for each BB. llvm-svn: 47301
* Me not like duplicated comments.Evan Cheng2008-02-191-4/+4
| | | | llvm-svn: 47300
* - When DAG combiner is folding a bit convert into a BUILD_VECTOR, it should ↵Evan Cheng2008-02-186-60/+107
| | | | | | | | check if it's essentially a SCALAR_TO_VECTOR. Avoid turning (v8i16) <10, u, u, u> to <10, 0, u, u, u, u, u, u>. Instead, simply convert it to a SCALAR_TO_VECTOR of the proper type. - X86 now normalize SCALAR_TO_VECTOR to (BIT_CONVERT (v4i32 SCALAR_TO_VECTOR)). Get rid of X86ISD::S2VEC. llvm-svn: 47290
OpenPOWER on IntegriCloud